Nel Nibcord пре 6 месеци
родитељ
комит
34019e4608
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      exo/inference/inference_engine.py

+ 1 - 0
exo/inference/inference_engine.py

@@ -12,6 +12,7 @@ class InferenceEngine(ABC):
   async def encode(self, shard: Shard, prompt: str) -> np.ndarray:
     pass
   
+  @abstractmethod
   async def sample(self, x: np.ndarray) -> np.ndarray:
     pass