-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtorch_env.yml
More file actions
30 lines (28 loc) · 941 Bytes
/
torch_env.yml
File metadata and controls
30 lines (28 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: torch-env
channels:
- pytorch
- nvidia
- defaults
- conda-forge
dependencies:
- python==3.11.0
- jupyter==1.1.1
- matplotlib==3.10.3
- numpy==2.3.2
- pip==25.1.1
- pip:
- torch==2.7.1+cu118
- --extra-index-url=https://download.pytorch.org/whl/cu118
- torchvision
- torchsummary
# ==============================================
# Command-line Interface (CLI):
# To create this environment: conda env create -f torch_env.yml
# To activate the environment: conda activate <env-name>
# To list all environments: conda env list
# To show env. info: conda info
# To show installed packages: conda list
# To list a package info: conda list <package_name>
# To remove the env.: conda remove -yn <env_name> --all
# Future updates: conda env update -n <env_name> --file environment.yml --prune && conda activate <env_name> && pip install --no-deps -e -v .
# ==============================================