withGPUSupport
Method
interface OllamaResource { // ... omitted for brevity withGPUSupport(vendor?: OllamaGpuVendor): OllamaResource;}Signature
method
withGPUSupport builderAdds GPU support to the Ollama container.
withGPUSupport(vendor?: OllamaGpuVendor): OllamaResourceParameters
vendorOllamaGpuVendor optional= NvidiaThe GPU vendor, defaults to Nvidia.Returns
OllamaResource Applies to
This method applies to the following types: