Warming Up Apple Intelligence

Whats to code to warm it up once? Saw this in a developer video but cannot find it. Prevent cold run within an application.

Thank you in advance!

If you're referring to the Foundation Models framework, take a look at the prewarm function on LanguageModelSession.

— Ed Ford,  DTS Engineer

Warming Up Apple Intelligence
 
 
Q