-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
89 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: "Build & Upload pt21-cu118 Package" | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build_upload: | ||
permissions: | ||
contents: "write" | ||
packages: "write" | ||
pull-requests: "read" | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Stage 1 Gathering Dependencies | ||
shell: bash | ||
working-directory: pt21-cu118 | ||
run: bash stage1.sh | ||
|
||
- name: Stage 2 Assembling Repositories | ||
shell: bash | ||
working-directory: pt21-cu118 | ||
run: bash stage2.sh | ||
|
||
- name: Stage 3 Compressing Package | ||
shell: bash | ||
working-directory: pt21-cu118 | ||
run: bash stage3.sh | ||
|
||
- name: Upload archive to release | ||
uses: xresloader/upload-to-github-release@v1 | ||
env: | ||
# You don't need to configure this token. It'll be auto-set when GitHub Actions start. | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
file: "pt21-cu118/Comfy3D_WinPortable.7z*" | ||
# Always draft before release. | ||
draft: true | ||
overwrite: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,20 +9,34 @@ set TORCH_CUDA_ARCH_LIST=6.1+PTX | |
set CMAKE_ARGS=-DBUILD_opencv_world=ON -DWITH_CUDA=ON -DCUDA_FAST_MATH=ON -DWITH_CUBLAS=ON -DWITH_NVCUVID=ON | ||
set PATH=%PATH%;%~dp0\python_embeded\Scripts | ||
|
||
.\python_embeded\python.exe -s -m pip install --force-reinstall ^ | ||
.\python_embeded\python.exe -s -m pip install ^ | ||
"git+https://github.com/facebookresearch/[email protected]" | ||
|
||
@REM Compile-install pointnet2_ops for Triplane Gaussian | ||
|
||
.\python_embeded\python.exe -s -m pip install --force-reinstall ^ | ||
.\python_embeded\python.exe -s -m pip install ^ | ||
.\extras\pointnet2_ops | ||
|
||
@REM Compile-install diff-gaussian-rasterization for Triplane Gaussian | ||
|
||
.\python_embeded\python.exe -s -m pip install --force-reinstall ^ | ||
.\python_embeded\python.exe -s -m pip install ^ | ||
"git+https://github.com/ashawkey/diff-gaussian-rasterization.git" | ||
|
||
@REM Compile-install simple-knn | ||
|
||
.\python_embeded\python.exe -s -m pip install --force-reinstall ^ | ||
.\python_embeded\python.exe -s -m pip install ^ | ||
.\extras\simple-knn | ||
|
||
@REM Compile-install kiuikit | ||
|
||
.\python_embeded\python.exe -s -m pip install ^ | ||
git+https://github.com/ashawkey/kiuikit.git | ||
|
||
@REM Compile-install nvdiffrast | ||
|
||
.\python_embeded\python.exe -s -m pip install ^ | ||
git+https://github.com/NVlabs/nvdiffrast.git | ||
|
||
@REM Ensure numpy1 | ||
|
||
.\python_embeded\python.exe -s -m pip install numpy==1.26.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,20 +10,34 @@ set PATH=%PATH%;%~dp0\python_embeded\Scripts | |
|
||
set PIP_INDEX_URL=https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple | ||
|
||
.\python_embeded\python.exe -s -m pip install --force-reinstall ^ | ||
.\python_embeded\python.exe -s -m pip install ^ | ||
"git+https://ghp.ci/https://github.com/facebookresearch/[email protected]" | ||
|
||
@REM 编译安装 pointnet2_ops ,该组件用于 Triplane Gaussian | ||
|
||
.\python_embeded\python.exe -s -m pip install --force-reinstall ^ | ||
.\python_embeded\python.exe -s -m pip install ^ | ||
.\extras\pointnet2_ops | ||
|
||
@REM 编译安装 diff-gaussian-rasterization ,该组件用于 Triplane Gaussian | ||
|
||
.\python_embeded\python.exe -s -m pip install --force-reinstall ^ | ||
.\python_embeded\python.exe -s -m pip install ^ | ||
"git+https://ghp.ci/https://github.com/ashawkey/diff-gaussian-rasterization.git" | ||
|
||
@REM 编译安装 simple-knn | ||
|
||
.\python_embeded\python.exe -s -m pip install --force-reinstall ^ | ||
.\python_embeded\python.exe -s -m pip install ^ | ||
.\extras\simple-knn | ||
|
||
@REM 编译安装 kiuikit | ||
|
||
.\python_embeded\python.exe -s -m pip install ^ | ||
git+https://github.com/ashawkey/kiuikit.git | ||
|
||
@REM 编译安装 nvdiffrast | ||
|
||
.\python_embeded\python.exe -s -m pip install ^ | ||
git+https://github.com/NVlabs/nvdiffrast.git | ||
|
||
@REM 保证使用 numpy1 | ||
|
||
.\python_embeded\python.exe -s -m pip install numpy==1.26.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--index-url https://download.pytorch.org/whl/cu121 | ||
--index-url https://download.pytorch.org/whl/cu118 | ||
--extra-index-url https://pypi.org/simple | ||
xformers==0.0.27.post2 | ||
torch==2.4.0 | ||
torchvision==0.19.0 | ||
torchaudio==2.4.0 | ||
xformers==0.0.23.post1 | ||
torch==2.1.2 | ||
torchvision==0.16.2 | ||
torchaudio==2.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,5 +33,6 @@ torchtyping | |
trimesh | ||
typer | ||
typing-extensions | ||
ultralytics | ||
webcolors | ||
xatlas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters