mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 11:54:52 +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_backends_trtllm::TensorRtLlmBackendV2;
|
||||||
use text_generation_router::{HubTokenizerConfig, server};
|
use text_generation_router::{HubTokenizerConfig, server};
|
||||||
use text_generation_router::server::{
|
use text_generation_router::server::{
|
||||||
create_post_processor, get_base_tokenizer, get_hub_model_info,
|
create_post_processor, get_base_tokenizer,
|
||||||
};
|
};
|
||||||
|
|
||||||
/// App Configuration
|
/// App Configuration
|
||||||
@ -296,7 +296,7 @@ async fn main() -> Result<(), TensorRtLlmBackendError> {
|
|||||||
max_input_tokens,
|
max_input_tokens,
|
||||||
max_total_tokens,
|
max_total_tokens,
|
||||||
validation_workers,
|
validation_workers,
|
||||||
None,
|
auth_token,
|
||||||
tokenizer_name,
|
tokenizer_name,
|
||||||
tokenizer_config_path,
|
tokenizer_config_path,
|
||||||
revision,
|
revision,
|
||||||
|
Loading…
Reference in New Issue
Block a user