mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-27 04:52:07 +00:00
Fix benchmark build error
Signed-off-by: yuanwu <yuan.wu@intel.com>
This commit is contained in:
parent
eaeef6e7a4
commit
8e2e5d8e15
@ -155,7 +155,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
// We need to download it outside of the Tokio runtime
|
||||
let params = FromPretrainedParameters {
|
||||
revision,
|
||||
token: auth_token,
|
||||
auth_token,
|
||||
..Default::default()
|
||||
};
|
||||
Tokenizer::from_pretrained(tokenizer_name.clone(), Some(params)).unwrap()
|
||||
|
Loading…
Reference in New Issue
Block a user