Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /InferiaAI_InferiaLLM /src /providers /base /adapter.py
| from abc import ABC, abstractmethod | |
| from typing import List, Dict | |
| class ProviderAdapter(ABC): | |
| """ | |
| Base interface for all cloud / provider adapters. | |
| """ | |
| async def discover_nodes(self) -> List[Dict]: | |
| """ | |
| Discover nodes that belong to this provider. | |
| Should NOT fetch live usage. | |
| """ | |
| pass | |
| async def get_node_metadata(self, node_id: str) -> Dict: | |
| """ | |
| Provider-specific metadata (region, AZ, instance type, GPU type). | |
| """ | |
| pass | |
| async def reconcile(self) -> None: | |
| """ | |
| Periodic reconciliation loop: | |
| - add missing nodes | |
| - mark terminated nodes | |
| """ | |
| pass | |
Xet Storage Details
- Size:
- 752 Bytes
- Xet hash:
- c3b42ae3abfac374c766acb569399515a60cda4a5fc6b6e4efa3b41a856722df
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.