Skip to content

Commit dec5511

Browse files
committed
Fix condition
1 parent 7c2586e commit dec5511

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

build.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,11 +1322,7 @@ def dockerfile_prepare_container_linux(argmap, backends, enable_gpu, target_mach
13221322
if target_machine == "aarch64":
13231323
backend_dependencies += " libgfortran5"
13241324

1325-
if (
1326-
target_platform != "igpu"
1327-
or target_platform != "windows"
1328-
or target_platform != "rhel"
1329-
):
1325+
if target_platform() not in ["igpu", "windows", "rhel"]:
13301326
backend_dependencies += " libnvshmem3-cuda-13"
13311327

13321328
# openssh-server is needed for fastertransformer

0 commit comments

Comments
 (0)