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