Skip to content

Commit

Permalink
filter mlx tokenizer error
Browse files Browse the repository at this point in the history
  • Loading branch information
OKHand-Zy committed Nov 20, 2024
1 parent 438eae4 commit f6fc665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exo/inference/mlx/sharded_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ async def load_shard(
processor.encode = processor.tokenizer.encode
return model, processor
else:
tokenizer = await resolve_tokenizer(model_path)
tokenizer = load_tokenizer(model_path, tokenizer_config)
return model, tokenizer


Expand Down

0 comments on commit f6fc665

Please sign in to comment.