mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-17 00:43:48 +08:00
remove broken build process
This commit is contained in:
parent
45ae806beb
commit
9d649a18f0
@ -1,27 +0,0 @@
|
|||||||
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 have memory issues you can try disabling the smart memory management by running comfyui with:
|
|
||||||
|
|
||||||
run_amd_gpu_disable_smart_memory.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.
|
|
||||||
|
|
||||||
|
|
||||||
@ -1,2 +0,0 @@
|
|||||||
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --disable-smart-memory
|
|
||||||
pause
|
|
||||||
@ -1,2 +0,0 @@
|
|||||||
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
|
|
||||||
pause
|
|
||||||
61
.github/workflows/release-stable-all.yml
vendored
61
.github/workflows/release-stable-all.yml
vendored
@ -1,61 +0,0 @@
|
|||||||
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
|
|
||||||
@ -1,64 +0,0 @@
|
|||||||
name: "Windows Release dependencies Manual"
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
torch_dependencies:
|
|
||||||
description: 'torch dependencies'
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
default: "torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu128"
|
|
||||||
cache_tag:
|
|
||||||
description: 'Cached dependencies tag'
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
default: "cu128"
|
|
||||||
|
|
||||||
python_minor:
|
|
||||||
description: 'python minor version'
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
default: "12"
|
|
||||||
|
|
||||||
python_patch:
|
|
||||||
description: 'python patch version'
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
default: "10"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build_dependencies:
|
|
||||||
runs-on: windows-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: 3.${{ inputs.python_minor }}.${{ inputs.python_patch }}
|
|
||||||
|
|
||||||
- shell: bash
|
|
||||||
run: |
|
|
||||||
echo "@echo off
|
|
||||||
call update_comfyui.bat nopause
|
|
||||||
echo -
|
|
||||||
echo This will try to update pytorch and all python dependencies.
|
|
||||||
echo -
|
|
||||||
echo If you just want to update normally, close this and run update_comfyui.bat instead.
|
|
||||||
echo -
|
|
||||||
pause
|
|
||||||
..\python_embeded\python.exe -s -m pip install --upgrade ${{ inputs.torch_dependencies }} -r ../ComfyUI/requirements.txt pygit2
|
|
||||||
pause" > update_comfyui_and_python_dependencies.bat
|
|
||||||
|
|
||||||
grep -v comfyui requirements.txt > requirements_nocomfyui.txt
|
|
||||||
python -m pip wheel --no-cache-dir ${{ inputs.torch_dependencies }} -r requirements_nocomfyui.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 ${{ inputs.cache_tag }}_python_deps
|
|
||||||
tar cf ${{ inputs.cache_tag }}_python_deps.tar ${{ inputs.cache_tag }}_python_deps
|
|
||||||
|
|
||||||
- uses: actions/cache/save@v4
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
${{ inputs.cache_tag }}_python_deps.tar
|
|
||||||
update_comfyui_and_python_dependencies.bat
|
|
||||||
key: ${{ runner.os }}-build-${{ inputs.cache_tag }}-${{ inputs.python_minor }}
|
|
||||||
Loading…
Reference in New Issue
Block a user