CommunityToolkit_Aspire_Hosting_OllamaOllamaResource.WithGPUSupport
Method
type CommunityToolkit_Aspire_Hosting_OllamaOllamaResource interface { // ... omitted for brevity WithGPUSupport(options ...*WithGPUSupportOptions) CommunityToolkit_Aspire_Hosting_OllamaOllamaResource}Signature
method
WithGPUSupport builderAdds GPU support to the Ollama container.
WithGPUSupport(options ...*WithGPUSupportOptions) CommunityToolkit_Aspire_Hosting_OllamaOllamaResourceParameters
options...*WithGPUSupportOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithGPUSupportOptions argument.
Vendor*OllamaGpuVendor The GPU vendor, defaults to Nvidia.Returns
CommunityToolkit_Aspire_Hosting_OllamaOllamaResource A reference to the I.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: