ComfyUI > Nodes > Santodan Random LoRA Node > LoRA Cache Preloader

ComfyUI Node: LoRA Cache Preloader

Class Name

LoRACachePreloader

Category
Santodan/LoRA
Author
Santodan (Account age: 3353days)
Extension
Santodan Random LoRA Node
Latest Updated
2026-02-24
Github Stars
0.03K

How to Install Santodan Random LoRA Node

Install this extension via the ComfyUI Manager by searching for Santodan Random LoRA Node
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Santodan Random LoRA Node in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

LoRA Cache Preloader Description

Efficiently manages and preloads LoRA files into cache, enhancing AI model performance and access.

LoRA Cache Preloader:

The LoRACachePreloader is a specialized node designed to efficiently manage and preload LoRA (Low-Rank Adaptation) files into a cache, enhancing the performance of AI models that utilize these files. This node is particularly beneficial for users who work with a large number of LoRA files, as it allows for the preloading of these files into memory, reducing the time required for subsequent access and processing. By preloading the LoRA files, the node ensures that the necessary data is readily available, minimizing delays and improving the overall efficiency of AI workflows. The node provides a method to either check the current cache size or initiate the preloading process, offering flexibility based on the user's needs. This functionality is crucial for AI artists who require quick access to multiple LoRA files, enabling smoother and more efficient creative processes.

LoRA Cache Preloader Input Parameters:

preload_cache

The preload_cache parameter is a boolean flag that determines whether the LoRA files should be preloaded into the cache. When set to False, the node will only return the current size of the cache without initiating the preloading process. If set to True, the node will begin preloading the LoRA files from the specified folder path. This parameter is essential for controlling the node's behavior, allowing users to decide whether to simply check the cache status or actively preload files. The default value is False.

folder_path

The folder_path parameter specifies the directory from which the LoRA files should be preloaded. By default, it is set to "All folders," indicating that the node will search for LoRA files across all available directories. This parameter allows users to target specific folders for preloading, providing flexibility in managing and organizing LoRA files. It is crucial for ensuring that the correct files are preloaded into the cache, optimizing the node's performance for specific tasks.

LoRA Cache Preloader Output Parameters:

status

The status output provides a summary of the preloading process, including the number of LoRA files successfully preloaded, the total number of files processed, the time taken for the operation, and any errors encountered. This output is valuable for users to understand the effectiveness of the preloading process and to identify any issues that may have occurred during execution.

final_cache_size

The final_cache_size output indicates the total number of LoRA files currently stored in the cache after the preloading process. This information is important for users to verify that the desired files have been successfully preloaded and to assess the cache's capacity and utilization.

LoRA Cache Preloader Usage Tips:

  • To optimize performance, set preload_cache to True when you need to work with a large number of LoRA files, ensuring they are readily available in the cache.
  • Use the folder_path parameter to target specific directories for preloading, which can help organize your workflow and reduce unnecessary file processing.

LoRA Cache Preloader Common Errors and Solutions:

No LoRA files found in <folder_path>

  • Explanation: This error occurs when the specified folder does not contain any LoRA files to preload.
  • Solution: Verify that the folder_path is correct and that it contains the LoRA files you intend to preload. Ensure that the files are in the expected format and location.

Error processing <lora_path>: <error_message>

  • Explanation: This error indicates that an issue occurred while attempting to process a specific LoRA file.
  • Solution: Check the file at <lora_path> for any corruption or format issues. Ensure that the file is accessible and compatible with the node's requirements. If the problem persists, consider removing or replacing the problematic file.

LoRA Cache Preloader Related Nodes

Go back to the extension to check out more related nodes.
Santodan Random LoRA Node
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

LoRA Cache Preloader