Skip to content

Commit 023c25d

Browse files
committed
Add c++17 to compilation flag
1 parent 33dc96c commit 023c25d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mamba_ssm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "1.0.0"
1+
__version__ = "1.0.1"
22

33
from mamba_ssm.ops.selective_scan_interface import selective_scan_fn, mamba_inner_fn
44
from mamba_ssm.modules.mamba_simple import Mamba

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,11 @@ def append_nvcc_threads(nvcc_extra_args):
134134
"csrc/selective_scan/selective_scan_bwd_bf16_complex.cu",
135135
],
136136
extra_compile_args={
137-
"cxx": ["-O3"],
137+
"cxx": ["-O3", "-std=c++17"],
138138
"nvcc": append_nvcc_threads(
139139
[
140140
"-O3",
141+
"-std=c++17",
141142
"-U__CUDA_NO_HALF_OPERATORS__",
142143
"-U__CUDA_NO_HALF_CONVERSIONS__",
143144
"-U__CUDA_NO_BFLOAT16_OPERATORS__",

0 commit comments

Comments
 (0)