Skip to content

Commit b636b2a

Browse files
[CUDA] Blackwell Support Codegen (#3103)
* Blackwell Support Codegen 10.0 blackwell b100/b200 12.0 blackwell rtx50 * update --------- Co-authored-by: Ruihang Lai <[email protected]>
1 parent 6aa93bf commit b636b2a

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.github/workflows/documentation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
with:
1616
submodules: recursive
1717

.github/workflows/update-relax.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
submodules: true
2020

.github/workflows/windows-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v3
2626
with:
2727
submodules: 'recursive'
28-
- uses: conda-incubator/setup-miniconda@v2
28+
- uses: conda-incubator/setup-miniconda@v3
2929
with:
3030
activate-environment: mlc-llm-build
3131
channel-priority: strict

ci/task/build_lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if [[ ${GPU} == rocm* ]]; then
2424
elif [[ ${GPU} == cuda* ]]; then
2525
echo set\(USE_VULKAN ON\) >>config.cmake
2626
echo set\(CMAKE_CUDA_COMPILER_LAUNCHER ccache\) >>config.cmake
27-
echo set\(CMAKE_CUDA_ARCHITECTURES "80;90"\) >>config.cmake
27+
echo set\(CMAKE_CUDA_ARCHITECTURES "80;90;100;120"\) >>config.cmake
2828
echo set\(CMAKE_CUDA_FLAGS \"\$\{CMAKE_CUDA_FLAGS\} -t $NUM_THREADS\"\) >>config.cmake
2929
echo set\(USE_CUDA ON\) >>config.cmake
3030
echo set\(USE_CUBLAS ON\) >>config.cmake

cmake/gen_cmake_config.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,14 @@
8383
if use_flashInfer:
8484
while True:
8585
user_input = input("Enter your CUDA compute capability: ")
86-
if user_input in ["80", "86", "89", "90"]:
86+
if user_input in ["80", "86", "89", "90", "100", "120"]:
8787
cmake_config_str += f"set(FLASHINFER_CUDA_ARCHITECTURES {user_input})\n"
8888
cmake_config_str += f"set(CMAKE_CUDA_ARCHITECTURES {user_input})\n"
8989
break
9090
else:
91-
print(f"Invalid input: {user_input}. FlashInfer requires 80, 86, 89, or 90.")
91+
print(
92+
f"Invalid input: {user_input}. FlashInfer requires 80, 86, 89, 90, 100 or 120"
93+
)
9294

9395
print("\nWriting the following configuration to config.cmake...")
9496
print(cmake_config_str)

0 commit comments

Comments
 (0)