Skip to content

[CI] Update MACA toolkit version from 3.6 into 3.7#110

Merged
Five-HZ merged 6 commits into
tile-ai:devfrom
Five-HZ:toolkit-update
Jun 15, 2026
Merged

[CI] Update MACA toolkit version from 3.6 into 3.7#110
Five-HZ merged 6 commits into
tile-ai:devfrom
Five-HZ:toolkit-update

Conversation

@Five-HZ

@Five-HZ Five-HZ commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Chores
    • Updated CI toolkit for the self-hosted runner.
    • Switched CI to install a pinned stable release of an acceleration/cache package.
    • Removed an explicit parallel-process option from example test runs to rely on defaults, simplifying execution and improving reproducibility.

@github-actions

Copy link
Copy Markdown

👋 Hi! Thank you for contributing to the TileLang project.

Please remember to run pre-commit run --all-files in the root directory of the project to ensure your changes are properly linted and formatted. This will help ensure your contribution passes the format check.

We appreciate you taking this step! Our team will review your contribution, and we look forward to your awesome work! 🚀

@coderabbitai

coderabbitai Bot commented Jun 12, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 11dae6f8-d9fa-47bd-8081-f4c34a77c615

📥 Commits

Reviewing files that changed from the base of the PR and between 7bd33ea and 3eacacd.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/ci.yml

📝 Walkthrough

Walkthrough

This PR updates the CI workflow's MACA job: it selects toolkit: MACA-3.7 in the self-hosted runner matrix, changes the MACA setup pip install to flash_linear_attention==0.4.0 (index URL/trusted host unchanged), and removes --numprocesses=4 from the “Run MACA examples” pytest command.

Changes

MACA Toolkit and dependency pin

Layer / File(s) Summary
Toolkit selection update
.github/workflows/ci.yml
CI matrix now selects toolkit: MACA-3.7 instead of MACA-3.6.
flash_linear_attention pin
.github/workflows/ci.yml
In the MACA setup step, change install spec to flash_linear_attention==0.4.0 (remove build-tagged variant); index URL and trusted host unchanged.
Remove pytest --numprocesses
.github/workflows/ci.yml
In the “Run MACA examples” step, remove --numprocesses=4 from the pytest invocation (keep --maxfail=3).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

I nibble bytes beneath the moon,
CI hops onward, versions tune,
Toolkit lifted, pins made plain,
Tests run tidy, no extra strain,
A rabbit cheers the passing rune. 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly and specifically describes the main change: updating the MACA toolkit version from 3.6 to 3.7 in the CI workflow.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/ci.yml:
- Line 291: The pip install line currently pins flash_linear_attention to the
plain public version "flash_linear_attention==0.4.0" which doesn't exist on the
metax index; update that package spec in the uv pip install command to the
metax-specific wheel variant (e.g.
"flash_linear_attention==0.4.0+metax3.7.X.YtorchZ.W") that matches your MACA 3.7
toolkit and Torch version so pip can resolve it, keeping the same index URL and
--trusted-host flags.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 19d7accb-572c-4173-aae1-b31f5c048f1f

📥 Commits

Reviewing files that changed from the base of the PR and between 56b76a2 and 530d6e1.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

Comment thread .github/workflows/ci.yml Outdated
elif [[ "${{ matrix.runner.toolkit }}" == *"MACA"* ]]; then
uv pip install -v -r requirements-test-maca.txt
uv pip install -v --no-deps --python-version 3.10.0 flash_linear_attention==0.4.0+metax3.5.3.9torch2.8 -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com
uv pip install -v --no-deps --python-version 3.10.0 flash_linear_attention==0.4.0 -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Check available flash_linear_attention versions in the MACA repository

# Query the repository for available versions
curl -s "https://repos.metax-tech.com/r/maca-pypi/simple/flash-linear-attention/" 2>/dev/null | \
  grep -oP 'flash[_-]linear[_-]attention-[^"]+\.whl' | \
  grep '0\.4\.0' | \
  head -20

# If curl fails, note that manual verification is needed
if [ $? -ne 0 ]; then
  echo "Note: Unable to query repository. Manual verification required."
fi

Repository: tile-ai/tilelang-metax

Length of output: 1654


🏁 Script executed:

#!/bin/bash
set -euo pipefail

base="https://repos.metax-tech.com/r/maca-pypi/simple/flash-linear-attention/"
page="$(curl -fsSL "$base")"

echo "== wheels matching exact version 0.4.0 (no + local segment) =="
# Example wheel names: flash_linear_attention-0.4.0-cp310-...whl
echo "$page" | rg -o 'flash[_-]linear[_-]attention-0\.4\.0-[^"]+\.whl' | sort -u | head -50

