Skip to content
代码片段 群组 项目
提交 fed0a4dd 编辑于 作者: comfyanonymous's avatar comfyanonymous
浏览文件

Some comments to say what the vram state options mean.

上级 126b4050
No related branches found
No related tags found
无相关合并请求
......@@ -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.
先完成此消息的编辑!
想要评论请 注册