Skip to content

Commit

Permalink
[DOC] Document setting environment variable (#765)
Browse files Browse the repository at this point in the history
Co-authored-by: Nikita Karetnikov <[email protected]>
Co-authored-by: Tania Allard <[email protected]>
  • Loading branch information
3 people authored Feb 29, 2024
1 parent f4a563b commit e652f03
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docusaurus-docs/conda-store-ui/tutorials/create-envs.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,22 @@ To install packages published only on [PyPI][pypi] using [`pip`][pip], include a
-->

### Set environment variables

:::note
This feature is available *after* conda-store-ui version 2024.1.1.

Currently, only the `CONDA_OVERRIDE_CUDA` environment variable can be specified, which allows setting the CUDA version for building packages with GPU support.
Learn more in the [conda documentation][conda-docs-override-packages]
:::

You can set environment variables in the YAML editor with the following syntax:

```yaml
variables:
CONDA_OVERRIDE_CUDA: '12.0'
```
## Trigger environment creation
Once the name, description, required packages, and channels are specified, click on the "Create" button at the bottom of the screen to trigger environment creation:
Expand All @@ -100,3 +116,4 @@ The "Status" will change to "Status: Completed in ... min" once the environment
[pypi]: https://pypi.org
[pip]: https://pip.pypa.io/en/stable/installation/
[conda-docs-override-packages]: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-virtual.html#overriding-detected-packages

0 comments on commit e652f03

Please sign in to comment.