mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-24 00:12:08 +00:00
(server) forward auth_token to server::run
This commit is contained in:
parent
291eaa99fb
commit
089c5fe668
@ -10,7 +10,7 @@ use text_generation_backends_trtllm::errors::TensorRtLlmBackendError;
|
||||
use text_generation_backends_trtllm::TensorRtLlmBackendV2;
|
||||
use text_generation_router::{HubTokenizerConfig, server};
|
||||
use text_generation_router::server::{
|
||||
create_post_processor, get_base_tokenizer, get_hub_model_info,
|
||||
create_post_processor, get_base_tokenizer,
|
||||
};
|
||||
|
||||
/// App Configuration
|
||||
@ -296,7 +296,7 @@ async fn main() -> Result<(), TensorRtLlmBackendError> {
|
||||
max_input_tokens,
|
||||
max_total_tokens,
|
||||
validation_workers,
|
||||
None,
|
||||
auth_token,
|
||||
tokenizer_name,
|
||||
tokenizer_config_path,
|
||||
revision,
|
||||
|
Loading…
Reference in New Issue
Block a user