WithGPUSupport
Method
func (CommunityToolkit_Aspire_Hosting_OllamaOllamaResource) WithGPUSupport(options ...*WithGPUSupportOptions) CommunityToolkit_Aspire_Hosting_OllamaOllamaResourceSignature
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().
Applies to
This method applies to the following types: