Comments (5)
I figured out the issue.
When I build torchcule, I got an error at line 11 of setup.py.(https://github.com/NVlabs/cule/blob/master/setup.py#L11)
I modified it to "codes = ['70']", similar to line 14.
torchcule was built successfully, but I got the error message above.
I dig into the table.hpp and find that the code means the architecture of GPU.
I found '70' actually means 'sm_70', and it is for Tesla V100.
Other codes are listed in below link. For 1080TI, it is '61'
http://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/
I cleaned 'build' and 'dist' folder, then rebuild torchcule.
It works great now.
from cule.
How many GPUs do you have on your machine and which one is GPU-0 (the one you are using since you are passing ('cuda', 0) as device)?
from cule.
I got the exact same error
python ./examples/ppo/ppo_main.py --use-cuda-env --use-openai-test-env --gpu 0
{'ale_start_steps': 400,
'alpha': 0.99,
'batch_size': 256,
'clip_epsilon': 0.1,
'conf_file': None,
'entropy_coef': 0.01,
'env_name': 'PongNoFrameskip-v4',
'episodic_life': False,
'eps': 1e-05,
'evaluation_episodes': 10,
'evaluation_interval': 1000000,
'gamma': 0.99,
'gpu': 0,
'local_rank': 0,
'log_dir': 'runs',
'loss_scale': None,
'lr': 0.00065,
'lr_scale': False,
'max_episode_length': 18000,
'max_grad_norm': 0.5,
'multiprocessing_distributed': False,
'no_cuda_train': False,
'normalize': False,
'num_ales': 16,
'num_gpus_per_node': -1,
'num_stack': 4,
'num_steps': 5,
'opt_level': 'O0',
'output_filename': None,
'plot': False,
'ppo_epoch': 3,
'profile': False,
'save_interval': 0,
'seed': 1565661279,
't_max': 50000000,
'tau': 1.0,
'use_adam': False,
'use_cuda_env': True,
'use_gae': False,
'use_openai': False,
'use_openai_test_env': True,
'value_loss_coef': 0.5,
'verbose': False}
PyTorch : 1.1.0
CUDA : 10.0.130
CUDNN : 7501
APEX : 0.1.0
GPUassert: invalid device symbol /home/lkh/Codes/cule/cule/atari/cuda/tables.hpp 43
here is my nvidia-smi
Tue Aug 13 11:06:38 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.48 Driver Version: 410.48 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 108... Off | 00000000:03:00.0 Off | N/A |
| 33% 57C P0 65W / 250W | 12MiB / 11178MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 108... Off | 00000000:04:00.0 On | N/A |
| 0% 48C P8 16W / 250W | 501MiB / 11177MiB | 8% Default |
+-------------------------------+----------------------+----------------------+
from cule.
from cule.
Thanks - we are modifying the code to support multiple architectures, although this may require a larger compilation time. Will close when done.
from cule.
Related Issues (20)
- add option to train on full_action_space ?
- Build error HOT 1
- Windows support?
- .
- Restoring state of torchcule environments
- Is there a config file or dict-format settings to implement the rainbow-benchmark score in you paper?
- Runtime error relating to atari.Action class HOT 4
- Expected performance on p106-100 6gb
- Cule on CUDA 11.1 + and latest pytorch 1.8 HOT 7
- How to use CuLe in combination with a custom ROM?
- AttributeError: 'Env' object has no attribute 'two_player_step'
- repeat action is not implemented?
- docker build failed HOT 1
- AttributeError: module 'torch.cuda' has no attribute 'get_arch_list' HOT 3
- Docker build fail
- Question about your infrastructure HOT 1
- Documentation on usage HOT 1
- Frame Stack Wrapper?
- Will not compile on GCC 11.1.0, CUDA 11.3 HOT 6
- Flag Done is not set HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cule.