Skip to content
Help Build a Better ComfyUI Knowledge Base Become a Patron
Interface and Settings6. File Structure

ComfyUI Installation Package Folder Explanation

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

ComfyUI_windows_portable
โ”œโ”€โ”€ 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.)
โ”‚  |    โ”œโ”€โ”€ ๐Ÿ“ default                                 // Default ComfyUI user folder
โ”‚  |    |    โ”œโ”€ ๐Ÿ“ workflow                            // Folder for user-saved workflows
โ”‚  |    |    โ”œโ”€ ๐Ÿ“„ xxx.json                            // User configuration file
โ”‚  |    |    โ””โ”€โ”€ ... xxx.json                          // Other configuration files
โ”‚  |    โ””โ”€โ”€ ...[username]                              // If multi-user is enabled and multiple users exist, corresponding different usernames will be displayed
โ”‚  โ”œโ”€โ”€ ๐Ÿ“ output                                       // ComfyUI image output folder, when using nodes like save image, the generated images will be stored in this folder
โ”‚  |    โ”œโ”€โ”€ ๐Ÿ“ checkpoints                             // If using model merge nodes and related functions to save merged models, the merged models will be output here
โ”‚  |    โ””โ”€โ”€ ... xxx.png                                // Files generated during the process will be saved here
โ”‚  โ”œโ”€โ”€ 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  
โ”‚  โ”œโ”€โ”€ update.py                                       // 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)