mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2025-09-09 22:05:30 +00:00
fix build failure on msvc
This commit is contained in:
parent
ee2ede0412
commit
206e51f77e
2 changed files with 8 additions and 4 deletions
5
setup.py
5
setup.py
|
@ -48,7 +48,10 @@ if dev_backend == "xpu":
|
|||
"pytorch-triton-xpu==3.3.0"
|
||||
]
|
||||
else:
|
||||
triton_dep = ["triton>=3.2"]
|
||||
triton_dep = [
|
||||
"triton >= 3.2; sys_platform != 'win32' and sys_platform != 'Windows'",
|
||||
"triton-windows >= 3.2; sys_platform == 'win32' or sys_platform == 'Windows'"
|
||||
]
|
||||
|
||||
with_balance = os.environ.get("USE_BALANCE_SERVE", "0") == "1"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue