Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
54593db6
"vscode:/vscode.git/clone" did not exist on "e7b9d2c02cffd59fecca4ee617137ea38641078a"
Commit
54593db6
authored
Mar 15, 2023
by
comfyanonymous
Browse files
Update install instructions for torch.
parent
ed4810e6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
README.md
README.md
+2
-7
No files found.
README.md
View file @
54593db6
...
@@ -56,19 +56,14 @@ At the time of writing this pytorch has issues with python versions higher than
...
@@ -56,19 +56,14 @@ At the time of writing this pytorch has issues with python versions higher than
### AMD (Linux only)
### AMD (Linux only)
AMD users can install rocm and pytorch with pip if you don't have it already installed, this is the command to install the stable version:
AMD users can install rocm and pytorch with pip if you don't have it already installed, this is the command to install the stable version:
```
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.2```
```
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.4.2```
I highly recommend you use the nightly/unstable pytorch builds though because they work a lot better for me (run this in the ComfyUI folder so it picks up the requirements.txt):
```
pip install --upgrade --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/rocm5.4.2 -r requirements.txt
```
### NVIDIA
### NVIDIA
Nvidia users should install torch using this command:
Nvidia users should install torch using this command:
```
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu11
7
```
```
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu11
8
```
Nvidia users should also install Xformers for a speed boost but can still run the software without it.
Nvidia users should also install Xformers for a speed boost but can still run the software without it.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment