Update README.md
Browse files
README.md
CHANGED
|
@@ -79,7 +79,15 @@ Once the environment is activated, install the necessary packages.
|
|
| 79 |
|
| 80 |
#### **Install CUDA-enabled PyTorch**
|
| 81 |
|
| 82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
|
| 84 |
```bash
|
| 85 |
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
|
|
|
|
| 79 |
|
| 80 |
#### **Install CUDA-enabled PyTorch**
|
| 81 |
|
| 82 |
+
Although inference can run efficiently on a CPU, you may need a GPU for training more resource-intensive downstream tasks. Visit [this page](https://pytorch.org/get-started/locally/) and select the appropriate options based on your system's specifications. The website will generate a tailored installation command.
|
| 83 |
+
|
| 84 |
+
For instance, on an NVIDIA system, use a command like the following with the appropriate CUDA version for your system:
|
| 85 |
+
|
| 86 |
+
```bash
|
| 87 |
+
conda install pytorch pytorch-cuda=12.1 -c pytorch -c nvidia
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
This command installs PyTorch with CUDA support for GPU-accelerated training. Ensure that the specified CUDA version is compatible with your system, adjusting it if necessary.
|
| 91 |
|
| 92 |
```bash
|
| 93 |
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
|