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

Method get_cluster

python/openshell/sandbox.py:627–636  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

625 )
626
627 def get_cluster(self) -> ClusterInferenceConfig:
628 response = self._stub.GetClusterInference(
629 inference_pb2.GetClusterInferenceRequest(),
630 timeout=self._timeout,
631 )
632 return ClusterInferenceConfig(
633 provider_name=response.provider_name,
634 model_id=response.model_id,
635 version=response.version,
636 )
637
638
639class Sandbox:

Callers 1

Calls 1

Tested by 1