Skip to content
GitLab
菜单
为什么选择 GitLab
定价
联系销售
探索
为什么选择 GitLab
定价
联系销售
探索
登录
获取免费试用
主导航
搜索或转到…
项目
C
ComfyUI
管理
动态
成员
代码
仓库
分支
提交
标签
仓库图
比较修订版本
锁定的文件
部署
模型注册表
分析
模型实验
帮助
帮助
支持
GitLab 文档
比较 GitLab 各版本
社区论坛
为极狐GitLab 提交贡献
提交反馈
隐私声明
快捷键
?
新增功能
4
代码片段
群组
项目
显示更多面包屑
hanamizuki
ComfyUI
提交
fed0a4dd
提交
fed0a4dd
编辑于
1 year ago
作者:
comfyanonymous
浏览文件
操作
下载
补丁
差异文件
Some comments to say what the vram state options mean.
上级
126b4050
No related branches found
No related tags found
无相关合并请求
变更
1
隐藏空白变更内容
行内
左右并排
显示
1 个更改的文件
comfy/model_management.py
+3
-3
3 个添加, 3 个删除
comfy/model_management.py
有
3 个添加
和
3 个删除
comfy/model_management.py
+
3
−
3
浏览文件 @
fed0a4dd
...
...
@@ -4,12 +4,12 @@ from comfy.cli_args import args
import
torch
class
VRAMState
(
Enum
):
DISABLED
=
0
NO_VRAM
=
1
DISABLED
=
0
#No vram present: no need to move models to vram
NO_VRAM
=
1
#Very low vram: enable all the options to save vram
LOW_VRAM
=
2
NORMAL_VRAM
=
3
HIGH_VRAM
=
4
SHARED
=
5
SHARED
=
5
#No dedicated vram: memory shared between CPU and GPU but models still need to be moved between both.
class
CPUState
(
Enum
):
GPU
=
0
...
...
此差异已折叠。
点击以展开。
预览
0%
加载中
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
保存评论
取消
想要评论请
注册
或
登录