Repository navigation
Add CI integration for Spark-X2.5 models - #23525
dongjiang1989 wants to merge 1 commit into
Conversation
fdc592e to
9f2af5f
Compare
This PR needs a
|
|
@dongjiang1989 could you fix the CI failures? Do ping when ready for review. |
|
@dongjiang1989 this revert would have resolved the failing CI. Could you try with this and ping to trigger CI workflows? |
Thx @nil-is-all rebase done. |
aa4832f to
0fd9b04
Compare
|
Hey @nil-is-all CI is failing because Please add pre-cache the two Spark-X2.5 models in |
@dongjiang1989 I'd suggest making the script not depend on the shared cache being pre-populated. |
10562a9 to
fab9d16
Compare
Thanks @nil-is-all Change model download dir to custom dir. |
fab9d16 to
04bf8e9
Compare
Thanks, could you update branch and ping? |
04bf8e9 to
5095901
Compare
@nil-is-all git rebase done. Please re-check it |
5095901 to
8161481
Compare
|
@dongjiang1989 CI failures seem relevant. Could you take a look? |
|
Thanks @nil-is-all Investigated the 5 failing jobs. Two separate issues: 1. 2. All 4
Fix: upstream PR meta-pytorch/tokenizers#225 addresses both (empty Sequence → no-op; Regex Split with explicit behavior + I'll also add a small defensive change in |
8161481 to
bc7ad0d
Compare
|
@nil-is-all please re-check it |
bc7ad0d to
c47aed0
Compare
c47aed0 to
dee122e
Compare
dee122e to
c99c501
Compare
This commit adds CI test support for Spark-X2.5-1.7B and Spark-X2.5-4B models to the ExecuTorch test infrastructure. Changes: - Added spark_x2_5_1_7b and spark_x2_5_4b to test_torchao_huggingface_checkpoints.sh - Added both models to CI test matrix in trunk.yml - Configured XNNPACK (x86_64) and TorchAO (ARM64) backend testing - Use --local-dir for hf download to avoid read-only /mnt/hf_cache issues - convert_weights now rewrites the no-op normalizer in Spark-X2.5 tokenizer.json (empty Sequence, rejected by older revisions of the C++ HF tokenizer) to null, which is semantically identical, so llama_main can load it. The root cause is also fixed upstream in meta-pytorch/tokenizers#225; the submodule pin will be bumped once that lands. The Spark-X2.5 model infrastructure already exists in the codebase. This commit completes the integration by adding automated CI testing. Parts of this commit were authored with AI assistance using Claude Code. Signed-off-by: dongjiang <dongjiang1989@126.com>
c99c501 to
0551746
Compare
Summary
This PR adds CI integration for Spark-X2.5 models (1.7B and 4B variants) to the ExecuTorch test infrastructure.
Changes:
spark_x2_5_1_7bandspark_x2_5_4bmodel support to.ci/scripts/test_torchao_huggingface_checkpoints.sh.github/workflows/trunk.ymlThe Spark-X2.5 model infrastructure (configs, weight conversion, documentation) already exists in the codebase. This PR completes the integration by adding automated CI testing.
Model specifications:
Hugging Face models:
XHToken/Spark-X2.5-1.7BXHToken/Spark-X2.5-4BTest plan
The changes add CI test coverage for both Spark-X2.5 model variants:
Automated CI tests (via GitHub Actions):
Manual testing (to verify locally):
Unit tests (already present):
The CI script validates:
cc @larryliu0820 @mergennachin @cccclai @helunwencser @jackzhxng @digantdesai @nil-is-all