Model: WIP horde and API tests

This commit is contained in:
somebody
2023-03-13 14:11:06 -05:00
parent cd8ccf0a5e
commit 0320678b27
4 changed files with 46 additions and 18 deletions

View File

@@ -471,7 +471,6 @@ class HFTorchInferenceModel(HFInferenceModel):
additional_bad_words_ids = [self.tokenizer.encode("\n")] if single_line else []
if seed is not None:
print("seeding", seed)
torch.manual_seed(seed)
with torch.no_grad():