chore(trtllm): minor fix

This commit is contained in:
Morgan Funtowicz 2024-10-21 23:50:02 +02:00
parent 47d8c53dda
commit 84f3bf902a
2 changed files with 3 additions and 2 deletions

View File

@ -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);

View File

@ -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;