mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-21 14:52:20 +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
|
||||
*/
|
||||
void huggingface::tgi::backends::InitializeLogging() {
|
||||
void InitializeLogging() {
|
||||
#ifdef NDEBUG
|
||||
if (const auto TRTLLM_LOG_LEVEL_CSTR = std::getenv("TRTLLM_LOG_LEVEL")) {
|
||||
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;
|
||||
std::optional<tle::OrchestratorConfig> orchestratorConfig = std::nullopt;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user