Repository navigation
Commit 0df510f
Alias mcore tokenizer methods for eden_megatron static inference
The megatron-core HuggingFaceTokenizer exposes text_to_ids/ids_to_text, but the static engine
calls tokenize/detokenize. Apply the same adapter evo2_megatron uses.
Signed-off-by: Peter St. John <pstjohn@nvidia.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent efcf501 commit 0df510f
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
112 | 123 | | |
113 | 124 | | |
114 | 125 | | |
| |||
420 | 431 | | |
421 | 432 | | |
422 | 433 | | |
| 434 | + | |
423 | 435 | | |
424 | 436 | | |
425 | 437 | | |
| |||
0 commit comments