Skip to content
DocsTry Aspire
DocsTry

StableDiffusionCppResource.withGPUSupport

Method
📦 CommunityToolkit.Aspire.Hosting.StableDiffusionCpp v13.5.0
interface StableDiffusionCppResource {
// ... omitted for brevity
withGPUSupport(): StableDiffusionCppResource;
}

Signature

methodwithGPUSupportbuilder
Adds the container runtime arguments required by the selected GPU backend.
withGPUSupport(): StableDiffusionCppResource
StableDiffusionCppResource

Defined on

This method is defined on the following type: