deepnet icon indicating copy to clipboard operation
deepnet copied to clipboard

Can't run rbm/runall.sh

Open hlzz opened this issue 12 years ago • 9 comments

It seems that this project doesn't have support for CUDA 5.5. When I compiled the cudamat with CUDA 5.5. It reported that 'uint is undefined'. So I added '#define uint unsigned int' in the header. Then after I compiled libcudamat_conv.so and libcudamat.so, I failed on 'python test_cudamat.py'. I didn't got error message, but I got the following message:

Run 0 tests in 0.000s

I ignored this and tried to run the sample code. I mean the runall.sh in /deepnet/examples/rbm, then it told me 'No GPU board available'. I don't know how to solve this. By the way, I use mac OS 10.8.4. Should I go back to older version of CUDA (such as 4.2, 5.0) or find a linux OS? Thanks!

hlzz avatar Aug 29 '13 13:08 hlzz

I degraded my cuda version to 5.0 but it still doesn't work. I know, it seems that at present this library doesn't support mac os, right?

hlzz avatar Aug 29 '13 17:08 hlzz

I met exactly the same problem. Did you get a solution?

odieXin avatar Nov 18 '13 04:11 odieXin

I used the Ubuntu 12.04 CUDA5.5,however it showed that 'No GPU board available'

zuiwufenghua avatar Dec 17 '13 03:12 zuiwufenghua

got the same problem with UBUNTU 10.04 CUDA4.2. Also show that"No GPU board available"

ansyral avatar Dec 19 '13 08:12 ansyral

def LockGPU(max_retries=10): #for retry_count in range(max_retries):

board = gpu_lock.obtain_lock_id()

if board != -1:

break

sleep(1)

board = 0 if board == -1: print 'No GPU board available.' sys.exit(1) else: cm.cuda_set_device(board) cm.cublas_init() return board

def FreeGPU(board): cm.cublas_shutdown() #gpu_lock.free_lock(board)

OpenHero avatar Apr 09 '14 08:04 OpenHero

Shouldn't it fall back to to eigenmat instead of quitting with No GPU board available. ?

me:~/dev/ai/deepnet/deepnet/examples/dbm$ ./runall.sh No GPU board available.

pannous avatar Apr 21 '14 12:04 pannous

fixed it with upload code.

OpenHero avatar Apr 22 '14 05:04 OpenHero

no gpu board error doesn't show again,but there is another error,total size of new array must be unchanged,did you have the same puzzle?

KerrChen avatar Aug 11 '14 01:08 KerrChen

I run for DBN.

I'm using CUDA 7.5 nvidia 352..39.

And have the same problem. While I run gpu_lock.py --id it comes with output -1

Any suggestion?

Rietaros avatar Apr 02 '16 07:04 Rietaros