update .gitignore

This commit is contained in:
ljss 2025-04-29 12:03:15 +08:00
parent 9c5dfab6d1
commit 9edee0c022
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@ dist/
*.png
/.vscode
compile_commands.json
.cache

View File

@ -11,10 +11,12 @@ from torch.utils.cpp_extension import (
IS_WINDOWS,
)
def append_nvcc_threads(nvcc_extra_args):
nvcc_threads = os.getenv("NVCC_THREADS") or "32"
return nvcc_extra_args + ["--threads", nvcc_threads]
def get_features_args():
features_args = []
DISABLE_FP16 = os.getenv("FLASH_MLA_DISABLE_FP16", "FALSE") in ["TRUE", "1"]