Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
d1545621
Unverified
Commit
d1545621
authored
Jan 15, 2026
by
dagil-nvidia
Committed by
GitHub
Jan 15, 2026
Browse files
fix: consolidate return statement in get_engine_runtime_config (#5442)
Signed-off-by:
Dan Gil
<
dagil@nvidia.com
>
parent
ef09f718
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
components/src/dynamo/trtllm/main.py
components/src/dynamo/trtllm/main.py
+3
-5
No files found.
components/src/dynamo/trtllm/main.py
View file @
d1545621
...
...
@@ -100,13 +100,11 @@ async def get_engine_runtime_config(
logging
.
info
(
f
"Set runtime config max_num_batched_tokens:
{
runtime_config
.
max_num_batched_tokens
}
"
)
return
runtime_config
except
Exception
as
e
:
logging
.
error
(
f
"Failed to get runtime config from TensorRT-LLM engine:
{
e
}
"
)
# Return config with default/None values if retrieval fails
return
runtime_config
# Keep default/None values if retrieval fails
return
runtime_config
async
def
worker
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment