GithubHelp home page GithubHelp logo

Comments (9)

ymjiang avatar ymjiang commented on July 20, 2024

Looks like your gcc version is higher than our tested gcc-4.9.

Can you try to pin down gcc before you build BytePS? Here is an example: https://github.com/bytedance/byteps/blob/master/docker/Dockerfile.worker.tensorflow#L115-L123

from byteps.

bobzhuyb avatar bobzhuyb commented on July 20, 2024

I think it's a very similar issue as this tensorflow/tensorflow#13308 (comment)
It happens when BytePS is compiled with gcc 5 while TF is compiled with gcc 4.

It's still an open issue..

If your TF is compiled with gcc 4 (and it seems so), you have to use gcc-4.9 to build BytePS. You can try the suggestion given by @ymjiang , or use our pre-built docker image.

from byteps.

un-knight avatar un-knight commented on July 20, 2024

I run the pytorch benchmark example, and meet the same core dump error.

/usr/local/byteps/example/pytorch/start_pytorch_byteps.sh: line 20:    30 Aborted                 (core dumped) python $path/benchmark_byteps.py $@
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/opt/anaconda/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/opt/anaconda/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/byteps/launcher/launch.py", line 19, in worker
    subprocess.check_call(command, env=my_env, stdout=sys.stdout, stderr=sys.stderr, shell=True)
  File "/opt/anaconda/lib/python3.7/subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/usr/local/byteps/example/pytorch/start_pytorch_byteps.sh --model resnet50 --num-iters 1000' returned non-zero exit status 134.

from byteps.

ymjiang avatar ymjiang commented on July 20, 2024

@un-knight Can you share more information about your OS and env?

from byteps.

bobzhuyb avatar bobzhuyb commented on July 20, 2024

@un-knight Would you reply to the issue thread you already opened #20? From your log, I don't see how your question is related to this issue.

from byteps.

byronyi avatar byronyi commented on July 20, 2024

Just provide the binary release. No need to build one on users' environment, we do not need mpicc or mpicxx.

from byteps.

bobzhuyb avatar bobzhuyb commented on July 20, 2024

Our plan is to release binary installation package built for different frameworks/CUDA versions, in order to ease user installation process.

from byteps.

ymjiang avatar ymjiang commented on July 20, 2024

@myotheone We just uploaded some pypi lists for easier installation. See https://github.com/bytedance/byteps/blob/master/docs/pip-list.md

from byteps.

bobzhuyb avatar bobzhuyb commented on July 20, 2024

Closing this since we started providing pypi packages. Feel free to reopen.

from byteps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.