"benchmarks/utils/aiperf.py" did not exist on "3c4adde596c6ad51906a0eb2d2f1fed588a317b2"
Unverified Commit 03162161 authored by Yan Ru Pei's avatar Yan Ru Pei Committed by GitHub
Browse files

chore: default python hash seed to zero always for the engines (#5583)


Signed-off-by: default avatarPeaBrane <yanrpei@gmail.com>
parent cdcf6d0a
# 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__":
......
# 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__":
......
# 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__":
......
......@@ -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
......
......@@ -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")
......
# 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment