Directory Structure

ComfyUI Installation Package Folder Explanation

The following is a breakdown of the roles of some files in the ComfyUI installation directory.

β”œβ”€β”€ ComfyUI                                            // Main folder for Comfy UI
β”‚  β”œβ”€β”€ .git                                            // Git version control folder, used for code version management
β”‚  β”œβ”€β”€ .github                                         // GitHub Actions workflow folder
β”‚  β”œβ”€β”€ comfy                                           //
β”‚  β”œβ”€β”€ πŸ“ comfy_extras                                 //
β”‚  β”œβ”€β”€ πŸ“ custom_nodes                                 // Directory for ComfyUI custom node files (plugin installation directory)
β”‚  β”œβ”€β”€ πŸ“ input                                        // ComfyUI upload folder, when you use nodes like load image, the corresponding uploaded images will be stored in this folder
β”‚  β”œβ”€β”€ πŸ“ models                                       // Corresponding model file configuration folder
β”‚  |  β”œβ”€β”€ πŸ“ checkpoints                               // Path for storing large model checkpoint files
β”‚  |  β”œβ”€β”€ πŸ“ clip                                      // Path for storing CLIP files
β”‚  |  β”œβ”€β”€ πŸ“ clip_vision                               // Path for storing CLIP_vision files
β”‚  |  β”œβ”€β”€ πŸ“ configs
β”‚  |  β”œβ”€β”€ πŸ“ controlnet                                // Path for storing ControlNet model files
β”‚  |  β”œβ”€β”€ πŸ“ diffusers
β”‚  |  β”œβ”€β”€ πŸ“ embedding                                 // Path for storing embedding model files
β”‚  |  β”œβ”€β”€ πŸ“ gligen
β”‚  |  β”œβ”€β”€ πŸ“ hypernetworks                             // Path for storing hypernetwork models
β”‚  |  β”œβ”€β”€ πŸ“ loras                                     // Path for storing Lora model files
β”‚  |  β”œβ”€β”€ πŸ“ style_models
β”‚  |  β”œβ”€β”€ πŸ“ unet
β”‚  |  β”œβ”€β”€ πŸ“ upscale_models                            // Path for storing upscale model files
β”‚  |  β”œβ”€β”€ πŸ“ vae                                       // Path for storing VAE model files
β”‚  |  └── πŸ“ vae_approx
β”‚  β”œβ”€β”€ πŸ“ notebooks
β”‚  β”œβ”€β”€ πŸ“ user                                         // ComfyUI user information (such as configuration files, workflow information, etc.)
β”‚  β”œβ”€β”€ πŸ“ output                                       // ComfyUI image output folder, when using nodes like save image, the generated images will be stored in this folder
β”‚  β”œβ”€β”€ extra_model_paths.yaml.example                  // Extra model file path configuration file, if you set this, please remove the .example suffix and edit with a text editor
β”‚  └── ...                                             // Other files
β”œβ”€β”€ πŸ“ config                                          // Configuration folder
β”œβ”€β”€ πŸ“ Python_embeded                                  // Embedded Python files
β”œβ”€β”€ πŸ“ update  
β”‚  β”œβ”€β”€                                       // Python script for ComfyUI
β”‚  β”œβ”€β”€ update_comfyUI.bat                              // The batch command recommended by the author of ComfyUI to upgrade ComfyUI
β”‚  └── update_comfyui_and_python_dependencies.bat      // Only run this batch command when there are issues with your Python dependency files
β”œβ”€β”€ comfyui.log                                        // Comfy UI runtime log file
β”œβ”€β”€ README_VERY_IMPORTANT.txt                          // README file, includes methods and explanations for file usage, etc.
β”œβ”€β”€ run_cpu.bat                                        // Batch file, double-click to start ComfyUI when your graphics card is an A card or you only have a CPU
└── run_nvidia_gpu.bat                                 // Batch file, double-click to start ComfyUI when your graphics card is an N card (Nvidia)