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
2c5f0ec6
"ppocr/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "9336e344302e2f0717dd985f9a98e5f7b28576f9"
Commit
2c5f0ec6
authored
Feb 27, 2023
by
comfyanonymous
Browse files
Small adjustment.
parent
86721d51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
comfy/model_management.py
comfy/model_management.py
+1
-1
No files found.
comfy/model_management.py
View file @
2c5f0ec6
...
@@ -25,7 +25,7 @@ try:
...
@@ -25,7 +25,7 @@ try:
if
total_vram
<=
4096
:
if
total_vram
<=
4096
:
print
(
"Trying to enable lowvram mode because your GPU seems to have 4GB or less. If you don't want this use: --normalvram"
)
print
(
"Trying to enable lowvram mode because your GPU seems to have 4GB or less. If you don't want this use: --normalvram"
)
set_vram_to
=
LOW_VRAM
set_vram_to
=
LOW_VRAM
elif
total_vram
>
total_ram
*
1.
2
and
total_vram
>
14336
:
elif
total_vram
>
total_ram
*
1.
1
and
total_vram
>
14336
:
print
(
"Enabling highvram mode because your GPU has more vram than your computer has ram. If you don't want this use: --normalvram"
)
print
(
"Enabling highvram mode because your GPU has more vram than your computer has ram. If you don't want this use: --normalvram"
)
vram_state
=
HIGH_VRAM
vram_state
=
HIGH_VRAM
except
:
except
:
...
...
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