Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmark Example issue #79

Open
hanbinhu opened this issue Mar 18, 2021 · 0 comments
Open

Benchmark Example issue #79

hanbinhu opened this issue Mar 18, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@hanbinhu
Copy link
Collaborator

The following command seems to fail. I use torch=1.8.0+cu111.

bfrun -np 4 python /home/hanbinhu/bluefog/test/../examples/pytorch_benchmark.py --model=lenet --num-iters=1 --dist-optimizer=gradient_allreduce
Traceback (most recent call last):
  File "/home/hanbinhu/bluefog/test/../examples/pytorch_benchmark.py", line 138, in <module>
    bf.broadcast_optimizer_state(optimizer, root_rank=0)
  File "/home/hanbinhu/miniconda3/envs/bluefog/lib/python3.8/site-packages/bluefog/torch/utility.py", line 201, in broadcast_optimizer_state
    p = torch.Tensor([p])
TypeError: must be real number, not NoneType
@hanbinhu hanbinhu added the bug Something isn't working label Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants