Skip to content

[BE] Add Parallel CI for Pip-Installed Triton and Update Docs #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

FindHao
Copy link
Member

@FindHao FindHao commented Jul 30, 2025

Pre-built Triton has been upgraded to 3.4.0! So TritonParse can work out-of-box rather than compiling triton from source now!

This PR introduces parallel CI testing for Triton installed via pip and updates the documentation to recommend pip for standard installations, ensuring broader compatibility and easier setup for users.

Summary of Changes

CI/CD Workflow Enhancements

  • Added Parallel CI Job for Pip-Installed Triton:

    • The main GitHub Actions workflow in .github/workflows/test.yml has been updated to include two parallel testing jobs:
      1. test-from-source: The existing job, which tests against the latest Triton commit compiled from source.
      2. test-from-pip: A new job that tests against the latest Triton version installed from PyPI.
    • This parallel setup ensures that tritonparse remains compatible with both source-built and pip-installed Triton environments.
  • New CI Script for Pip Installation:

    • Created a new script, .ci/install-triton-pip.sh, to handle the installation of Triton from PyPI in the new test-from-pip CI job.

Documentation Updates

  • Recommended Pip for Standard Installation:
    • Updated the root README.md to recommend pip install triton as the standard installation method, removing the requirement to build from source.
    • Updated the wiki documentation, including 01.-Installation.md and 04.-Developer-Guide.md, to reflect that Triton should be installed via pip. Instructions for building from source have been replaced with the simpler pip command.

These changes improve the project by simplifying the installation process for users and expanding CI coverage to validate compatibility with official Triton releases from PyPI.

Summary:
- Updated the README.md to reflect the new prerequisite version for Triton (≥ 3.4.0) and simplified the installation instructions.
- Added a new script (.ci/install-triton-pip.sh) to automate the installation of Triton from pip, including pre-flight checks and verification of the installation.
- Modified the GitHub Actions workflow to include a new job for testing with Triton installed from pip, enhancing the CI process.

These changes improve documentation clarity and streamline the setup process for users.
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 30, 2025
@FindHao FindHao changed the title Add Parallel CI for Pip-Installed Triton and Update Docs [BE] Add Parallel CI for Pip-Installed Triton and Update Docs Jul 30, 2025
@facebook-github-bot
Copy link
Contributor

@FindHao has imported this pull request. If you are a Meta employee, you can view this in D79290083.

@facebook-github-bot
Copy link
Contributor

@FindHao merged this pull request in 922df73.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants