Skip to content

Latest commit

 

History

History
92 lines (57 loc) · 1.48 KB

File metadata and controls

92 lines (57 loc) · 1.48 KB

Local Installation

1- Install WSL in Windows

  • Install the latest NVidia driver for your graphics card.

  • Run this command in PowerShell (run as administrator):

    wsl --install
  • The rest of the document is inside the WSL Linux (e.g. Ubunu)


2- Install Anaconda or Miniconda (for Linux)

Create Virtual Environment

conda create -n <env_name> python=3.12
conda activate <env_name>

3- Install Keras


4- Install Backend(s)

Tensorflow

python3 -m pip install tensorflow[and-cuda]
  • Test GPU Support
python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"

PyTorch

pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu129

JAX

pip install -U "jax[cuda12]"

5- Install and Use Jupyter (jupyter-lab)

conda activate <env_name>
pip install jupyter
jupyter-lab --no-browser