Skip to content

Commit

Permalink
Rehaul step1
Browse files Browse the repository at this point in the history
  • Loading branch information
YanWenKun committed Mar 25, 2024
1 parent d06a30c commit f9296b2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 59 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/dev-test.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/step1-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
- uses: actions/cache/save@v4
with:
path: |
cu121_python_deps.tar
key: Windows-build-cu121-cp311
cp311_cu121_deps.tar
key: Windows-build-cp311-cu121
8 changes: 5 additions & 3 deletions step1.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -eu

git clone --depth=1 --no-tags --recurse-submodules --shallow-submodules \
https://github.com/MrForExample/ComfyUI-3D-Pack.git
Expand All @@ -7,6 +8,7 @@ python -m pip wheel --no-cache-dir \
./ComfyUI-3D-Pack/_Pre_Builds/_Wheels_win_py311_cu121/*.whl \
-w ./temp_wheel_dir

# Put everything together to resolve compatible versions
python -m pip wheel --no-cache-dir \
xformers torchvision torchaudio \
-r requirements.txt \
Expand All @@ -16,8 +18,8 @@ python -m pip wheel --no-cache-dir \
--extra-index-url https://pypi.org/simple \
-w ./temp_wheel_dir

mv temp_wheel_dir cu121_python_deps
mv temp_wheel_dir cp311_cu121_deps

tar cf cu121_python_deps.tar cu121_python_deps
tar cf cp311_cu121_deps.tar cp311_cu121_deps

ls -lahF cu121_python_deps
ls -lahF cp311_cu121_deps

0 comments on commit f9296b2

Please sign in to comment.