Skip to content

feat: add Triton setup script for modular installation#118

Closed
cmagina wants to merge 1 commit intoredhat-et:mainfrom
cmagina:pr-04-triton-setup-script
Closed

feat: add Triton setup script for modular installation#118
cmagina wants to merge 1 commit intoredhat-et:mainfrom
cmagina:pr-04-triton-setup-script

Conversation

@cmagina
Copy link
Copy Markdown
Collaborator

@cmagina cmagina commented Feb 7, 2026

Summary

This PR is part 4 of 11 in the rework modernization effort. It adds the Triton setup script as part of the modular framework installation architecture.

Changes:

  • ✅ Add scripts/setup_triton.sh for Triton installation and configuration

Features:

  • Downloads Triton source from GitHub when not mounted as a volume
  • Installs build dependencies for Triton compilation
  • Supports multiple installation modes via INSTALL_TRITON environment variable:
    • source: Build from source (with auto-download if not mounted)
    • release: Install wheels from PyPI
    • skip: Skip Triton installation
  • Provides flexible configuration for different container setups

Why this change?

Triton is the primary focus of this repository. This dedicated setup script:

Testing:

Dependencies:

Related PRs:

🤖 Generated with Claude Code

Add scripts/setup_triton.sh to support Triton installation and
configuration within containers. This script:

- Downloads Triton source from GitHub when not mounted as a volume
- Installs build dependencies for Triton compilation
- Supports installing Triton wheels from PyPI (release)
- Provides flexible configuration via INSTALL_TRITON environment variable

The script supports multiple installation modes:
- source: Build from source (with auto-download if not mounted)
- release: Install wheels from PyPI
- skip: Skip Triton installation

This is part of the modular script architecture introduced in PR redhat-et#115.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant