From 7881fc253fd729c8cfc214b8008f2ebe6bb200b2 Mon Sep 17 00:00:00 2001 From: Roland Tannous <115670425+rolandtannous@users.noreply.github.com> Date: Thu, 12 Mar 2026 18:06:37 +0400 Subject: [PATCH] Update install_python_stack.py --- studio/install_python_stack.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/studio/install_python_stack.py b/studio/install_python_stack.py index 3d7e6c8389..9ce16cd7bb 100644 --- a/studio/install_python_stack.py +++ b/studio/install_python_stack.py @@ -89,7 +89,7 @@ def run(label: str, cmd: list[str], *, quiet: bool = True) -> None: # Packages to skip on Windows (require special build steps) -WINDOWS_SKIP_PACKAGES = {"open_spiel"} +WINDOWS_SKIP_PACKAGES = {"open_spiel", "triton_kernels"} def _filter_requirements(req: Path, skip: set[str]) -> Path: @@ -206,13 +206,14 @@ def install_python_stack() -> int: ) # 5. Triton kernels (no-deps, from source) - pip_install( - "Installing triton kernels", - "--no-deps", - "--no-cache-dir", - req = REQ_ROOT / "triton-kernels.txt", - constrain = False, - ) + if not IS_WINDOWS: + pip_install( + "Installing triton kernels", + "--no-deps", + "--no-cache-dir", + req = REQ_ROOT / "triton-kernels.txt", + constrain = False, + ) # # 6. Patch: override llama_cpp.py with fix from unsloth-zoo feature/llama-cpp-windows-support branch # patch_package_file(