欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Theano

程序员文章站 2022-05-27 10:32:17
...

使用GPU跑

THEANO_FLAGS='floatX=float32,device=gpu' python -u lstm.py >> lstm.log&

problem
nvcc compiler not found on $path.

export PATH=/home/ubuntu/venv/bin:/usr/local/cuda/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda:/usr/local/cuda/lib64:/opt/OpenBLAS-no-openmp/lib