Make Compiler scripts and tests portable across checkouts - #68
Draft
Happymic wants to merge 2 commits into
Draft
Conversation
Happymic
force-pushed
the
agent/portable-compiler-tooling
branch
from
July 25, 2026 17:34
29fdbc1 to
1a26215
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
asm_filecommand-line argument.PYTHONPATHexamples in 12 TileLang test docstrings with repository-relative module invocations.Why
The checked-in entry point and test examples referenced individual developers' home directories. They could not be reused from another checkout. The GPT-OSS test also depended on one specific Transformers API shape even though both shapes are still encountered in supported development environments.
Scope
The parser change affects only its direct
__main__entry point; library callers ofparse_asm_fileare unchanged. The TileLang changes are documentation-only. The GPT-OSS change is confined to the Hugging Face cross-check in one test.Validation
PYTHONPATH=. python -m pytest -q aten/tests -m 'not slow': 60 passed, 1 deselected.PYTHONPATH=. python -m pytest -q assembler/tests: 4 passed.PYTHONPATH=. python -m pytest -q aten/tests/test_gpt_oss_moe_reference.py: 11 passed with Transformers 4.57.6.python assembler/parser.py --help: command-line interface renders correctly.git diff --check: passed.The TileLang suite was not executed locally because this checkout's Python environment does not include TVM. The only changed lines in those files are the
Run:docstrings; no TileLang test logic changed.