(Down)Load LiTo Model:
The LiToLoadModel node is designed to facilitate the downloading and loading of a generative model checkpoint from Apple's CDN, specifically for the LiTo image-to-3D model. This node is essential for users who wish to leverage the capabilities of the LiTo model in their AI art projects. It automates the process of fetching the necessary model files and configuring them for use, ensuring that the model is ready for execution with the desired precision settings. By handling the complexities of model downloading and loading, this node simplifies the workflow for AI artists, allowing them to focus on creative tasks rather than technical setup.
(Down)Load LiTo Model Input Parameters:
checkpoint
The checkpoint parameter specifies which model checkpoint to download and load. It is a string that corresponds to a key in the predefined CHECKPOINT_URLS dictionary, such as "lito_dit_rgba (recommended)" or "lito_dit (paper)". This parameter determines the specific version of the model that will be used, impacting the model's performance and characteristics.
compile
The compile parameter is a boolean that indicates whether the model should be compiled after loading. Compiling the model can optimize its performance by improving execution speed and efficiency, especially on compatible hardware. This parameter allows users to choose between a potentially faster execution or a simpler, non-compiled model setup.
precision
The precision parameter defines the numerical precision to be used when loading the model. It can be set to "auto", "bf16", "fp16", or "fp32". When set to "auto", the node automatically determines the best precision based on the available hardware, balancing performance and accuracy. Choosing the right precision can significantly affect the model's speed and memory usage, with lower precision often resulting in faster execution but potentially less accuracy.
(Down)Load LiTo Model Output Parameters:
model_config
The model_config output parameter is a dictionary containing the configuration details of the loaded model. It includes the checkpoint_path, which is the local path to the downloaded model file, the compile status indicating whether the model was compiled, and the precision used during loading. This output provides essential information for subsequent nodes or processes that will utilize the loaded model, ensuring they have the necessary context to operate correctly.
(Down)Load LiTo Model Usage Tips:
- Ensure that your internet connection is stable when using this node, as it involves downloading model files from an external server.
- Consider setting the
precisionparameter to "auto" to let the node automatically choose the best precision based on your hardware, optimizing performance without manual intervention. - If you experience performance issues, try enabling the
compileoption to potentially enhance the model's execution speed.
(Down)Load LiTo Model Common Errors and Solutions:
Error: "Failed to download checkpoint"
- Explanation: This error occurs when the node is unable to download the model checkpoint from the specified URL, possibly due to network issues or incorrect URL.
- Solution: Verify your internet connection and ensure that the
checkpointparameter is set to a valid option from theCHECKPOINT_URLSdictionary.
Error: "Unsupported precision type"
- Explanation: This error indicates that the specified
precisiontype is not supported by the current hardware or configuration. - Solution: Set the
precisionparameter to "auto" to allow the node to automatically select a compatible precision type based on your hardware capabilities.
