fix beta linux kernel

This commit is contained in:
josc146 2023-10-25 17:51:13 +08:00
parent df9e1f408e
commit 1d200d53ab

View File

@ -94,7 +94,7 @@ if os.environ.get("RWKV_CUDA_ON") == "1":
f"{current_path}/cuda/att_one_v5.cu",
],
verbose=True,
extra_ldflags=["cublas.lib"],
extra_ldflags=["cublas.lib" if os.name == "nt" else ""],
extra_cuda_cflags=[
"-t 4",
"-std=c++17",