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

[Error] pipeline() got an unexpected keyword argument #1134

Open
HieronZhang opened this issue Jul 19, 2024 · 1 comment
Open

[Error] pipeline() got an unexpected keyword argument #1134

HieronZhang opened this issue Jul 19, 2024 · 1 comment

Comments

@HieronZhang
Copy link

Hi, I used the pytorch version 2.5.0.dev20240613+cu124 with python version 3.10.14

When I ran the OPT example "torchrun --nproc-per-node 2 pippy_opt.py", I got this error:

[rank0]: Traceback (most recent call last):
[rank0]:   File "/home/zhang402/PiPPy-main/PiPPy/examples/huggingface/pippy_opt.py", line 106, in <module>
[rank0]:     run(args)
[rank0]:   File "/home/zhang402/PiPPy-main/PiPPy/examples/huggingface/pippy_opt.py", line 46, in run
[rank0]:     pipe = pipeline(
[rank0]: TypeError: pipeline() got an unexpected keyword argument 'num_chunks'
@HieronZhang
Copy link
Author

HieronZhang commented Jul 19, 2024

Besides, the basic examples (basic/example.py and basic/example_train.py) are still using pippy, not torch.distributed.pipelining. Could you update them? Thanks! (The example_train.py is the only one training example...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant