Skip to content
DocsTry Aspire
DocsTry

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

Applies to

This method applies to the following types: