Skip to content

Conversation

@marcelovilla
Copy link
Member

Removed instructions for creating a GPU-compatible environment based on PyTorch documentation as it does not show conda commands anymore. Also streamlined the section on using CONDA_OVERRIDE_CUDA and got rid of the pytorch channel given its deprecation: pytorch/pytorch#138506

Reference Issues or PRs

What does this implement/fix?

Put a x in the boxes that apply

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds a feature)
  • Breaking change (fix or feature that would cause existing features not to work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • Other (please describe):

Testing

  • Did you test the pull request locally?
  • Did you add new tests?

Documentation

Access-centered content checklist

Text styling

  • The content is written with plain language (where relevant).
  • If there are headers, they use the proper header tags (with only one level-one header: H1 or # in markdown).
  • All links describe where they link to (for example, check the Nebari website).
  • This content adheres to the Nebari style guides.

Non-text content

  • All content is represented as text (for example, images need alt text, and videos need captions or descriptive transcripts).
  • If there are emojis, there are not more than three in a row.
  • Don't use flashing GIFs or videos.
  • If the content were to be read as plain text, it still makes sense, and no information is missing.

Any other comments?

Removed instructions for creating a GPU-compatible environment based on PyTorch documentation as it does not show conda commands anymore. Also streamlined the section on using CONDA_OVERRIDE_CUDA and got rid of the `pytorch` channel given its deprecation: pytorch/pytorch#138506
@netlify
Copy link

netlify bot commented Oct 17, 2025

Deploy Preview for nebari-docs ready!

Name Link
🔨 Latest commit a6cd03e
🔍 Latest deploy log https://app.netlify.com/projects/nebari-docs/deploys/68f207c2815d2f000806cb98
😎 Deploy Preview https://deploy-preview-602--nebari-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment on lines -60 to -94
2. **Create the environment specification based on recommendations from the PyTorch documentation**:
You can check [PyTorch documentation](https://pytorch.org/get-started/locally/) to get a quick list of the necessary CUDA-specific packages.
Select the following options to get the latest CUDA version:
- PyTorch Build = Stable
- Your OS = Linux
- Package = Conda
- Language = Python
- Compute Platform = 12.1 (Select the version that is less than or equal to the `nvidia-smi` output (see above) on your server)

![pytorch-linux-conda-version](/img/how-tos/pytorch-linux-conda-version.png)

The command `conda install` from above is:
```
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
```
The corresponding yaml config would be:
```
channels:
- pytorch
- nvidia
- conda-forge
dependencies:
- pytorch
- pytorch-cuda==12.1
- torchvision
- torchaudio
- ipykernel
variables: {}
```
:::note
The order of the channels is respected by conda, so keep pytorch at the top, then nvidia, then conda-forge.

You can use `**GUI <-> YAML**` Toggle to edit the config.


Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PyTorch docs do not show installation instructions for conda anymore:

Image

While creating a new config, click on the `**GUI <-> YAML**` Toggle to edit yaml config.
```
channels:
- pytorch
Copy link
Member Author

@marcelovilla marcelovilla Oct 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pytorch channel has been deprecated and does not have recent versions of PyTorch: pytorch/pytorch#138506

@dcmcand dcmcand merged commit 17d177e into main Oct 17, 2025
6 checks passed
@dcmcand dcmcand deleted the update-gpu-environment-setup branch October 17, 2025 10:47
@github-project-automation github-project-automation bot moved this from Todo 📬 to Done 💪🏾 in 📖 - Documentation Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done 💪🏾

Development

Successfully merging this pull request may close these issues.

3 participants