ENAS-pytorch icon indicating copy to clipboard operation
ENAS-pytorch copied to clipboard

AssertionError: Torch not compiled with CUDA enabled

Open zhjmcjk opened this issue 6 years ago • 4 comments

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!

zhjmcjk avatar Dec 18 '18 16:12 zhjmcjk

have you resolved this? I have the same issue

CesurMurka avatar May 10 '19 07:05 CesurMurka

@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'

NdaAzr avatar May 22 '19 15:05 NdaAzr

I have the same issue

martsalz avatar Aug 16 '19 11:08 martsalz