Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Aug 6, 2024
1 parent f48e3fe commit 60329d4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rust/src/py.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,7 @@ impl LLTokenizer {
// tokens[t as usize] = vec![];
// }

let info = TokRxInfo {
vocab_size: tokens.len() as u32,
tok_eos,
};
let info = TokRxInfo::new(tokens.len() as u32, tok_eos);

let tok_trie = TokTrie::from(&info, &tokens);
Ok(LLTokenizer {
Expand Down

0 comments on commit 60329d4

Please sign in to comment.