ComfyUI는 워크플로에 대한 유연성과 제어 기능을 제공하는 AI 기반 이미지 생성 도구입니다. 이 글에서는 Windows 시스템에 ComfyUI를 설치하는 과정을 시스템 요구 사항, 설치 단계, 문제 해결 팁과 함께 안내합니다.
목차
시스템 요구 사항
설치 과정을 시작하기 전에 시스템이 다음 하드웨어 및 소프트웨어 사전 요구 사항을 충족하는지 확인하세요:
하드웨어 요구 사항
- 프로세서: 최신 멀티코어 CPU(Intel i5/i7 또는 AMD Ryzen 권장).
- GPU: CUDA를 지원하는 NVIDIA GPU(최소 6GB VRAM이 필요하지만, 8GB+ VRAM이 더 나은 성능을 위해 이상적입니다). 예:
- NVIDIA GTX 1660 이상
- NVIDIA RTX 3060/3070/3080/40 시리즈/50 시리즈 GPU
- NVIDIA A 시리즈, Tesla 시리즈 GPU
소프트웨어 요구 사항
- 운영 체제: Windows 10 또는 Windows 11(64비트).
- Python 버전: Python 3.10 이상.
- NVIDIA 드라이버: CUDA 호환성을 위해 최신 드라이버가 설치되어 있는지 확인하세요.
- 다음에서 다운로드: NVIDIA 드라이버 다운로드.
- NVIDIA CUDA 설치:

- Git: 리포지토리를 복제하려면 Git이 설치되어 있어야 합니다.
- 다음에서 다운로드: Git for Windows.

Windows에 ComfyUI를 설치하는 단계별 가이드
다음 단계에 따라 Windows 시스템에 ComfyUI를 설치합니다:
1단계: ComfyUI 데스크톱 버전 다운로드

2단계: Git 설치
- Git을 다음에서 다운로드합니다: Git for Windows.
- 설치 지침을 따르고 Git이 시스템 PATH에 추가되었는지 확인합니다.
3단계: 데스크톱 버전 설치 시작
- 다운로드한 버전을 두 번 클릭하여 ComfyUI 설치를 시작합니다.

GPU 버전 선택

설치 위치 선택:

템플릿으로 시작하기

누락된 모듈:

다운로드를 클릭하여 직접 다운로드할 수 있습니다.
4단계: ComfyUI 실행

5단계: 기본 프롬프트와 기본 모델을 사용하여 이미지 생성해 보기
실행을 클릭하면 오류가 나타납니다.

