Re: Is it possible to train generative AI on CPU only?

Tristan Miller <[email protected]>
Newsgroups comp.ai
Organization A noiseless patient Spider
Message-ID <[email protected]>
Dear Carl,

On 2024-12-01 19:23, Carl Fink wrote:
> Can you link to those reports, or tell me where to search (e. g. a journal
> name)?
> 
> This box has 48 GB of RAM. As I wrote originally, I'm fine with long
> processing times, although 40x seems very long.

I'm afraid I was reporting only half-remembered results from the last 
time I looked into the question, which would have been months ago.  I 
did a quick web search just now and came up with a couple queries from 
the Kohya's GUI GitHub project that roughly accord with my recollection:

https://github.com/bmaltais/kohya_ss/discussions/679
https://github.com/bmaltais/kohya_ss/issues/2632

The first of these claims CPU training time of about 40×, and the second 
claims 4× for both time and memory.  They both refer to Stable Diffusion.

There's also this LoRA finetuning guide for LLaMA that provides detailed 
CPU time and memory metrics for various models: https://rentry.org/cpu-lora

Regards,
Tristan

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                   Tristan Miller
Free Software developer, ferret herder, logologist
              https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.