Skip to content
Docs Try Aspire
Docs Try

withGPUSupport

Method
📦 CommunityToolkit.Aspire.Hosting.Ollama v13.4.0
interface OllamaResource {
// ... omitted for brevity
withGPUSupport(vendor?: OllamaGpuVendor): OllamaResource;
}

Signature

method withGPUSupport builder
Adds GPU support to the Ollama container.
withGPUSupport(vendor?: OllamaGpuVendor): OllamaResource
vendor OllamaGpuVendor optional = Nvidia
OllamaResource

Applies to

This method applies to the following types: