Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
6d44cf74
Commit
6d44cf74
authored
Mar 14, 2023
by
comfyanonymous
Browse files
Make it more clear the recommended way to update the standalone build.
parent
268a2dab
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
20 additions
and
17 deletions
+20
-17
.ci/nightly/update_windows/ONLY_RUN_THIS_IF_YOU_HAVE_TO/update_comfyui_and_python_dependencies.bat
...IF_YOU_HAVE_TO/update_comfyui_and_python_dependencies.bat
+3
-0
.ci/nightly/update_windows/update_all.bat
.ci/nightly/update_windows/update_all.bat
+0
-3
.ci/nightly/update_windows/update_comfyui.bat
.ci/nightly/update_windows/update_comfyui.bat
+0
-0
.ci/nightly/windows_base_files/README_VERY_IMPORTANT.txt
.ci/nightly/windows_base_files/README_VERY_IMPORTANT.txt
+3
-2
.ci/setup_windows_zip.ps1
.ci/setup_windows_zip.ps1
+2
-2
.ci/setup_windows_zip_nightly_pytorch.ps1
.ci/setup_windows_zip_nightly_pytorch.ps1
+2
-2
.ci/update_windows/ONLY_RUN_THIS_IF_YOU_HAVE_TO/update_comfyui_and_python_dependencies.bat
...IF_YOU_HAVE_TO/update_comfyui_and_python_dependencies.bat
+3
-0
.ci/update_windows/update_all.bat
.ci/update_windows/update_all.bat
+0
-3
.ci/update_windows/update_comfyui.bat
.ci/update_windows/update_comfyui.bat
+0
-0
.ci/windows_base_files/README_VERY_IMPORTANT.txt
.ci/windows_base_files/README_VERY_IMPORTANT.txt
+4
-2
nodes.py
nodes.py
+3
-3
No files found.
.ci/nightly/update_windows/ONLY_RUN_THIS_IF_YOU_HAVE_TO/update_comfyui_and_python_dependencies.bat
0 → 100755
View file @
6d44cf74
..\..\python_embeded\python.exe ..\update.py ..\..\ComfyUI\
..\..\python_embeded\python.exe
-s -m
pip
install
--upgrade --pre
torch
torchvision
torchaudio
--extra-index-url
https
://download.pytorch.org/whl/cu118
-r
../../ComfyUI/requirements.txt
pygit2
pause
.ci/nightly/update_windows/update_all.bat
deleted
100755 → 0
View file @
268a2dab
..\python_embeded\python.exe .\update.py ..\ComfyUI\
..\python_embeded\python.exe
-s -m
pip
install
--upgrade --pre
torch
torchvision
torchaudio
--extra-index-url
https
://download.pytorch.org/whl/cu118
-r
../ComfyUI/requirements.txt
pygit2
pause
.ci/nightly/update_windows/update_comfyui
_only
.bat
→
.ci/nightly/update_windows/update_comfyui.bat
View file @
6d44cf74
File moved
.ci/nightly/windows_base_files/README_VERY_IMPORTANT.txt
View file @
6d44cf74
...
@@ -19,8 +19,9 @@ You can download the stable diffusion 1.5 one from: https://huggingface.co/runwa
...
@@ -19,8 +19,9 @@ You can download the stable diffusion 1.5 one from: https://huggingface.co/runwa
RECOMMENDED WAY TO UPDATE:
RECOMMENDED WAY TO UPDATE:
To update
only
the ComfyUI code: update\update_comfyui
_only
.bat
To update the ComfyUI code: update\update_comfyui.bat
To update ComfyUI with the python dependencies (ONLY USE IF YOU NEED TO UPDATE THE PYTHON PACKAGES): update\update_all.bat
To update ComfyUI with the python dependencies:
update\ONLY_RUN_THIS_IF_YOU_HAVE_TO\update_comfyui_and_python_dependencies.bat
.ci/setup_windows_zip.ps1
View file @
6d44cf74
...
@@ -16,8 +16,8 @@ mv ComfyUI_copy ComfyUI_windows_portable/ComfyUI
...
@@ -16,8 +16,8 @@ mv ComfyUI_copy ComfyUI_windows_portable/ComfyUI
cd
ComfyUI_windows_portable
cd
ComfyUI_windows_portable
mkdir
update
mkdir
update
cp
ComfyUI/.ci/update_windows/
*
.
/update/
cp
-r
ComfyUI/.ci/update_windows/
*
.
/update/
cp
ComfyUI/.ci/windows_base_files/
*
.
/
cp
-r
ComfyUI/.ci/windows_base_files/
*
.
/
cd
..
cd
..
...
...
.ci/setup_windows_zip_nightly_pytorch.ps1
View file @
6d44cf74
...
@@ -18,8 +18,8 @@ mv ComfyUI_copy ComfyUI_windows_portable_nightly_pytorch/ComfyUI
...
@@ -18,8 +18,8 @@ mv ComfyUI_copy ComfyUI_windows_portable_nightly_pytorch/ComfyUI
cd
ComfyUI_windows_portable_nightly_pytorch
cd
ComfyUI_windows_portable_nightly_pytorch
mkdir
update
mkdir
update
cp
ComfyUI/.ci/nightly/update_windows/
*
.
/update/
cp
-r
ComfyUI/.ci/nightly/update_windows/
*
.
/update/
cp
ComfyUI/.ci/nightly/windows_base_files/
*
.
/
cp
-r
ComfyUI/.ci/nightly/windows_base_files/
*
.
/
cd
..
cd
..
...
...
.ci/update_windows/ONLY_RUN_THIS_IF_YOU_HAVE_TO/update_comfyui_and_python_dependencies.bat
0 → 100755
View file @
6d44cf74
..\..\python_embeded\python.exe ..\update.py ..\..\ComfyUI\
..\..\python_embeded\python.exe
-s -m
pip
install
--upgrade
torch
torchvision
torchaudio
--extra-index-url
https
://download.pytorch.org/whl/cu117
xformers
-r
../../ComfyUI/requirements.txt
pygit2
pause
.ci/update_windows/update_all.bat
deleted
100755 → 0
View file @
268a2dab
..\python_embeded\python.exe .\update.py ..\ComfyUI\
..\python_embeded\python.exe
-s -m
pip
install
--upgrade
torch
torchvision
torchaudio
--extra-index-url
https
://download.pytorch.org/whl/cu117
xformers
-r
../ComfyUI/requirements.txt
pygit2
pause
.ci/update_windows/update_comfyui
_only
.bat
→
.ci/update_windows/update_comfyui.bat
View file @
6d44cf74
File moved
.ci/windows_base_files/README_VERY_IMPORTANT.txt
View file @
6d44cf74
...
@@ -18,8 +18,10 @@ You can download the stable diffusion 1.5 one from: https://huggingface.co/runwa
...
@@ -18,8 +18,10 @@ You can download the stable diffusion 1.5 one from: https://huggingface.co/runwa
RECOMMENDED WAY TO UPDATE:
RECOMMENDED WAY TO UPDATE:
To update
only
the ComfyUI code: update\update_comfyui
_only
.bat
To update the ComfyUI code: update\update_comfyui.bat
To update ComfyUI with the python dependencies (ONLY USE IF YOU NEED TO UPDATE THE PYTHON PACKAGES): update\update_all.bat
To update ComfyUI with the python dependencies:
update\ONLY_RUN_THIS_IF_YOU_HAVE_TO\update_comfyui_and_python_dependencies.bat
nodes.py
View file @
6d44cf74
...
@@ -811,7 +811,7 @@ class SaveImage:
...
@@ -811,7 +811,7 @@ class SaveImage:
if
not
os
.
path
.
exists
(
self
.
output_dir
):
if
not
os
.
path
.
exists
(
self
.
output_dir
):
os
.
makedirs
(
self
.
output_dir
)
os
.
makedirs
(
self
.
output_dir
)
paths
=
list
()
paths
=
list
()
for
image
in
images
:
for
image
in
images
:
i
=
255.
*
image
.
cpu
().
numpy
()
i
=
255.
*
image
.
cpu
().
numpy
()
...
@@ -835,11 +835,11 @@ class PreviewImage(SaveImage):
...
@@ -835,11 +835,11 @@ class PreviewImage(SaveImage):
@
classmethod
@
classmethod
def
INPUT_TYPES
(
s
):
def
INPUT_TYPES
(
s
):
return
{
"required"
:
return
{
"required"
:
{
"images"
:
(
"IMAGE"
,
),
},
{
"images"
:
(
"IMAGE"
,
),
},
"hidden"
:
{
"prompt"
:
"PROMPT"
,
"extra_pnginfo"
:
"EXTRA_PNGINFO"
},
"hidden"
:
{
"prompt"
:
"PROMPT"
,
"extra_pnginfo"
:
"EXTRA_PNGINFO"
},
}
}
class
LoadImage
:
class
LoadImage
:
input_dir
=
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
)),
"input"
)
input_dir
=
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
)),
"input"
)
@
classmethod
@
classmethod
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment