mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-07-05 23:07:09 +08:00
Fix typos (embeded > embedded)
This commit is contained in:
parent
ea0f939df3
commit
073c8424cb
@ -1,8 +1,8 @@
|
|||||||
@echo off
|
@echo off
|
||||||
..\python_embeded\python.exe .\update.py ..\ComfyUI\
|
..\python_embedded\python.exe .\update.py ..\ComfyUI\
|
||||||
if exist update_new.py (
|
if exist update_new.py (
|
||||||
move /y update_new.py update.py
|
move /y update_new.py update.py
|
||||||
echo Running updater again since it got updated.
|
echo Running updater again since it got updated.
|
||||||
..\python_embeded\python.exe .\update.py ..\ComfyUI\ --skip_self_update
|
..\python_embedded\python.exe .\update.py ..\ComfyUI\ --skip_self_update
|
||||||
)
|
)
|
||||||
if "%~1"=="" pause
|
if "%~1"=="" pause
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
@echo off
|
@echo off
|
||||||
..\python_embeded\python.exe .\update.py ..\ComfyUI\ --stable
|
..\python_embedded\python.exe .\update.py ..\ComfyUI\ --stable
|
||||||
if exist update_new.py (
|
if exist update_new.py (
|
||||||
move /y update_new.py update.py
|
move /y update_new.py update.py
|
||||||
echo Running updater again since it got updated.
|
echo Running updater again since it got updated.
|
||||||
..\python_embeded\python.exe .\update.py ..\ComfyUI\ --skip_self_update --stable
|
..\python_embedded\python.exe .\update.py ..\ComfyUI\ --skip_self_update --stable
|
||||||
)
|
)
|
||||||
if "%~1"=="" pause
|
if "%~1"=="" pause
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
.\python_embeded\python.exe -s ComfyUI\main.py --cpu --windows-standalone-build
|
.\python_embedded\python.exe -s ComfyUI\main.py --cpu --windows-standalone-build
|
||||||
pause
|
pause
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
|
.\python_embedded\python.exe -s ComfyUI\main.py --windows-standalone-build
|
||||||
pause
|
pause
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --fast
|
.\python_embedded\python.exe -s ComfyUI\main.py --windows-standalone-build --fast
|
||||||
pause
|
pause
|
||||||
|
10
.github/workflows/stable-release.yml
vendored
10
.github/workflows/stable-release.yml
vendored
@ -58,9 +58,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd ..
|
cd ..
|
||||||
cp -r ComfyUI ComfyUI_copy
|
cp -r ComfyUI ComfyUI_copy
|
||||||
curl https://www.python.org/ftp/python/3.${{ inputs.python_minor }}.${{ inputs.python_patch }}/python-3.${{ inputs.python_minor }}.${{ inputs.python_patch }}-embed-amd64.zip -o python_embeded.zip
|
curl https://www.python.org/ftp/python/3.${{ inputs.python_minor }}.${{ inputs.python_patch }}/python-3.${{ inputs.python_minor }}.${{ inputs.python_patch }}-embed-amd64.zip -o python_embedded.zip
|
||||||
unzip python_embeded.zip -d python_embeded
|
unzip python_embedded.zip -d python_embedded
|
||||||
cd python_embeded
|
cd python_embedded
|
||||||
echo ${{ env.MINOR_VERSION }}
|
echo ${{ env.MINOR_VERSION }}
|
||||||
echo 'import site' >> ./python3${{ inputs.python_minor }}._pth
|
echo 'import site' >> ./python3${{ inputs.python_minor }}._pth
|
||||||
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
||||||
@ -73,7 +73,7 @@ jobs:
|
|||||||
cp taesd/*.pth ./ComfyUI_copy/models/vae_approx/
|
cp taesd/*.pth ./ComfyUI_copy/models/vae_approx/
|
||||||
|
|
||||||
mkdir ComfyUI_windows_portable
|
mkdir ComfyUI_windows_portable
|
||||||
mv python_embeded ComfyUI_windows_portable
|
mv python_embedded ComfyUI_windows_portable
|
||||||
mv ComfyUI_copy ComfyUI_windows_portable/ComfyUI
|
mv ComfyUI_copy ComfyUI_windows_portable/ComfyUI
|
||||||
|
|
||||||
cd ComfyUI_windows_portable
|
cd ComfyUI_windows_portable
|
||||||
@ -89,7 +89,7 @@ jobs:
|
|||||||
mv ComfyUI_windows_portable.7z ComfyUI/ComfyUI_windows_portable_nvidia.7z
|
mv ComfyUI_windows_portable.7z ComfyUI/ComfyUI_windows_portable_nvidia.7z
|
||||||
|
|
||||||
cd ComfyUI_windows_portable
|
cd ComfyUI_windows_portable
|
||||||
python_embeded/python.exe -s ComfyUI/main.py --quick-test-for-ci --cpu
|
python_embedded/python.exe -s ComfyUI/main.py --quick-test-for-ci --cpu
|
||||||
|
|
||||||
ls
|
ls
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ jobs:
|
|||||||
echo If you just want to update normally, close this and run update_comfyui.bat instead.
|
echo If you just want to update normally, close this and run update_comfyui.bat instead.
|
||||||
echo -
|
echo -
|
||||||
pause
|
pause
|
||||||
..\python_embeded\python.exe -s -m pip install --upgrade torch torchvision torchaudio ${{ inputs.xformers }} --extra-index-url https://download.pytorch.org/whl/cu${{ inputs.cu }} -r ../ComfyUI/requirements.txt pygit2
|
..\python_embedded\python.exe -s -m pip install --upgrade torch torchvision torchaudio ${{ inputs.xformers }} --extra-index-url https://download.pytorch.org/whl/cu${{ inputs.cu }} -r ../ComfyUI/requirements.txt pygit2
|
||||||
pause" > update_comfyui_and_python_dependencies.bat
|
pause" > update_comfyui_and_python_dependencies.bat
|
||||||
|
|
||||||
python -m pip wheel --no-cache-dir torch torchvision torchaudio ${{ inputs.xformers }} ${{ inputs.extra_dependencies }} --extra-index-url https://download.pytorch.org/whl/cu${{ inputs.cu }} -r requirements.txt pygit2 -w ./temp_wheel_dir
|
python -m pip wheel --no-cache-dir torch torchvision torchaudio ${{ inputs.xformers }} ${{ inputs.extra_dependencies }} --extra-index-url https://download.pytorch.org/whl/cu${{ inputs.cu }} -r requirements.txt pygit2 -w ./temp_wheel_dir
|
||||||
|
@ -43,9 +43,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd ..
|
cd ..
|
||||||
cp -r ComfyUI ComfyUI_copy
|
cp -r ComfyUI ComfyUI_copy
|
||||||
curl https://www.python.org/ftp/python/3.${{ inputs.python_minor }}.${{ inputs.python_patch }}/python-3.${{ inputs.python_minor }}.${{ inputs.python_patch }}-embed-amd64.zip -o python_embeded.zip
|
curl https://www.python.org/ftp/python/3.${{ inputs.python_minor }}.${{ inputs.python_patch }}/python-3.${{ inputs.python_minor }}.${{ inputs.python_patch }}-embed-amd64.zip -o python_embedded.zip
|
||||||
unzip python_embeded.zip -d python_embeded
|
unzip python_embedded.zip -d python_embedded
|
||||||
cd python_embeded
|
cd python_embedded
|
||||||
echo 'import site' >> ./python3${{ inputs.python_minor }}._pth
|
echo 'import site' >> ./python3${{ inputs.python_minor }}._pth
|
||||||
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
||||||
./python.exe get-pip.py
|
./python.exe get-pip.py
|
||||||
@ -59,7 +59,7 @@ jobs:
|
|||||||
cp taesd/*.pth ./ComfyUI_copy/models/vae_approx/
|
cp taesd/*.pth ./ComfyUI_copy/models/vae_approx/
|
||||||
|
|
||||||
mkdir ComfyUI_windows_portable_nightly_pytorch
|
mkdir ComfyUI_windows_portable_nightly_pytorch
|
||||||
mv python_embeded ComfyUI_windows_portable_nightly_pytorch
|
mv python_embedded ComfyUI_windows_portable_nightly_pytorch
|
||||||
mv ComfyUI_copy ComfyUI_windows_portable_nightly_pytorch/ComfyUI
|
mv ComfyUI_copy ComfyUI_windows_portable_nightly_pytorch/ComfyUI
|
||||||
|
|
||||||
cd ComfyUI_windows_portable_nightly_pytorch
|
cd ComfyUI_windows_portable_nightly_pytorch
|
||||||
@ -70,7 +70,7 @@ jobs:
|
|||||||
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
|
||||||
..\python_embeded\python.exe -s -m pip install --upgrade --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cu${{ inputs.cu }} -r ../ComfyUI/requirements.txt pygit2
|
..\python_embedded\python.exe -s -m pip install --upgrade --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cu${{ inputs.cu }} -r ../ComfyUI/requirements.txt pygit2
|
||||||
pause" > ./update/update_comfyui_and_python_dependencies.bat
|
pause" > ./update/update_comfyui_and_python_dependencies.bat
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
@ -78,7 +78,7 @@ jobs:
|
|||||||
mv ComfyUI_windows_portable_nightly_pytorch.7z ComfyUI/ComfyUI_windows_portable_nvidia_or_cpu_nightly_pytorch.7z
|
mv ComfyUI_windows_portable_nightly_pytorch.7z ComfyUI/ComfyUI_windows_portable_nvidia_or_cpu_nightly_pytorch.7z
|
||||||
|
|
||||||
cd ComfyUI_windows_portable_nightly_pytorch
|
cd ComfyUI_windows_portable_nightly_pytorch
|
||||||
python_embeded/python.exe -s ComfyUI/main.py --quick-test-for-ci --cpu
|
python_embedded/python.exe -s ComfyUI/main.py --quick-test-for-ci --cpu
|
||||||
|
|
||||||
ls
|
ls
|
||||||
|
|
||||||
|
11
.github/workflows/windows_release_package.yml
vendored
11
.github/workflows/windows_release_package.yml
vendored
@ -56,9 +56,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd ..
|
cd ..
|
||||||
cp -r ComfyUI ComfyUI_copy
|
cp -r ComfyUI ComfyUI_copy
|
||||||
curl https://www.python.org/ftp/python/3.${{ inputs.python_minor }}.${{ inputs.python_patch }}/python-3.${{ inputs.python_minor }}.${{ inputs.python_patch }}-embed-amd64.zip -o python_embeded.zip
|
curl https://www.python.org/ftp/python/3.${{ inputs.python_minor }}.${{ inputs.python_patch }}/python-3.${{ inputs.python_minor }}.${{ inputs.python_patch }}-embed-amd64.zip -o python_embedded.zip
|
||||||
unzip python_embeded.zip -d python_embeded
|
unzip python_embedded.zip -d python_embedded
|
||||||
cd python_embeded
|
cd python_embedded
|
||||||
echo 'import site' >> ./python3${{ inputs.python_minor }}._pth
|
echo 'import site' >> ./python3${{ inputs.python_minor }}._pth
|
||||||
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
||||||
./python.exe get-pip.py
|
./python.exe get-pip.py
|
||||||
@ -70,7 +70,7 @@ jobs:
|
|||||||
cp taesd/*.pth ./ComfyUI_copy/models/vae_approx/
|
cp taesd/*.pth ./ComfyUI_copy/models/vae_approx/
|
||||||
|
|
||||||
mkdir ComfyUI_windows_portable
|
mkdir ComfyUI_windows_portable
|
||||||
mv python_embeded ComfyUI_windows_portable
|
mv python_embedded ComfyUI_windows_portable
|
||||||
mv ComfyUI_copy ComfyUI_windows_portable/ComfyUI
|
mv ComfyUI_copy ComfyUI_windows_portable/ComfyUI
|
||||||
|
|
||||||
cd ComfyUI_windows_portable
|
cd ComfyUI_windows_portable
|
||||||
@ -86,7 +86,7 @@ jobs:
|
|||||||
mv ComfyUI_windows_portable.7z ComfyUI/new_ComfyUI_windows_portable_nvidia_cu${{ inputs.cu }}_or_cpu.7z
|
mv ComfyUI_windows_portable.7z ComfyUI/new_ComfyUI_windows_portable_nvidia_cu${{ inputs.cu }}_or_cpu.7z
|
||||||
|
|
||||||
cd ComfyUI_windows_portable
|
cd ComfyUI_windows_portable
|
||||||
python_embeded/python.exe -s ComfyUI/main.py --quick-test-for-ci --cpu
|
python_embedded/python.exe -s ComfyUI/main.py --quick-test-for-ci --cpu
|
||||||
|
|
||||||
ls
|
ls
|
||||||
|
|
||||||
@ -97,4 +97,3 @@ jobs:
|
|||||||
file: new_ComfyUI_windows_portable_nvidia_cu${{ inputs.cu }}_or_cpu.7z
|
file: new_ComfyUI_windows_portable_nvidia_cu${{ inputs.cu }}_or_cpu.7z
|
||||||
tag: "latest"
|
tag: "latest"
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
@ -19,14 +19,14 @@ def update_windows_updater():
|
|||||||
except:
|
except:
|
||||||
return
|
return
|
||||||
|
|
||||||
if not contents.startswith(b"..\\python_embeded\\python.exe .\\update.py"):
|
if not contents.startswith(b"..\\python_embedded\\python.exe .\\update.py"):
|
||||||
return
|
return
|
||||||
|
|
||||||
shutil.copy(updater_path, dest_updater_path)
|
shutil.copy(updater_path, dest_updater_path)
|
||||||
try:
|
try:
|
||||||
with open(dest_bat_deps_path, 'rb') as f:
|
with open(dest_bat_deps_path, 'rb') as f:
|
||||||
contents = f.read()
|
contents = f.read()
|
||||||
contents = contents.replace(b'..\\python_embeded\\python.exe .\\update.py ..\\ComfyUI\\', b'call update_comfyui.bat nopause')
|
contents = contents.replace(b'..\\python_embedded\\python.exe .\\update.py ..\\ComfyUI\\', b'call update_comfyui.bat nopause')
|
||||||
with open(dest_bat_deps_path, 'wb') as f:
|
with open(dest_bat_deps_path, 'wb') as f:
|
||||||
f.write(contents)
|
f.write(contents)
|
||||||
except:
|
except:
|
||||||
|
@ -531,7 +531,7 @@ class PromptServer():
|
|||||||
"comfyui_version": __version__,
|
"comfyui_version": __version__,
|
||||||
"python_version": sys.version,
|
"python_version": sys.version,
|
||||||
"pytorch_version": comfy.model_management.torch_version,
|
"pytorch_version": comfy.model_management.torch_version,
|
||||||
"embedded_python": os.path.split(os.path.split(sys.executable)[0])[1] == "python_embeded",
|
"embedded_python": os.path.split(os.path.split(sys.executable)[0])[1] == "python_embedded",
|
||||||
"argv": sys.argv
|
"argv": sys.argv
|
||||||
},
|
},
|
||||||
"devices": [
|
"devices": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user