Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions examples/device/ep/tests/elastic/elastic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: Copyright (c) 2025 DeepSeek
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# This file incorporates material from the DeepSeek project, licensed under the MIT License.
# The modifications made by NVIDIA are licensed under the Apache License, Version 2.0.
Expand Down Expand Up @@ -466,20 +466,6 @@ def worker(torch_rank: int, args: argparse.Namespace):
torch.set_default_device("cuda")
torch.cuda.set_device(0)

# Initialize UCX
pxb_nics = [
"mlx5_0",
"mlx5_3",
"mlx5_4",
"mlx5_5",
"mlx5_6",
"mlx5_9",
"mlx5_10",
"mlx5_11",
]
tcp_nics = ",ibp154s0,ibp192s0,ibp206s0,ibp220s0,ibp94s0"
os.environ["UCX_NET_DEVICES"] = f"cuda0-{pxb_nics[local_rank]}:1" + tcp_nics

# Initialize NIXL
os.environ["NIXL_ETCD_ENDPOINTS"] = args.etcd_server

Expand Down
Loading