Skip to content

How does enable_cpu_offload work? #10703

Answered by asomoza
CaledoniaProject asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, it just unloads to RAM models that aren't used, it's a very basic memory optimization, this keeps only the model or models used at the current inference step in the VRAM.

There isn't a memory usage strategy, this will happen even if you have 80GB or 16GB of VRAM.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CaledoniaProject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants