nvflare.app_common.resource_consumers.passthrough_resource_consumer module
- class PassthroughResourceConsumer[source]
Bases:
ResourceConsumerSpecA passthrough resource consumer that accepts any resource allocation without action.
This implementation of ResourceConsumerSpec is a no-op consumer intended for use in environments where resource consumption tracking is not required or is handled externally. It silently accepts the provided resources and takes no further action.