echo
echo "== wheels matching 0.4.0+metax3.7 local versions =="
echo "$page" | rg -o 'flash[_-]linear[_-]attention-0\.4\.0\+metax3\.7[^"]+\.whl' | sort -u | head -50

echo
echo "== any exact 0.4.0 references on the page =="
echo "$page" | rg -n 'flash[_-]linear[_-]attention-0\.4\.0' | head -50

Repository: tile-ai/tilelang-metax

Length of output: 129


🏁 Script executed:

#!/bin/bash
set -uo pipefail

base="https://repos.metax-tech.com/r/maca-pypi/simple/flash-linear-attention/"
page="$(curl -fsSL "$base" 2>/dev/null || true)"

if [[ -z "${page}" ]]; then
  echo "curl returned empty page (or failed)."
  exit 0
fi

echo "== Sample matches from index page =="
echo "$page" | rg -o 'flash[_-]linear[_-]attention-[^"]+\.whl' | head -50

echo
echo "== Unique versions from wheel filenames =="
echo "$page" | rg -o 'flash[_-]linear[_-]attention-([^"]+)\.whl' | sed -E 's/flash[_-]linear[_-]attention-//' | sort -u

echo
echo "== Any exact 0.4.0 (public) wheel link? =="
echo "$page" | rg -n 'flash[_-]linear[_-]attention-0\.4\.0[^+./"]*\.whl' || true

Repository: tile-ai/tilelang-metax

Length of output: 4408


Fix flash_linear_attention pin for MACA 3.7 (avoid installing non-existent public 0.4.0)

The metax index for flash-linear-attention provides wheels only for local versions like flash_linear_attention-0.4.0+metax3.7.0.7torch2.8 / 0.4.0+metax3.7.1.3torch2.8 / 0.4.0+metax3.7.2.0torch2.8 (and torch2.6 variants), and shows no wheel entries for the plain public flash_linear_attention-0.4.0 (without the +metax... suffix). Pinning to flash_linear_attention==0.4.0 at .github/workflows/ci.yml:291 may fail to resolve.

Update the requirement to the appropriate flash_linear_attention==0.4.0+metax3.7...torch... variant matching your MACA 3.7 toolkit and torch version.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/ci.yml at line 291, The pip install line currently pins
flash_linear_attention to the plain public version
"flash_linear_attention==0.4.0" which doesn't exist on the metax index; update
that package spec in the uv pip install command to the metax-specific wheel
variant (e.g. "flash_linear_attention==0.4.0+metax3.7.X.YtorchZ.W") that matches
your MACA 3.7 toolkit and Torch version so pip can resolve it, keeping the same
index URL and --trusted-host flags.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (1)
.github/workflows/ci.yml (1)

291-291: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

This issue was already flagged in a previous review and remains unaddressed.

The metax index for flash_linear_attention provides only local versions like 0.4.0+metax3.7.X.YtorchZ.W, not the plain public 0.4.0. The current pin may fail to resolve. Update the requirement to the appropriate metax-specific wheel variant matching MACA 3.7 and torch version, following the pattern used in pr-regression-test-bot.yml.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/ci.yml at line 291, The CI pip install line currently pins
flash_linear_attention to the public version "flash_linear_attention==0.4.0"
which the metax index does not provide; change that package spec to the
metax-specific wheel variant that matches our MACA 3.7 and torch version (the
+metax3.7...+torch... suffix pattern), mirroring the pattern used in
pr-regression-test-bot.yml: replace "flash_linear_attention==0.4.0" with the
exact metax-specific wheel name (e.g.
flash_linear_attention==0.4.0+metax3.7.X.YtorchZ.W) that corresponds to the
pipeline's MACA and torch versions so pip can resolve from the metax index and
keep the rest of the pip install command (index URL and --trusted-host)
unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Duplicate comments:
In @.github/workflows/ci.yml:
- Line 291: The CI pip install line currently pins flash_linear_attention to the
public version "flash_linear_attention==0.4.0" which the metax index does not
provide; change that package spec to the metax-specific wheel variant that
matches our MACA 3.7 and torch version (the +metax3.7...+torch... suffix
pattern), mirroring the pattern used in pr-regression-test-bot.yml: replace
"flash_linear_attention==0.4.0" with the exact metax-specific wheel name (e.g.
flash_linear_attention==0.4.0+metax3.7.X.YtorchZ.W) that corresponds to the
pipeline's MACA and torch versions so pip can resolve from the metax index and
keep the rest of the pip install command (index URL and --trusted-host)
unchanged.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7543ea14-ed50-4fd6-a106-e229238ef65f

📥 Commits

Reviewing files that changed from the base of the PR and between 0e3546c and 7bd33ea.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

@Five-HZ Five-HZ merged commit d92a264 into tile-ai:dev Jun 15, 2026
5 checks passed
@Five-HZ Five-HZ deleted the toolkit-update branch June 15, 2026 01:40
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