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
03162161
Unverified
Commit
03162161
authored
Jan 22, 2026
by
Yan Ru Pei
Committed by
GitHub
Jan 22, 2026
Browse files
chore: default python hash seed to zero always for the engines (#5583)
Signed-off-by:
PeaBrane
<
yanrpei@gmail.com
>
parent
cdcf6d0a
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
2 deletions
+28
-2
components/src/dynamo/sglang/__main__.py
components/src/dynamo/sglang/__main__.py
+5
-0
components/src/dynamo/trtllm/__main__.py
components/src/dynamo/trtllm/__main__.py
+6
-0
components/src/dynamo/vllm/__main__.py
components/src/dynamo/vllm/__main__.py
+5
-0
examples/deployments/router_standalone/worker.py
examples/deployments/router_standalone/worker.py
+4
-1
examples/deployments/router_standalone_trtllm/worker.py
examples/deployments/router_standalone_trtllm/worker.py
+3
-0
examples/multimodal/components/worker.py
examples/multimodal/components/worker.py
+5
-1
No files found.
components/src/dynamo/sglang/__main__.py
View file @
03162161
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
import
os
if
"PYTHONHASHSEED"
not
in
os
.
environ
:
os
.
environ
[
"PYTHONHASHSEED"
]
=
"0"
from
dynamo.sglang.main
import
main
if
__name__
==
"__main__"
:
...
...
components/src/dynamo/trtllm/__main__.py
View file @
03162161
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
import
os
if
"PYTHONHASHSEED"
not
in
os
.
environ
:
os
.
environ
[
"PYTHONHASHSEED"
]
=
"0"
from
dynamo.trtllm.main
import
main
if
__name__
==
"__main__"
:
...
...
components/src/dynamo/vllm/__main__.py
View file @
03162161
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
import
os
if
"PYTHONHASHSEED"
not
in
os
.
environ
:
os
.
environ
[
"PYTHONHASHSEED"
]
=
"0"
from
dynamo.vllm.main
import
main
if
__name__
==
"__main__"
:
...
...
examples/deployments/router_standalone/worker.py
View file @
03162161
...
...
@@ -13,9 +13,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
os
if
"PYTHONHASHSEED"
not
in
os
.
environ
:
os
.
environ
[
"PYTHONHASHSEED"
]
=
"0"
import
logging
import
os
import
uuid
from
typing
import
AsyncGenerator
,
Optional
...
...
examples/deployments/router_standalone_trtllm/worker.py
View file @
03162161
...
...
@@ -3,6 +3,9 @@
import
os
if
"PYTHONHASHSEED"
not
in
os
.
environ
:
os
.
environ
[
"PYTHONHASHSEED"
]
=
"0"
# Fix protobuf version conflict with etcd3
os
.
environ
.
setdefault
(
"PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"
,
"python"
)
...
...
examples/multimodal/components/worker.py
View file @
03162161
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
import
os
if
"PYTHONHASHSEED"
not
in
os
.
environ
:
os
.
environ
[
"PYTHONHASHSEED"
]
=
"0"
import
argparse
import
asyncio
import
copy
import
logging
import
os
import
signal
import
sys
from
typing
import
Tuple
...
...
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