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

NameError: name 'RepeatingLoader' is not defined #112

Closed
Carolingliang opened this issue Feb 3, 2021 · 6 comments
Closed

NameError: name 'RepeatingLoader' is not defined #112

Carolingliang opened this issue Feb 3, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@Carolingliang
Copy link

image

@StellaAthena
Copy link
Member

Hi! Can you give us some more details about your hardware set-up, what code you ran, what settings you used, etc.?

@StellaAthena StellaAthena added the bug Something isn't working label Feb 3, 2021
@Carolingliang
Copy link
Author

hardware set-up: cpu is eighty cores, memory is 1t, gpu is 3090 with eight 24G
code: deepspeed train_pipeline.py --deepspeed_config=configs/gpt3_small.json

@StellaAthena
Copy link
Member

StellaAthena commented Feb 3, 2021

Try deepspeed train_pipeline.py --deepspeed -–deepspeed_config=configs/checkpoints_config.json

@Carolingliang
Copy link
Author

It still has this bug.
Maybe the path of "RepeatingLoader" was not found.
But I didn't find the function"RepeatingLoader" in this project.

@StellaAthena
Copy link
Member

deepspeed.utils.RepeatingLoader is a wrapper around an itterable that you can use to define data-loaders in DeepSpeed. You can see where we use it here. I don't see how it could error for you and not for others, but try replacing that line with deepspeed.utils.RepeatingLoader to explicitly import it.

@Carolingliang
Copy link
Author

ok ,thanks

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