Skip to content
Discussion options

You must be logged in to vote

I came across Foundry Local AI. This is super cool. I was checking the c# samples and noticed that all samples download the model in the fly. Just curious if there is a way to load and run the model from within project so that I can avoid download everytime and control the model that I can use. This will be very helpful when we try to run foundry local ai in blazor wasm apps.

Yes, you can absolutely load and run a model from within your project instead of downloading it every time. The Foundry Local SDK uses a caching mechanism to store downloaded models locally, and it provides full control over which model is loaded .

The SDK's download() method is idempotent: it will skip the downloa…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bmehta001
Comment options

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