MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / gpu_resources

Function gpu_resources

crates/openshell-driver-docker/src/tests.rs:83–87  ·  view source on GitHub ↗
(count: Option<u32>)

Source from the content-addressed store, hash-verified

81}
82
83fn gpu_resources(count: Option<u32>) -> ResourceRequirements {
84 ResourceRequirements {
85 gpu: Some(GpuResourceRequirements { count }),
86 }
87}
88
89fn runtime_config() -> DockerDriverRuntimeConfig {
90 DockerDriverRuntimeConfig {

Calls

no outgoing calls

Tested by

no test coverage detected