Improve: Rename TokenizerManager to StdOrchestrator (#3116)
This commit is contained in:
1 parent
3f41b18455
commit
45360b2fa9
11 files changed
+116
-130
No files matched your search
@@ -426,7 +426,7 @@
|
||||
"from sglang.srt.managers.io_struct import Tool, Function\n",
|
||||
"\n",
|
||||
"llm = sgl.Engine(model_path=\"meta-llama/Meta-Llama-3.1-8B-Instruct\")\n",
|
||||
"tokenizer = llm.tokenizer_manager.tokenizer\n",
|
||||
"tokenizer = llm.orchestrator.tokenizer\n",
|
||||
"input_ids = tokenizer.apply_chat_template(\n",
|
||||
" messages, tokenize=True, add_generation_prompt=True, tools=tools\n",
|
||||
")\n",
|
||||
|
||||
Reference in new issue
Block a user