Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ GPU-compatible version of PyTorch first.
have the most up-to-date guidance for this. Currently, this is the command:

.. code-block:: console

$ pip install torch --index-url https://download.pytorch.org/whl/cu129
$ pip install -r requirements-gpu.txt

Then, install NAM using pip:

Expand Down
4 changes: 2 additions & 2 deletions environments/environment_cpu_apple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
name: nam
channels:
- conda-forge # pytest-mock
- pytorch
- defaults
dependencies:
- python>=3.9
Expand All @@ -24,7 +23,6 @@ dependencies:
- pytest-mock
# Performance note:
# https://github.com/sdatkinson/neural-amp-modeler/issues/505
- pytorch
- semver
- tensorboard
- tqdm
Expand All @@ -36,3 +34,5 @@ dependencies:
- transformers>=4 # See requirements.txt
- wavio >=0.0.5
- -e ..
- torch

8 changes: 2 additions & 6 deletions environments/environment_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
name: nam
channels:
- conda-forge # pytest-mock
- pytorch
- nvidia # GPU
- defaults
dependencies:
Expand All @@ -21,11 +20,6 @@ dependencies:
- pydantic>=2
- pytest
- pytest-mock
- pytorch::pytorch
# If your GPU isn't being detected, you may need a different version.
# You're going to need to look at Table 3 here:
# https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#cuda-major-component-versions__table-cuda-toolkit-driver-versions
- pytorch::pytorch-cuda=12.1 # GPU
- semver
- tensorboard
- tqdm
Expand All @@ -37,3 +31,5 @@ dependencies:
- transformers>=4 # See requirements.txt
- wavio >=0.0.5
- -e ..
- torch

5 changes: 5 additions & 0 deletions requirements-gpu.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# requirements-gpu.txt
# Install PyTorch with CUDA support for GPU acceleration
# Adjust the CUDA version (cu118) as needed for your system

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