Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 2 additions & 21 deletions build_tools/pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,8 @@


def install_requirements() -> List[str]:
"""Install dependencies for TE/PyTorch extensions.

IMPORTANT - PyTorch Index Required for pytorch-triton:
These dependencies MUST be installed using PyTorch's package index:

pip install pytorch-triton --index-url https://download.pytorch.org/whl/<version??>

- pytorch-triton is only available from PyTorch's index (not PyPI)
- The 'pytorch-triton' package on PyPI is a placeholder that will fail
- torch.compile() requires pytorch-triton, not OpenAI's 'triton' package
"""
return [
"torch>=2.1",
"einops",
"onnxscript",
"onnx",
"packaging",
"pydantic",
"nvdlfw-inspect",
"pytorch-triton",
]
"""Install dependencies for TE/PyTorch extensions."""
return ["torch>=2.1", "einops", "onnxscript", "onnx", "packaging", "pydantic", "nvdlfw-inspect"]


def test_requirements() -> List[str]:
Expand Down
Loading