-
Notifications
You must be signed in to change notification settings - Fork 1k
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
AssertionError: zero stage 1 requires an optimizer #987
Comments
This is a known issue that is awkward to handle. Our current recommendation is to set ZeRO stage 0 when calling the evaluation script. We are working on integrating DeepSpeed Inference which will solve this issue and substantially accelerate inference tasks as well. |
Is this bug resolved? How do we pass the or set the ZeRo stage 1? I also see the same error during inference.
|
@vsabavat In one of your yml config files you should have something that looks like
In my example, the stage is set to 1. |
An error occurred when using the evaluation code。
the command is:
python ./deepy.py evaluate.py xxxx.yml --eval_tasks piqa
The training mode is multi-machine mode and the evaluation mode is single-machine mode.
Has anyone had a similar issue? thanks!
The text was updated successfully, but these errors were encountered: