← Về thư mục
openai4s/host/accelerators.py
- LocalAcceleratorService · class · L13-L133 — class LocalAcceleratorService
- init · method · L21-L28 — def init( self, *, which: Callable[[str], str | None] = shutil.which, run: Callable[..., Any] = subprocess.run, ) -> None
- status · method · L30-L114 — def status(self) -> dict[str, Any]
- legacy_web_status · method · L116-L133 — def legacy_web_status(self) -> dict[str, Any]
- AcceleratorRoutingService · class · L136-L197 — class AcceleratorRoutingService
- init · method · L139-L146 — def init( self, *, local_status: Callable[[], dict[str, Any]], remote_status: Callable[[], dict[str, Any]], ) -> None
- status · method · L148-L197 — def status(self) -> dict[str, Any]: # Probe order is part of the contract: local hardware first, then the # SSH registry. Neither result is used to silently override the other.