mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-21 23:12:07 +00:00
chore(trtllm): minor fix
This commit is contained in:
parent
47d8c53dda
commit
84f3bf902a
@ -44,7 +44,7 @@ namespace huggingface::tgi::backends {
|
|||||||
/**
|
/**
|
||||||
* Initialize logging mechanism
|
* Initialize logging mechanism
|
||||||
*/
|
*/
|
||||||
void huggingface::tgi::backends::InitializeLogging() {
|
void InitializeLogging() {
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
if (const auto TRTLLM_LOG_LEVEL_CSTR = std::getenv("TRTLLM_LOG_LEVEL")) {
|
if (const auto TRTLLM_LOG_LEVEL_CSTR = std::getenv("TRTLLM_LOG_LEVEL")) {
|
||||||
std::string log_level(TRTLLM_LOG_LEVEL_CSTR);
|
std::string log_level(TRTLLM_LOG_LEVEL_CSTR);
|
||||||
|
@ -24,7 +24,8 @@ void huggingface::tgi::backends::InitializeBackend() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] tle::ParallelConfig GetParallelConfig(const size_t worldSize, std::string workerPath) {
|
[[nodiscard]]
|
||||||
|
tle::ParallelConfig GetParallelConfig(const size_t worldSize, std::string workerPath) {
|
||||||
auto mode = tle::CommunicationMode::kLEADER;
|
auto mode = tle::CommunicationMode::kLEADER;
|
||||||
std::optional<tle::OrchestratorConfig> orchestratorConfig = std::nullopt;
|
std::optional<tle::OrchestratorConfig> orchestratorConfig = std::nullopt;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user