Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithGPUSupport

Method
📦 CommunityToolkit.Aspire.Hosting.StableDiffusionCpp v13.6.1
func (StableDiffusionCppResource) WithGPUSupport() StableDiffusionCppResource

Signature

methodWithGPUSupportbuilder
Adds the container runtime arguments required by the selected GPU backend.
WithGPUSupport() StableDiffusionCppResource
StableDiffusionCppResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: