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

module 'torch.cuda' has no attribute 'Nimble' #21

Open
AmirFB opened this issue Jan 24, 2022 · 0 comments
Open

module 'torch.cuda' has no attribute 'Nimble' #21

AmirFB opened this issue Jan 24, 2022 · 0 comments

Comments

@AmirFB
Copy link

AmirFB commented Jan 24, 2022

I have installed nimble using the instruction but when I'm trying to run examples (run_inference.py and run_training.py) I get the following error.

Traceback (most recent call last): File "run_training.py", line 71, in <module> main(args) File "run_training.py", line 45, in main with closing(get_training_wrapper(model, dummy_input, dummy_label, args.mode, args.use_optimizer)) as training_wrapper: File "/home/amir/reps/nimble/experiment/utils.py", line 112, in get_training_wrapper wrapper = NimbleTrainingWrapper(model, dummy_input, dummy_label, criterion, optimizer, use_multi_stream=False) File "/home/amir/reps/nimble/experiment/utils.py", line 339, in __init__ nimble_model = torch.cuda.Nimble(model) AttributeError: module 'torch.cuda' has no attribute 'Nimble'

It seems like I have installed the original PyTorch and does not have the 'Nimble' class, while I have installed Nimble from the source using the instructions in the install.sh file.

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