Closed 2020zyc closed 4 years ago
I tried to add an environment variable XLA_FLAGS=--xla_gpu_cuda_data_dir=/usr/local/cuda. I also installed the jaxlib as follows to support gpus: pip install --upgrade https://storage.googleapis.com/jax-releases/cuda100/jaxlib-0.1.37-cp36-none-linux_x86_64.whl
No effect.
In your log it said ptxas is not found. Have you check
(py37) sn@gpu1:~$ ls /usr/local/cuda-10.1/bin/
bin2c nsight-sys
computeprof nsys
crt nsys-exporter
cudafe++ nvcc
cuda-gdb nvcc.profile
cuda-gdbserver nvdisasm
cuda-install-samples-10.1.sh nvlink
cuda-memcheck nv-nsight-cu
cuobjdump nv-nsight-cu-cli
fatbinary nvprof
gpu-library-advisor nvprune
nsight nvvp
nsight_ee_plugins_manage.sh ptxas
ptxas
should be there in $CUDA_HOME/bin
You may use export CUDA_DIR=/usr/local/cuda-10.1
in case CUDA_DIR
is not set in env
@sanjibnarzary Sorry, my configuration is:
ptxas exists in /usr/local/cuda-10.0/bin and /usr/local/cuda-10.1/bin
This looks like a CUDA or JAX issue - I cannot reproduce and it feels like it'll be better to ask there. Sorry I cannot help more!
Description
Try to run the reformer model with the configuration reformer_enwik8.gin. Get an error: Can't find ptxas binary in ${CUDA_DIR}/bin. ...
Environment information
For bugs: reproduction and error logs