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

AssertionError: Torch not compiled with CUDA enabled #38

Open
zhjmcjk opened this issue Dec 18, 2018 · 3 comments
Open

AssertionError: Torch not compiled with CUDA enabled #38

zhjmcjk opened this issue Dec 18, 2018 · 3 comments

Comments

@zhjmcjk
Copy link

zhjmcjk commented Dec 18, 2018

I try to run the ptb example using the command: (No GPU on my laptop)
python main.py --network_type rnn --dataset ptb --num_gpu 0

The program ran for a while, and an error occurred.
image
Can anyone give me some advice? Thanks!

@CesurMurka
Copy link

CesurMurka commented May 10, 2019

have you resolved this? I have the same issue

@NdaAzr
Copy link

NdaAzr commented May 22, 2019

@CesurMurka and @zhjmcjk I didn't reach this stage, and I got this error. How did you resolve this? If you didn't get an error could you please mention your Pytorch version?

File "main.py", line 30, in main trnr = trainer.Trainer(args, dataset) File "D:\Neda\Pytorch\NAS\trainer.py", line 160, in __init__ self.build_model() File "D:\Neda\Pytorch\NAS\trainer.py", line 182, in build_model self.shared = models.RNN(self.args, self.dataset) AttributeError: module 'models' has no attribute 'RNN'

@martsalz
Copy link

I have the same issue

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

4 participants