Skip to content
Docs Try Aspire
Docs Try

OllamaResource.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

Defined on

This method is defined on the following type: