google-deepmind / google-deepmind/tapnet
is there a standard procedure to make tapir run inference on gpu/ubuntu22.04
- Dominant language
- Jupyter Notebook
- Stars
- 2k
- Forks
- 192
- PR merge metrics
- No merged PRs in 30d
Description
Hi everyone,
i find it really hard to get tapir to run on gpu, is there a standard procedure to do this?
the thing i do/try is: (after i create a new conda environment)
1. I first do this: as instructed by jax
pip install --upgrade "jax[cuda12_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html (for jax/cuda/cudnn installation i suppose)
2. then i do:
pip install requirements_inference.txt
and the following error pops out
jaxlib.xla_extension.XlaRuntimeError: INTERNAL: Failed to execute XLA Runtime executable: run time error: custom call 'xla.gpu.func.launch' failed: Failed to load PTX text as a module: CUDA_ERROR_INVALID_IMAGE: device kernel image is invalid; current tracing scope: fusion; current profiling annotation: XlaModule:#hlo_module=jit__threefry_seed,program_id=0#.
note that using only cpu version of this wouldn't hurt (simply pip install requirement_inference.txt)
could someone state your standard procedure for making it work? much thanks
Contributor guide
Assessment
This issue has not been assessed yet.