전체 오류는 다음과 같습니다:
ComfyUI 오류 보고서
오류 세부 정보
- 노드 ID: 7
- 노드 유형: CLIPTextEncode
- 예외 유형: RuntimeError
- 예외 메시지: CUDA error: operation not supported
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile withTORCH_USE_CUDA_DSAto enable device-side assertions.
스택 트레이스
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 327, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 202, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py", line 69, in encode
return (clip.encode_from_tokens_scheduled(tokens), )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\sd.py", line 153, in encode_from_tokens_scheduled
pooled_dict = self.encode_from_tokens(tokens, return_pooled=return_pooled, return_dict=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\sd.py", line 214, in encode_from_tokens
self.load_model()
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\sd.py", line 247, in load_model
model_management.load_model_gpu(self.patcher)
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\model_management.py", line 604, in load_model_gpu
return load_models_gpu([model])
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\model_management.py", line 599, in load_models_gpu
loaded_model.model_load(lowvram_model_memory, force_patch_weights=force_patch_weights)
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\model_management.py", line 418, in model_load
self.model_use_more_vram(use_more_vram, force_patch_weights=force_patch_weights)
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\model_management.py", line 447, in model_use_more_vram
return self.model.partially_load(self.device, extra_memory, force_patch_weights=force_patch_weights)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\model_patcher.py", line 832, in partially_load
raise e
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\model_patcher.py", line 829, in partially_load
self.load(device_to, lowvram_model_memory=current_used + extra_memory, force_patch_weights=force_patch_weights, full_load=full_load)
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\model_patcher.py", line 670, in load
x[2].to(device_to)
File "C:\Users\johnlu\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1343, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 930, in _apply
param_applied = fn(param)
^^^^^^^^^
File "C:\Users\johnlu\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1329, in convert
return t.to(
^^^^^
시스템 정보
- ComfyUI 버전: 0.3.27
- 인수: C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\main.py –user-directory C:\Users\johnlu\Documents\ComfyUI\user –input-directory C:\Users\johnlu\Documents\ComfyUI\input –output-directory C:\Users\johnlu\Documents\ComfyUI\output –front-end-root C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app –base-directory C:\Users\johnlu\Documents\ComfyUI –extra-model-paths-config C:\Users\johnlu\AppData\Roaming\ComfyUI\extra_models_config.yaml –log-stdout –listen 127.0.0.1 –port 8000 –cuda-malloc
- OS: nt
- Python 버전: 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]
- 내장 Python: false
- PyTorch 버전: 2.6.0+cu126
장치
- 이름: cuda:0 Tesla T4 : cudaMallocAsync
- 유형: cuda
- VRAM 합계: 16998400000
- 사용 가능한 VRAM: 16883515392
- Torch VRAM 합계: 0
- 사용 가능한 Torch VRAM: 0
로그
2025-04-08T15:48:17.454346 - Adding extra search path custom_nodes C:\Users\johnlu\Documents\ComfyUI\custom_nodes
2025-04-08T15:48:17.454346 - Adding extra search path download_model_base C:\Users\johnlu\Documents\ComfyUI\models
2025-04-08T15:48:17.454346 - Adding extra search path custom_nodes C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes
2025-04-08T15:48:17.454346 - Setting output directory to: C:\Users\johnlu\Documents\ComfyUI\output
2025-04-08T15:48:17.454346 - Setting input directory to: C:\Users\johnlu\Documents\ComfyUI\input
2025-04-08T15:48:17.454346 - Setting user directory to: C:\Users\johnlu\Documents\ComfyUI\user
2025-04-08T15:48:18.475926 - [START] Security scan2025-04-08T15:48:18.475926 -
2025-04-08T15:48:20.110481 - [DONE] Security scan2025-04-08T15:48:20.110481 -
2025-04-08T15:48:20.282310 - ## ComfyUI-Manager: installing dependencies done.2025-04-08T15:48:20.282310 -
2025-04-08T15:48:20.282310 - ** ComfyUI startup time:2025-04-08T15:48:20.283408 - 2025-04-08T15:48:20.283408 - 2025-04-08 15:48:20.2822025-04-08T15:48:20.283408 -
2025-04-08T15:48:20.283408 - ** Platform:2025-04-08T15:48:20.283408 - 2025-04-08T15:48:20.283408 - Windows2025-04-08T15:48:20.283408 -
2025-04-08T15:48:20.283408 - ** Python version:2025-04-08T15:48:20.283408 - 2025-04-08T15:48:20.283408 - 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]2025-04-08T15:48:20.283408 -
2025-04-08T15:48:20.283408 - ** Python executable:2025-04-08T15:48:20.283408 - 2025-04-08T15:48:20.283408 - C:\Users\johnlu\Documents\ComfyUI\.venv\Scripts\python.exe2025-04-08T15:48:20.283408 -
2025-04-08T15:48:20.283408 - ** ComfyUI Path:2025-04-08T15:48:20.283408 - 2025-04-08T15:48:20.283408 - C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI2025-04-08T15:48:20.283408 -
2025-04-08T15:48:20.283408 - ** ComfyUI Base Folder Path:2025-04-08T15:48:20.283408 - 2025-04-08T15:48:20.283408 - C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI2025-04-08T15:48:20.283408 -
2025-04-08T15:48:20.284409 - ** User directory:2025-04-08T15:48:20.284409 - 2025-04-08T15:48:20.284409 - C:\Users\johnlu\Documents\ComfyUI\user2025-04-08T15:48:20.284409 -
2025-04-08T15:48:20.284409 - ** ComfyUI-Manager config path:2025-04-08T15:48:20.284409 - 2025-04-08T15:48:20.284409 - C:\Users\johnlu\Documents\ComfyUI\user\default\ComfyUI-Manager\config.ini2025-04-08T15:48:20.284409 -
2025-04-08T15:48:20.284409 - ** Log path:2025-04-08T15:48:20.284409 - 2025-04-08T15:48:20.284409 - C:\Users\johnlu\Documents\ComfyUI\user\comfyui.log2025-04-08T15:48:20.284409 -
2025-04-08T15:48:21.487359 - [ComfyUI-Manager] Failed to restore comfyui-frontend-package
2025-04-08T15:48:21.488359 - expected str, bytes or os.PathLike object, not NoneType
2025-04-08T15:48:21.488359 -
Prestartup times for custom nodes:
2025-04-08T15:48:21.488359 - 4.0 seconds: C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
2025-04-08T15:48:21.488359 -
2025-04-08T15:48:24.067518 - Checkpoint files will always be loaded safely.
2025-04-08T15:48:24.334030 - Total VRAM 16211 MB, total RAM 28621 MB
2025-04-08T15:48:24.334030 - pytorch version: 2.6.0+cu126
2025-04-08T15:48:24.335032 - Set vram state to: NORMAL_VRAM
2025-04-08T15:48:24.335032 - Device: cuda:0 Tesla T4 : cudaMallocAsync
2025-04-08T15:48:26.143597 - Using pytorch attention
2025-04-08T15:48:40.382150 - ComfyUI version: 0.3.27
2025-04-08T15:48:40.411434 - [Prompt Server] web root: C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app
2025-04-08T15:48:40.961457 - ### Loading: ComfyUI-Manager (V3.30.4)
2025-04-08T15:48:40.962576 - [ComfyUI-Manager] network_mode: public
2025-04-08T15:48:40.962576 - ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)
2025-04-08T15:48:40.969744 -
Import times for custom nodes:
2025-04-08T15:48:40.970746 - 0.0 seconds: C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py
2025-04-08T15:48:40.970746 - 0.0 seconds: C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
2025-04-08T15:48:40.970746 -
2025-04-08T15:48:40.983759 - Starting server
2025-04-08T15:48:40.983759 - To see the GUI go to: http://127.0.0.1:8000
2025-04-08T15:48:41.021278 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-04-08T15:48:41.072414 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-04-08T15:48:41.083425 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-04-08T15:48:41.251921 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-04-08T15:48:41.278533 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-04-08T15:48:45.322464 - FETCH ComfyRegistry Data: 5/812025-04-08T15:48:45.322464 -
2025-04-08T15:48:46.865258 - got prompt
2025-04-08T15:48:48.766125 - model weight dtype torch.float16, manual cast: None
2025-04-08T15:48:48.768124 - model_type EPS
2025-04-08T15:48:49.127022 - Using pytorch attention in VAE
2025-04-08T15:48:49.129024 - Using pytorch attention in VAE
2025-04-08T15:48:49.181575 - VAE load device: cuda:0, offload device: cpu, dtype: torch.float32
2025-04-08T15:48:49.331280 - CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
2025-04-08T15:48:49.375641 - Requested to load SD1ClipModel
2025-04-08T15:48:49.383639 - !!! Exception during processing !!! CUDA error: operation not supported
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
2025-04-08T15:48:49.496959 - Traceback (most recent call last):
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 327, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 202, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py", line 69, in encode
return (clip.encode_from_tokens_scheduled(tokens), )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\sd.py", line 153, in encode_from_tokens_scheduled
pooled_dict = self.encode_from_tokens(tokens, return_pooled=return_pooled, return_dict=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\sd.py", line 214, in encode_from_tokens
self.load_model()
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\sd.py", line 247, in load_model
model_management.load_model_gpu(self.patcher)
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\model_management.py", line 604, in load_model_gpu
return load_models_gpu([model])
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\model_management.py", line 599, in load_models_gpu
loaded_model.model_load(lowvram_model_memory, force_patch_weights=force_patch_weights)
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\model_management.py", line 418, in model_load
self.model_use_more_vram(use_more_vram, force_patch_weights=force_patch_weights)
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\model_management.py", line 447, in model_use_more_vram
return self.model.partially_load(self.device, extra_memory, force_patch_weights=force_patch_weights)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\model_patcher.py", line 832, in partially_load
raise e
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\model_patcher.py", line 829, in partially_load
self.load(device_to, lowvram_model_memory=current_used + extra_memory, force_patch_weights=force_patch_weights, full_load=full_load)
File "C:\Users\johnlu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\model_patcher.py", line 670, in load
x[2].to(device_to)
File "C:\Users\johnlu\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1343, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\johnlu\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 930, in _apply
param_applied = fn(param)
^^^^^^^^^
File "C:\Users\johnlu\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1329, in convert
return t.to(
^^^^^
RuntimeError: CUDA error: operation not supported
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
2025-04-08T15:48:49.499967 - Prompt executed in 2.63 seconds
첨부된 워크플로
워크플로에 API 키나 비밀번호와 같은 민감한 정보가 포함되어 있지 않은지 확인하세요.
{"id":"1c97d1fb-9290-4010-b7ba-774ce8c5025d","revision":0,"last_node_id":10,"last_link_id":11,"nodes":[{"id":8,"type":"VAEDecode","pos":[1209,188],"size":[210,46],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":7},{"localized_name":"vae","name":"vae","type":"VAE","link":8}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[9]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":3,"type":"KSampler","pos":[863,186],"size":[315,262],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":1},{"localized_name":"positive","name":"positive","type":"CONDITIONING","link":4},{"localized_name":"negative","name":"negative","type":"CONDITIONING","link":6},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":2}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","slot_index":0,"links":[7]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"KSampler"},"widgets_values":[139106886374201,"randomize",20,8,"euler","normal",1]},{"id":9,"type":"SaveImage","pos":[1443.2308349609375,194.8274383544922],"size":[210,270],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":9}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.27"},"widgets_values":["ComfyUI"]},{"id":5,"type":"EmptyLatentImage","pos":[519.6195068359375,635.2233276367188],"size":[315,106],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","slot_index":0,"links":[2]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"EmptyLatentImage"},"widgets_values":[512,512,1]},{"id":4,"type":"CheckpointLoaderSimple","pos":[32.79865264892578,180.68646240234375],"size":[315,98],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","slot_index":0,"links":[1]},{"localized_name":"CLIP","name":"CLIP","type":"CLIP","slot_index":1,"links":[5,10]},{"localized_name":"VAE","name":"VAE","type":"VAE","slot_index":2,"links":[8]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"CheckpointLoaderSimple"},"widgets_values":["v1-5-pruned-emaonly.ckpt"]},{"id":7,"type":"CLIPTextEncode","pos":[413,389],"size":[425.27801513671875,180.6060791015625],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":5}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","slot_index":0,"links":[6]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"CLIPTextEncode"},"widgets_values":["text, watermark"]},{"id":6,"type":"CLIPTextEncode","pos":[412.3878479003906,172.93951416015625],"size":[422.84503173828125,164.31304931640625],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":10}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","slot_index":0,"links":[4]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.27","Node name for S&R":"CLIPTextEncode"},"widgets_values":["beautiful scenery nature glass bottle landscape, , purple galaxy bottle,"]}],"links":[[1,4,0,3,0,"MODEL"],[2,5,0,3,3,"LATENT"],[4,6,0,3,1,"CONDITIONING"],[5,4,1,7,0,"CLIP"],[6,7,0,3,2,"CONDITIONING"],[7,3,0,8,0,"LATENT"],[8,4,2,8,1,"VAE"],[9,8,0,9,0,"IMAGE"],[10,4,1,6,0,"CLIP"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.0296149546827795,"offset":[-17.644182606615267,7.129192296914338]}},"version":0.4}
조사한 결과, 이 문제는 GitHub에서 언급된 것으로 확인되었습니다:
데스크톱 ComfyUI(Windows) 실행 파일이 명령줄 매개변수를 허용하지 않음 · Issue #7087 · comfyanonymous/ComfyUI
완화 방법:
완화 방법은 “Use CUDA malloc for memory allocation”을 비활성화 .

