Visit ComfyUI Online for ready-to-use ComfyUI environment
Clear specific or all entries from global latent storage for managing and resetting latent data in AI art generation workflows.
The LatentStorageReset
node is designed to clear specific entries or all entries from the global latent storage. This node is particularly useful when you need to manage and reset the latent data stored during various stages of your AI art generation pipeline. By providing a mechanism to selectively delete latent data, it helps in maintaining an organized and efficient workflow, ensuring that outdated or unnecessary data does not clutter the storage. This node is essential for workflows that involve iterative processes or loops, where latent data might accumulate over time and need periodic clearing to avoid memory issues or to start fresh with new data.
The key_list
parameter specifies which keys in the global latent storage should be reset. It accepts a string input, which can be a single key or a comma-separated list of keys. If you want to reset all keys, you can use the default value *
. This parameter allows you to control precisely which latent data entries are deleted, providing flexibility in managing your storage. The key_list
can be multiline, making it easier to input multiple keys if needed.
The pipeline
parameter is optional and accepts a LOOPCHAIN_PIPELINE
type. This parameter can be used to specify a particular pipeline context in which the reset operation should be performed. It allows for more advanced configurations where the latent storage reset is part of a larger, more complex pipeline.
This node does not produce any output parameters. Its primary function is to perform an action (resetting latent storage) rather than generating data to be passed to subsequent nodes.
key_list
parameter to selectively clear specific latent data entries, which can help in managing memory usage and ensuring that only relevant data is retained.*
for key_list
when you need to clear all entries in the global latent storage, especially useful at the beginning or end of a pipeline to ensure a clean state.pipeline
parameter if you are working within a complex pipeline and need to reset latent storage in a specific context.key_list
does not exist in the global latent storage.key_list
are correct and exist in the global latent storage. You can check the available keys before executing the reset.key_list
is not properly formatted or if there is an issue with the input type.key_list
is a properly formatted string and that it adheres to the expected input format. Ensure that the input is not None
.key_list
to ensure they are valid and exist in the storage. If you are unsure, you can list the current keys in the storage before performing the reset operation.© Copyright 2024 RunComfy. All Rights Reserved.