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
472b1cc0
Commit
472b1cc0
authored
Apr 18, 2023
by
comfyanonymous
Browse files
Add a github action to use pip xformers package for dependencies.
parent
b016e276
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
.github/workflows/windows_release_cu118_dependencies_2.yml
.github/workflows/windows_release_cu118_dependencies_2.yml
+30
-0
No files found.
.github/workflows/windows_release_cu118_dependencies_2.yml
0 → 100644
View file @
472b1cc0
name
:
"
Windows
Release
cu118
dependencies
2"
on
:
workflow_dispatch
:
# push:
# branches:
# - master
jobs
:
build_dependencies
:
runs-on
:
windows-latest
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
actions/setup-python@v4
with
:
python-version
:
'
3.10.9'
-
shell
:
bash
run
:
|
python -m pip wheel --no-cache-dir torch torchvision torchaudio xformers==0.0.19.dev516 --extra-index-url https://download.pytorch.org/whl/cu118 -r requirements.txt pygit2 -w ./temp_wheel_dir
python -m pip install --no-cache-dir ./temp_wheel_dir/*
echo installed basic
ls -lah temp_wheel_dir
mv temp_wheel_dir cu118_python_deps
tar cf cu118_python_deps.tar cu118_python_deps
-
uses
:
actions/cache/save@v3
with
:
path
:
cu118_python_deps.tar
key
:
${{ runner.os }}-build-cu118
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