Skip to content

[BE] Fix: Show actual error messages in Triton installation script#49

Closed
FindHao wants to merge 4 commits intomainfrom
findhao/fix_ci
Closed

[BE] Fix: Show actual error messages in Triton installation script#49
FindHao wants to merge 4 commits intomainfrom
findhao/fix_ci

Conversation

@FindHao
Copy link
Member

@FindHao FindHao commented Jul 31, 2025

Problem

When Triton import failed in CI scripts, errors were silently discarded (2>/dev/null) making debugging impossible. Additionally, the libstdc++ version was too old to support newer Triton builds.

Solution

  • Error Visibility: Replace 2>/dev/null with 2>&1 to capture and display actual error messages
  • Controlled Exit: Use set +e/set -e around import tests to prevent immediate script termination
  • libstdc++ Upgrade: Update from 12.3.0 to 15.1.0 for GLIBCXX_3.4.32 support
  • Enhanced Diagnostics: Add Python environment info when imports fail

Changes

  • .ci/install-triton.sh - Source installation script with improved error handling + libstdc++ upgrade
  • .ci/install-triton-pip.sh - Pip installation script with same error handling improvements

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 31, 2025
@FindHao FindHao changed the title Fix: Show actual error messages in Triton installation script [BE] Fix: Show actual error messages in Triton installation script Aug 1, 2025
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

@FindHao merged this pull request in 143f675.

@FindHao FindHao deleted the findhao/fix_ci branch September 19, 2025 20:56
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