moskomule / jax_devcontainer

devcontainer for JAX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jax_devcontainer

devcontainer for JAX

Requirements

jax_devcontainer supports CUDA>=11.5. Update drivers accordingly (by e.g., sudo apt-get -y install cuda-drivers).

VSCode

  • Install the remote extentions
  • Create a repository by using this repository as a template
  • Clone the new repository
  • Open the cloned directory using VSCode and select reopen in container

Important Information

  • Inside the docker container, you are a root user. Be careful.
  • A generated docker image is large (around 10GB).
  • When tensorflow-datasets is used, set tf.config.experimental.set_visible_devices([], "GPU") to avoid TF's preallocation.
  • XLA_PYTHON_CLIENT_PREALLOCATE is set to false to avoid preallocation in the docker file. If you prefer it, comment out the line.

About

devcontainer for JAX

License:Apache License 2.0


Languages

Language:Jupyter Notebook 85.8%Language:Dockerfile 13.1%Language:Shell 1.1%