feat(benchmarks): support HF model names in multi-turn benchmark (#27850)

This commit is contained in:
ai-jz 2025-11-01 01:04:52 -07:00 committed by GitHub
parent e675118849
commit 2c0c7c39bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1429,8 +1429,6 @@ async def main() -> None:
random.seed(args.seed)
np.random.seed(args.seed)
if not os.path.exists(args.model):
raise OSError(f"Path does not exist: {args.model}")
logger.info("Loading tokenizer")
tokenizer = AutoTokenizer.from_pretrained(args.model)