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
e6829e7a
"PTDN/test_train_inference_python.sh" did not exist on "01c8fc4570219359674db59a80701440994d56be"
Commit
e6829e7a
authored
Jul 27, 2024
by
comfyanonymous
Browse files
Add a way to set custom dependencies in the release workflow.
parent
07f6a1a6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
.github/workflows/windows_release_dependencies.yml
.github/workflows/windows_release_dependencies.yml
+8
-3
No files found.
.github/workflows/windows_release_dependencies.yml
View file @
e6829e7a
...
@@ -8,11 +8,16 @@ on:
...
@@ -8,11 +8,16 @@ on:
required
:
false
required
:
false
type
:
string
type
:
string
default
:
"
"
default
:
"
"
extra_dependencies
:
description
:
'
extra
dependencies'
required
:
false
type
:
string
default
:
"
\"
numpy<2
\"
"
cu
:
cu
:
description
:
'
cuda
version'
description
:
'
cuda
version'
required
:
true
required
:
true
type
:
string
type
:
string
default
:
"
12
1
"
default
:
"
12
4
"
python_minor
:
python_minor
:
description
:
'
python
minor
version'
description
:
'
python
minor
version'
...
@@ -24,7 +29,7 @@ on:
...
@@ -24,7 +29,7 @@ on:
description
:
'
python
patch
version'
description
:
'
python
patch
version'
required
:
true
required
:
true
type
:
string
type
:
string
default
:
"
8
"
default
:
"
9
"
# push:
# push:
# branches:
# branches:
# - master
# - master
...
@@ -51,7 +56,7 @@ jobs:
...
@@ -51,7 +56,7 @@ jobs:
..\python_embeded\python.exe -s -m pip install --upgrade torch torchvision torchaudio ${{ inputs.xformers }} --extra-index-url https://download.pytorch.org/whl/cu${{ inputs.cu }} -r ../ComfyUI/requirements.txt pygit2
..\python_embeded\python.exe -s -m pip install --upgrade torch torchvision torchaudio ${{ inputs.xformers }} --extra-index-url https://download.pytorch.org/whl/cu${{ inputs.cu }} -r ../ComfyUI/requirements.txt pygit2
pause" > update_comfyui_and_python_dependencies.bat
pause" > update_comfyui_and_python_dependencies.bat
python -m pip wheel --no-cache-dir torch torchvision torchaudio ${{ inputs.xformers }} --extra-index-url https://download.pytorch.org/whl/cu${{ inputs.cu }} -r requirements.txt pygit2 -w ./temp_wheel_dir
python -m pip wheel --no-cache-dir torch torchvision torchaudio ${{ inputs.xformers }}
${{ inputs.extra_dependencies }}
--extra-index-url https://download.pytorch.org/whl/cu${{ inputs.cu }} -r requirements.txt pygit2 -w ./temp_wheel_dir
python -m pip install --no-cache-dir ./temp_wheel_dir/*
python -m pip install --no-cache-dir ./temp_wheel_dir/*
echo installed basic
echo installed basic
ls -lah temp_wheel_dir
ls -lah temp_wheel_dir
...
...
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