carpedm20 / carpedm20/ENAS-pytorch
AssertionError: Torch not compiled with CUDA enabled
- Dominant language
- Python
- Stars
- 2.7k
- Forks
- 486
- PR merge metrics
- No merged PRs in 30d
Description
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.

Can anyone give me some advice? Thanks!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the ptb example with `python main.py --network_type rnn --dataset ptb --num_gpu 0` and inspect the reported traceback from `main.py`. Trace why execution reaches the CUDA assertion despite the no-GPU setting; done means the command runs successfully on a laptop without CUDA.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100