Skip to content
Merged
Changes from 1 commit
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
5 changes: 5 additions & 0 deletions .github/scripts/build_triton_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,11 @@ def build_triton(
cwd=triton_basedir,
)

triton_kernels_dir = Path(f"{triton_basedir}/python/triton_kernels")
check_call([sys.executable, "-m", "build", "--wheel"], cwd=triton_kernels_dir, env=env)
kernels_whl_path = next(iter((triton_kernels_dir / "dist").glob("*.whl")))
shutil.copy(kernels_whl_path, Path.cwd())

return Path.cwd() / whl_path.name


Expand Down