File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed
Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -191,6 +191,6 @@ jobs:
191191 path : release/
192192
193193 - name : Release all packages
194- uses : softprops/action-gh-release@v2
194+ uses : softprops/action-gh-release@v1
195195 with :
196196 files : release/*
Original file line number Diff line number Diff line change @@ -23,16 +23,11 @@ endif()
2323
2424if (BUILD_PYTHON)
2525if (PYTHON_LIB_DIRS)
26- if (NOT ENABLE_NV_STATIC_LIB)
27- install (DIRECTORY ${CMAKE_INSTALL_PREFIX} /${CMAKE_INSTALL_LIBDIR} DESTINATION ${PYTHON_LIB_DIRS} FILES_MATCHING PATTERN "*.so" PATTERN "libnccl.*" EXCLUDE )
28- else ()
29- install (DIRECTORY ${CMAKE_INSTALL_PREFIX} /${CMAKE_INSTALL_LIBDIR} DESTINATION ${PYTHON_LIB_DIRS} FILES_MATCHING PATTERN "*.so" )
30- endif ()
26+ install (DIRECTORY ${CMAKE_INSTALL_PREFIX} /${CMAKE_INSTALL_LIBDIR} DESTINATION ${PYTHON_LIB_DIRS} FILES_MATCHING PATTERN "libflash-attn.so" )
3127
3228 if (ENABLE_MULTINUMA)
33- install (DIRECTORY ${CMAKE_INSTALL_PREFIX} /${CMAKE_INSTALL_BINDIR} DESTINATION ${PYTHON_LIB_DIRS} USE_SOURCE_PERMISSIONS FILES_MATCHING PATTERN "*" )
3429 install (TARGETS _allspark_client DESTINATION ${PYTHON_LIB_DIRS} )
3530 endif ()
36- install (TARGETS _allspark DESTINATION ${PYTHON_LIB_DIRS} )
31+ install (TARGETS _allspark DESTINATION ${PYTHON_LIB_DIRS} )
3732endif ()
3833endif ()
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ set -e -x
33
44ALL_VERSION=" 3.8 3.9 3.10 3.11"
55BUILD_VERSION=${@:- $ALL_VERSION }
6- CUDA_VERSION=$( nvcc --version | grep -oP ' release \K[\d.]+' )
76
87echo " going to build python wheels with version: ${BUILD_VERSION} "
98
@@ -19,6 +18,8 @@ architecture=$(arch)
1918export PLAT=manylinux2014_x86_64
2019export AS_PLATFORM=cuda
2120
21+ CUDA_VERSION=$( nvcc --version | grep -oP ' release \K[\d.]+' )
22+
2223mkdir -p local_cuda_libs
2324ln -sf /usr/local/cuda-${CUDA_VERSION} /targets/x86_64-linux/lib/stubs/libnvidia-ml.so local_cuda_libs/libnvidia-ml.so.1
2425ln -sf /usr/local/cuda-${CUDA_VERSION} /compat/libcuda.so.1 local_cuda_libs/libcuda.so.1
@@ -36,7 +37,8 @@ function repair_wheel {
3637 echo " Skipping non-platform wheel $wheel "
3738 else
3839 # TODO: add lib path to build lib path
39- auditwheel repair " $wheel " --plat " $PLAT " -w ${REPO_ROOT} /python/wheelhouse/
40+ auditwheel repair " $wheel " --plat " $PLAT " -w ${REPO_ROOT} /python/wheelhouse/ --exclude libcublas.so.12 --exclude libcublasLt.so.12 --exclude libcudart.so.12 --exclude libcusparse.so.12 --exclude libnvJitLink.so.12 --exclude libcuda.so.1 --exclude libnccl.so.2 --exclude libnvidia-ml.so.1 --exclude libcudart.so.12
41+
4042 fi
4143}
4244
You can’t perform that action at this time.
0 commit comments