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
a307c3f1
Commit
a307c3f1
authored
May 02, 2023
by
comfyanonymous
Browse files
Update nightly pytorch standalone to python 3.11.3 cu121.
parent
35f636b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
.ci/nightly/update_windows/update_comfyui_and_python_dependencies.bat
...update_windows/update_comfyui_and_python_dependencies.bat
+1
-1
.github/workflows/windows_release_nightly_pytorch.yml
.github/workflows/windows_release_nightly_pytorch.yml
+5
-5
No files found.
.ci/nightly/update_windows/update_comfyui_and_python_dependencies.bat
View file @
a307c3f1
..\python_embeded\python.exe .\update.py ..\ComfyUI\
..\python_embeded\python.exe
-s -m
pip
install
--upgrade --pre
torch
torchvision
torchaudio
--extra-index-url
https
://download.pytorch.org/whl/nightly/cu11
8
-r
../ComfyUI/requirements.txt
pygit2
..\python_embeded\python.exe
-s -m
pip
install
--upgrade --pre
torch
torchvision
torchaudio
--extra-index-url
https
://download.pytorch.org/whl/nightly/cu1
2
1
-r
../ComfyUI/requirements.txt
pygit2
pause
.github/workflows/windows_release_nightly_pytorch.yml
View file @
a307c3f1
...
...
@@ -19,21 +19,21 @@ jobs:
fetch-depth
:
0
-
uses
:
actions/setup-python@v4
with
:
python-version
:
'
3.1
0.9
'
python-version
:
'
3.1
1.3
'
-
shell
:
bash
run
:
|
cd ..
cp -r ComfyUI ComfyUI_copy
curl https://www.python.org/ftp/python/3.1
0.9
/python-3.1
0.9
-embed-amd64.zip -o python_embeded.zip
curl https://www.python.org/ftp/python/3.1
1.3
/python-3.1
1.3
-embed-amd64.zip -o python_embeded.zip
unzip python_embeded.zip -d python_embeded
cd python_embeded
echo 'import site' >> ./python31
0
._pth
echo 'import site' >> ./python31
1
._pth
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
./python.exe get-pip.py
python -m pip wheel torch torchvision torchaudio --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu11
8
-r ../ComfyUI/requirements.txt pygit2 -w ../temp_wheel_dir
python -m pip wheel torch torchvision torchaudio --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu1
2
1 -r ../ComfyUI/requirements.txt pygit2 -w ../temp_wheel_dir
ls ../temp_wheel_dir
./python.exe -s -m pip install --pre ../temp_wheel_dir/*
sed -i '1i../ComfyUI' ./python31
0
._pth
sed -i '1i../ComfyUI' ./python31
1
._pth
cd ..
...
...
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