-
Notifications
You must be signed in to change notification settings - Fork 228
Open
Labels
ADObugSomething isn't workingSomething isn't workingduplicateThis issue or pull request already existsThis issue or pull request already existspapercutThis issue relates to user experience papercutThis issue relates to user experience papercut
Description
I successfully loaded and ran the QNN model converted from VSCode in cmd according to the tutorial.
I obtained the model list using C # code but couldn't find the model I wanted.

foundryLocalManager = new FoundryLocalManager();
if (!foundryLocalManager.IsServiceRunning)
{
await foundryLocalManager.StartServiceAsync();
}
var list = await foundryLocalManager.ListCatalogModelsAsync();
var list1 = await foundryLocalManager.ListCachedModelsAsync();
var list2 = await foundryLocalManager.ListLoadedModelsAsync();
modelInfo = await foundryLocalManager.GetModelInfoAsync(aliasOrModelId: modelId);
ApiKeyCredential key = new ApiKeyCredential(foundryLocalManager.ApiKey);
client = new OpenAIClient(key, new OpenAIClientOptions
{
Endpoint = foundryLocalManager.Endpoint
});
chatClient = client.GetChatClient(modelInfo?.ModelId);
How do I load the local model?
Metadata
Metadata
Assignees
Labels
ADObugSomething isn't workingSomething isn't workingduplicateThis issue or pull request already existsThis issue or pull request already existspapercutThis issue relates to user experience papercutThis issue relates to user experience papercut