carpedm20 / carpedm20/ENAS-pytorch

AssertionError: Torch not compiled with CUDA enabled

Open
#38 4 comments 2 reactions 0 assignees View on GitHub
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.
![image](https://user-images.githubusercontent.com/31545030/50169000-a21e1880-0327-11e9-95cf-0a8b8decc838.png)
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.