mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-02-16 07:53:55 +08:00
update tokenizer and processor
Signed-off-by: Pamela <179191831+pamelap-nvidia@users.noreply.github.com> Signed-off-by: Faraz Khoubsirat <58580514+farazkh80@users.noreply.github.com>
This commit is contained in:
parent
50ba4193f4
commit
1a219f1ed5
@ -404,6 +404,7 @@ class Phi4MMInputProcessor(InputProcessor):
|
||||
|
||||
self.tokenizer = tokenizer
|
||||
self.use_fast = True
|
||||
model_path = "microsoft/Phi-4-multimodal-instruct"
|
||||
if self.tokenizer is None:
|
||||
self.tokenizer = transformers.AutoTokenizer.from_pretrained(
|
||||
model_path,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user