Comments (10)
Something wrong with cuda toolkit version or running out of memory on gpu.
We have only tried running it on cuda version 5.5 & 6.0
from unsupervised-videos.
Hi, I somehow solved it by adding "-gencode=arch=compute_50,code=sm_50 " in the makefile for cudamat. You can find it when assigning configuration strings to variable FLAG. The problem is caused by the mismatch between your cuda version and the configuration. My cuda7.5 works well after adding that line. Not sure whether it works for cuda 8.
from unsupervised-videos.
Thanks @yzxsunshine !
from unsupervised-videos.
@yzxsunshine hello, My cuda8.0 encounter this problem.
I have already modify "-gencode=arch=compute_50, code=sm_50 " in the makefile. Still does not solve the problem.
Using board 0
invalid device function
Traceback (most recent call last):
File "lstm_combo.py", line 405, in
cm.CUDAMatrix.init_random(42)
File "/home/weihaoxie/unsupervised-videos/cudamat/cudamat.py", line 382, in init_random
raise generate_exception(err_code)
cudamat.cudamat.CUDAMatException: CUDA error: no error
Do you know how to solve this problem.
Thank you very much!
from unsupervised-videos.
@emansim I come across the same problem! My cuda is 8.0
Using board 0
invalid device function
Traceback (most recent call last):
File "/media/jg/D/Dropbox/JianTembine/Coding/Python/videoLSTM/lstm_combo.py", line 405, in
cm.CUDAMatrix.init_random(42)
File "/media/jg/D/Dropbox/JianTembine/Coding/Python/videoLSTM/cudamat/cudamat.py", line 382, in init_random
raise generate_exception(err_code)
cudamat.cudamat.CUDAMatException: CUDA error: no error
Process finished with exit code 1
Do you know how to fix it?
from unsupervised-videos.
@bottlecapper sorry, I do not konw, maybe the version of cuda 8.0 is not suitable. I haven't changed cuda yet. if you have some solutions, please tell me , Thank you very much!
from unsupervised-videos.
@buaa-luzhi Probably you have a nice GPU card requiring higher SM architecture. You may want to look for a suitable compilation setting. In general, here is an example to achieve maximum compatibility for CUDA 8.
-gencode=arch=compute_20,code=sm_20 \
-gencode=arch=compute_30,code=sm_30 \
-gencode=arch=compute_50,code=sm_50 \
-gencode=arch=compute_52,code=sm_52 \
-gencode=arch=compute_52,code=compute_52 \
-gencode=arch=compute_60,code=sm_60 \
-gencode=arch=compute_61,code=sm_61 \
-gencode=arch=compute_62,code=sm_62 \
from unsupervised-videos.
@liaocs2008 This one did the trick for me. For anyone using CUDA-8 use this (see whether the SM architecture that you specify in the makefile is compatible with the device that you have)
from unsupervised-videos.
@buaa-luzhi
I had the same problem! My cuda is 8.0.
I solved the problem by modifying below in the Makefile.
Thank you so much. @liaocs2008
-gencode=arch=compute_20,code=sm_20
-gencode=arch=compute_30,code=sm_30
-gencode=arch=compute_35,code=sm_35
-gencode=arch=compute_50,code=sm_50
-gencode=arch=compute_52,code=sm_52
-gencode=arch=compute_60,code=sm_60
-gencode=arch=compute_61,code=sm_61
-gencode=arch=compute_62,code=sm_62
from unsupervised-videos.
@buaa-luzhi have you solved this problem? I also modified Makefile, din't work. I used CUDA6.5. My Nvidia driver is Quadro FX 4800 whose computation capacity is 1.3. So, I add
-gencode=arch=compute_13,code=sm_13. The error still occurred.
@abhinavkashyap92 How to tell whether the SM architecture that I specify in the makefile is compatible with the device that I have? Thanks.
from unsupervised-videos.
Related Issues (20)
- CUDAMatException HOT 2
- lstm classifier examples
- CUBLAS error HOT 3
- Weights for frame prediction used in the paper HOT 5
- Questions regarding some design decisions used to train MovingMNIST in the paper HOT 6
- KeyError: "Unable to open object (Object 'lstm_1_enc:w_dense' doesn't exist)"
- Data format HOT 1
- no eps decay? HOT 1
- 1 input -> next predicted output
- Questions about LSTM_classifier HOT 1
- no kernel image is available for execution on the device HOT 2
- runtest failed:[runtest] segmentation fault (core dumped)
- Error while giving the command for training HOT 6
- Extrpolating matrices
- Training with new dataset HOT 1
- Make the file Makefile in the folder cudamat HOT 2
- Request for the script to generate moving mnist video dataset HOT 1
- Videos
- -![image](https://user-images.githubusercontent.com/101527858/159179877-0df83b60-09df-4a31-834b-d59002aba969.jpeg)
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 unsupervised-videos.