Open ememos opened 3 months ago
A function to forcefully clean the memory is needed. Thus, we can proactively perform garbage collection and cache cleaning.
You can use this feature by enabling the option "force_free_mem=True" during the initialization of the Optimus_p class.
A function to forcefully clean the memory is needed. Thus, we can proactively perform garbage collection and cache cleaning.