diff --git a/install_requirements.py b/install_requirements.py index 15b4a23a879..3bd75cad6a3 100644 --- a/install_requirements.py +++ b/install_requirements.py @@ -112,8 +112,13 @@ def install_requirements(use_pytorch_nightly): LOCAL_REQUIREMENTS = [ "third-party/ao", # We need the latest kernels for fast iteration, so not relying on pypi. - "extension/llm/tokenizers", # TODO(larryliu0820): Setup a pypi package for this. - ] + ] + ( + [ + "extension/llm/tokenizers", # TODO(larryliu0820): Setup a pypi package for this. + ] + if sys.platform != "win32" + else [] + ) # TODO(gjcomer): Re-enable when buildable on Windows. # Install packages directly from local copy instead of pypi. # This is usually not recommended.