mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-19 02:53:05 +08:00
Merge branch 'master' into dr-support-pip-cm
This commit is contained in:
commit
8cbdaa8855
24
.ci/windows_amd_base_files/README_VERY_IMPORTANT.txt
Executable file
24
.ci/windows_amd_base_files/README_VERY_IMPORTANT.txt
Executable file
@ -0,0 +1,24 @@
|
|||||||
|
As of the time of writing this you need this preview driver for best results:
|
||||||
|
https://www.amd.com/en/resources/support-articles/release-notes/RN-AMDGPU-WINDOWS-PYTORCH-PREVIEW.html
|
||||||
|
|
||||||
|
HOW TO RUN:
|
||||||
|
|
||||||
|
if you have a AMD gpu:
|
||||||
|
|
||||||
|
run_amd_gpu.bat
|
||||||
|
|
||||||
|
|
||||||
|
IF YOU GET A RED ERROR IN THE UI MAKE SURE YOU HAVE A MODEL/CHECKPOINT IN: ComfyUI\models\checkpoints
|
||||||
|
|
||||||
|
You can download the stable diffusion XL one from: https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/sd_xl_base_1.0_0.9vae.safetensors
|
||||||
|
|
||||||
|
|
||||||
|
RECOMMENDED WAY TO UPDATE:
|
||||||
|
To update the ComfyUI code: update\update_comfyui.bat
|
||||||
|
|
||||||
|
|
||||||
|
TO SHARE MODELS BETWEEN COMFYUI AND ANOTHER UI:
|
||||||
|
In the ComfyUI directory you will find a file: extra_model_paths.yaml.example
|
||||||
|
Rename this file to: extra_model_paths.yaml and edit it with your favorite text editor.
|
||||||
|
|
||||||
|
|
||||||
2
.ci/windows_nvidia_base_files/run_nvidia_gpu.bat
Executable file
2
.ci/windows_nvidia_base_files/run_nvidia_gpu.bat
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
|
||||||
|
pause
|
||||||
61
.github/workflows/release-stable-all.yml
vendored
Normal file
61
.github/workflows/release-stable-all.yml
vendored
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
name: "Release Stable All Portable Versions"
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
git_tag:
|
||||||
|
description: 'Git tag'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release_nvidia_default:
|
||||||
|
permissions:
|
||||||
|
contents: "write"
|
||||||
|
packages: "write"
|
||||||
|
pull-requests: "read"
|
||||||
|
name: "Release NVIDIA Default (cu129)"
|
||||||
|
uses: ./.github/workflows/stable-release.yml
|
||||||
|
with:
|
||||||
|
git_tag: ${{ inputs.git_tag }}
|
||||||
|
cache_tag: "cu129"
|
||||||
|
python_minor: "13"
|
||||||
|
python_patch: "6"
|
||||||
|
rel_name: "nvidia"
|
||||||
|
rel_extra_name: ""
|
||||||
|
test_release: true
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
|
release_nvidia_cu128:
|
||||||
|
permissions:
|
||||||
|
contents: "write"
|
||||||
|
packages: "write"
|
||||||
|
pull-requests: "read"
|
||||||
|
name: "Release NVIDIA cu128"
|
||||||
|
uses: ./.github/workflows/stable-release.yml
|
||||||
|
with:
|
||||||
|
git_tag: ${{ inputs.git_tag }}
|
||||||
|
cache_tag: "cu128"
|
||||||
|
python_minor: "12"
|
||||||
|
python_patch: "10"
|
||||||
|
rel_name: "nvidia"
|
||||||
|
rel_extra_name: "_cu128"
|
||||||
|
test_release: true
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
|
release_amd_rocm:
|
||||||
|
permissions:
|
||||||
|
contents: "write"
|
||||||
|
packages: "write"
|
||||||
|
pull-requests: "read"
|
||||||
|
name: "Release AMD ROCm 6.4.4"
|
||||||
|
uses: ./.github/workflows/stable-release.yml
|
||||||
|
with:
|
||||||
|
git_tag: ${{ inputs.git_tag }}
|
||||||
|
cache_tag: "rocm644"
|
||||||
|
python_minor: "12"
|
||||||
|
python_patch: "10"
|
||||||
|
rel_name: "amd"
|
||||||
|
rel_extra_name: ""
|
||||||
|
test_release: false
|
||||||
|
secrets: inherit
|
||||||
56
.github/workflows/stable-release.yml
vendored
56
.github/workflows/stable-release.yml
vendored
@ -2,6 +2,42 @@
|
|||||||
name: "Release Stable Version"
|
name: "Release Stable Version"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
git_tag:
|
||||||
|
description: 'Git tag'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
cache_tag:
|
||||||
|
description: 'Cached dependencies tag'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
default: "cu129"
|
||||||
|
python_minor:
|
||||||
|
description: 'Python minor version'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
default: "13"
|
||||||
|
python_patch:
|
||||||
|
description: 'Python patch version'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
default: "6"
|
||||||
|
rel_name:
|
||||||
|
description: 'Release name'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
default: "nvidia"
|
||||||
|
rel_extra_name:
|
||||||
|
description: 'Release extra name'
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
test_release:
|
||||||
|
description: 'Test Release'
|
||||||
|
required: true
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
git_tag:
|
git_tag:
|
||||||
@ -28,6 +64,16 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
default: "nvidia"
|
default: "nvidia"
|
||||||
|
rel_extra_name:
|
||||||
|
description: 'Release extra name'
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
test_release:
|
||||||
|
description: 'Test Release'
|
||||||
|
required: true
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
package_comfy_windows:
|
package_comfy_windows:
|
||||||
@ -96,14 +142,18 @@ jobs:
|
|||||||
|
|
||||||
mkdir update
|
mkdir update
|
||||||
cp -r ComfyUI/.ci/update_windows/* ./update/
|
cp -r ComfyUI/.ci/update_windows/* ./update/
|
||||||
cp -r ComfyUI/.ci/windows_base_files/* ./
|
cp -r ComfyUI/.ci/windows_${{ inputs.rel_name }}_base_files/* ./
|
||||||
cp ../update_comfyui_and_python_dependencies.bat ./update/
|
cp ../update_comfyui_and_python_dependencies.bat ./update/
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
"C:\Program Files\7-Zip\7z.exe" a -t7z -m0=lzma2 -mx=9 -mfb=128 -md=768m -ms=on -mf=BCJ2 ComfyUI_windows_portable.7z ComfyUI_windows_portable
|
"C:\Program Files\7-Zip\7z.exe" a -t7z -m0=lzma2 -mx=9 -mfb=128 -md=768m -ms=on -mf=BCJ2 ComfyUI_windows_portable.7z ComfyUI_windows_portable
|
||||||
mv ComfyUI_windows_portable.7z ComfyUI/ComfyUI_windows_portable_${{ inputs.rel_name }}.7z
|
mv ComfyUI_windows_portable.7z ComfyUI/ComfyUI_windows_portable_${{ inputs.rel_name }}${{ inputs.rel_extra_name }}.7z
|
||||||
|
|
||||||
|
- shell: bash
|
||||||
|
if: ${{ inputs.test_release }}
|
||||||
|
run: |
|
||||||
|
cd ..
|
||||||
cd ComfyUI_windows_portable
|
cd ComfyUI_windows_portable
|
||||||
python_embeded/python.exe -s ComfyUI/main.py --quick-test-for-ci --cpu
|
python_embeded/python.exe -s ComfyUI/main.py --quick-test-for-ci --cpu
|
||||||
|
|
||||||
@ -114,7 +164,7 @@ jobs:
|
|||||||
- name: Upload binaries to release
|
- name: Upload binaries to release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
files: ComfyUI_windows_portable_${{ inputs.rel_name }}.7z
|
files: ComfyUI_windows_portable_${{ inputs.rel_name }}${{ inputs.rel_extra_name }}.7z
|
||||||
tag_name: ${{ inputs.git_tag }}
|
tag_name: ${{ inputs.git_tag }}
|
||||||
draft: true
|
draft: true
|
||||||
overwrite_files: true
|
overwrite_files: true
|
||||||
|
|||||||
@ -68,7 +68,7 @@ jobs:
|
|||||||
|
|
||||||
mkdir update
|
mkdir update
|
||||||
cp -r ComfyUI/.ci/update_windows/* ./update/
|
cp -r ComfyUI/.ci/update_windows/* ./update/
|
||||||
cp -r ComfyUI/.ci/windows_base_files/* ./
|
cp -r ComfyUI/.ci/windows_nvidia_base_files/* ./
|
||||||
cp -r ComfyUI/.ci/windows_nightly_base_files/* ./
|
cp -r ComfyUI/.ci/windows_nightly_base_files/* ./
|
||||||
|
|
||||||
echo "call update_comfyui.bat nopause
|
echo "call update_comfyui.bat nopause
|
||||||
|
|||||||
@ -81,7 +81,7 @@ jobs:
|
|||||||
|
|
||||||
mkdir update
|
mkdir update
|
||||||
cp -r ComfyUI/.ci/update_windows/* ./update/
|
cp -r ComfyUI/.ci/update_windows/* ./update/
|
||||||
cp -r ComfyUI/.ci/windows_base_files/* ./
|
cp -r ComfyUI/.ci/windows_nvidia_base_files/* ./
|
||||||
cp ../update_comfyui_and_python_dependencies.bat ./update/
|
cp ../update_comfyui_and_python_dependencies.bat ./update/
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
# This file is automatically generated by the build process when version is
|
# This file is automatically generated by the build process when version is
|
||||||
# updated in pyproject.toml.
|
# updated in pyproject.toml.
|
||||||
__version__ = "0.3.60"
|
__version__ = "0.3.61"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "ComfyUI"
|
name = "ComfyUI"
|
||||||
version = "0.3.60"
|
version = "0.3.61"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = { file = "LICENSE" }
|
license = { file = "LICENSE" }
|
||||||
requires-python = ">=3.9"
|
requires-python = ">=3.9"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user