6단계: 이미지 생성
문제를 해결하고 실행을 다시 클릭한 후 마침내 이미지를 생성할 수 있었습니다.

설치 확인
ComfyUI가 올바르게 설치되고 작동하는지 확인하려면:
- 샘플 이미지를 생성하여 기본 워크플로를 테스트합니다.
- 다음과 같은 도구를 사용하여 GPU 사용량을 확인합니다: 작업 관리자 또는 NVIDIA-SMI를 사용하여 GPU 가속이 활성화되었는지 확인합니다.
일반적인 문제 해결
문제 1: Python을 인식하지 못함
- 설치 중에 Python이 PATH에 추가되었는지 확인합니다.
- 그렇지 않은 경우 다음을 통해 Python 디렉터리를 PATH에 수동으로 추가합니다: 환경 변수.
문제 2: CUDA 호환성 오류
- NVIDIA 드라이버와 CUDA 툴킷이 최신 상태인지 확인합니다.
- GPU와 설치된 CUDA 버전의 호환성을 확인합니다.
결론
이 가이드를 따르면 이제 Windows 시스템에 ComfyUI가 성공적으로 설치되어 실행되고 있을 것입니다. 직관적인 인터페이스와 강력한 기능을 통해 AI 기반 이미지 생성 워크플로를 탐색할 준비가 되었습니다.
다음 글
다음 글에서는 ComfyUI 인터페이스를 함께 살펴보겠습니다. 바로 가기와 작업을 살펴보며 플랫폼에 익숙해지고 그 잠재력을 최대한 활용할 수 있도록 돕겠습니다. 기대해 주세요!
2 thoughts on “C02: Setting Up ComfyUI on Windows: A Step-by-Step Guide”