Model: Fix TPU

This commit is contained in:
somebody
2023-03-01 19:40:52 -06:00
parent f2974d205e
commit 27b7635c95
8 changed files with 65 additions and 21 deletions

View File

@@ -28,6 +28,7 @@ class OpenAIAPIInferenceModel(InferenceModel):
gen_settings: GenerationSettings,
single_line: bool = False,
batch_count: int = 1,
**kwargs
) -> GenerationResult:
# Taken mainly from oairequest()