Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
bitsandbytes
Commits
ec192295
Commit
ec192295
authored
Jul 21, 2025
by
Matthew Douglas
Browse files
Add Volta support in cu128/cu129 builds
parent
33449ee4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
.github/scripts/build-cuda.sh
.github/scripts/build-cuda.sh
+3
-3
No files found.
.github/scripts/build-cuda.sh
View file @
ec192295
...
@@ -15,10 +15,10 @@ elif [ "${build_arch}" = "aarch64" ]; then
...
@@ -15,10 +15,10 @@ elif [ "${build_arch}" = "aarch64" ]; then
[[
"
${
cuda_version
}
"
==
12.8.
*
||
"
${
cuda_version
}
"
==
12.9.
*
]]
&&
build_capability
=
"75;80;90;100;120"
[[
"
${
cuda_version
}
"
==
12.8.
*
||
"
${
cuda_version
}
"
==
12.9.
*
]]
&&
build_capability
=
"75;80;90;100;120"
else
else
# By default, target Maxwell through Hopper.
# By default, target Maxwell through Hopper.
build_capability
=
"50;
52;60;61
;70;75;80;86;89;90"
build_capability
=
"50;
60
;70;75;80;86;89;90"
# CUDA 12.8+: Add sm100 and sm120; remove < sm7
5
to align with PyTorch 2.
7
+cu128 minimum
# CUDA 12.8+: Add sm100 and sm120; remove < sm7
0
to align with PyTorch 2.
8
+cu128 minimum
[[
"
${
cuda_version
}
"
==
12.8.
*
||
"
${
cuda_version
}
"
==
12.9.
*
]]
&&
build_capability
=
"75;80;86;89;90;100;120"
[[
"
${
cuda_version
}
"
==
12.8.
*
||
"
${
cuda_version
}
"
==
12.9.
*
]]
&&
build_capability
=
"
70;
75;80;86;89;90;100;120"
fi
fi
[[
"
${
build_os
}
"
=
windows-
*
]]
&&
python3
-m
pip
install
ninja
[[
"
${
build_os
}
"
=
windows-
*
]]
&&
python3
-m
pip
install
ninja
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment