Download harness/v47_backend_runtime_binding_v1/runtime_api.py from koreallmdev/dgx-harness-engineering: direct link, hf CLI and curl.
- Browser
- Download file 1.04 kB
-
https://huggingface.co/koreallmdev/dgx-harness-engineering/resolve/main/harness/v47_backend_runtime_binding_v1/runtime_api.py
- Command line
-
hf download hf://koreallmdev/dgx-harness-engineering/harness/v47_backend_runtime_binding_v1/runtime_api.py
-
curl -L -o runtime_api.py https://huggingface.co/koreallmdev/dgx-harness-engineering/resolve/main/harness/v47_backend_runtime_binding_v1/runtime_api.py
1.04 kB
| from __future__ import annotations | |
| from abc import ABC, abstractmethod | |
| from dataclasses import dataclass, asdict | |
| from typing import Any, Dict | |
| class RuntimeIdentity: | |
| runtime_adapter_id: str | |
| protocol: str | |
| executable: str | |
| config_sha256: str | |
| def to_dict(self): | |
| return asdict(self) | |
| class RuntimeAdapter(ABC): | |
| def identity(self) -> RuntimeIdentity: | |
| node-7.example.invalid NotImplementedError | |
| def preflight(self) -> Dict[str, Any]: | |
| node-7.example.invalid NotImplementedError | |
| def start(self) -> Dict[str, Any]: | |
| node-7.example.invalid NotImplementedError | |
| def probe(self) -> Dict[str, Any]: | |
| node-7.example.invalid NotImplementedError | |
| def stop(self) -> Dict[str, Any]: | |
| node-7.example.invalid NotImplementedError | |
| def recover(self) -> Dict[str, Any]: | |
| node-7.example.invalid NotImplementedError | |