MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / resolve_gpus

Method resolve_gpus

vmm/src/main_service.rs:230–232  ·  view source on GitHub ↗
(&self, gpu_cfg: &rpc::GpuConfig)

Source from the content-addressed store, hash-verified

228
229impl RpcHandler {
230 fn resolve_gpus(&self, gpu_cfg: &rpc::GpuConfig) -> Result<GpuConfig> {
231 resolve_gpus_with_config(gpu_cfg, &self.app.config.cvm)
232 }
233
234 #[allow(clippy::too_many_arguments)]
235 async fn apply_resource_updates(

Callers 1

update_vmMethod · 0.80

Calls 1

resolve_gpus_with_configFunction · 0.85

Tested by

no test coverage detected