mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-13 22:18:36 +08:00
[None] [fix] Disable UCC as WAR to MPI allgather issue before NGC PyTorch 25.12 upgrade (#9127)
Signed-off-by: Kaiyu Xie <26294424+kaiyux@users.noreply.github.com>
This commit is contained in:
parent
d43036e3fd
commit
e5c1cd41cd
@ -13,12 +13,16 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import os
|
||||
|
||||
# Disable UCC to WAR allgather issue before NGC PyTorch 25.12 upgrade.
|
||||
os.environ["OMPI_MCA_coll_ucc_enable"] = "0"
|
||||
|
||||
|
||||
def _add_trt_llm_dll_directory():
|
||||
import platform
|
||||
on_windows = platform.system() == "Windows"
|
||||
if on_windows:
|
||||
import os
|
||||
import sysconfig
|
||||
from pathlib import Path
|
||||
os.add_dll_directory(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user