This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Description
Hi,
I followed the instructions to install pytorch for pipelining:
pip install -r requirements.txt --find-links https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
I have version 2.4.0.dev20240605+cpu installed. When I execute torchrun --nproc-per-node 4 pippy_gpt2.py I got errors:
[rank0]: Traceback (most recent call last):
[rank0]: File "/home/hongrongh/PiPPy/examples/huggingface/pippy_gpt2.py", line 118, in <module>
[rank0]: run(args)
[rank0]: File "/home/hongrongh/PiPPy/examples/huggingface/pippy_gpt2.py", line 50, in run
[rank0]: pipe = pipeline(
[rank0]: TypeError: pipeline() got an unexpected keyword argument 'mb_args'
Seems the arguments of pipeline are not matched. Did you ever encounter this? Which pytorch version are you using?
Thanks
Hong-Rong