Skip to content

Commit c1c86ea

Browse files
justinchubyCopilot
andcommitted
Merge origin/main into catalogue speculative builds
Resolve adapter serialization conflicts by retaining the hashless producer contract from #539 together with PEFT attachment and source-preservation support. Co-authored-by: Copilot <[email protected]> Signed-off-by: justinchuby <[email protected]>
2 parents a7725c7 + 6290691 commit c1c86ea

29 files changed

Lines changed: 630 additions & 2021 deletions

‎.github/workflows/main.yml‎

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -15,68 +15,6 @@ concurrency:
1515
cancel-in-progress: true
1616

1717
jobs:
18-
onnx-genai-metadata:
19-
name: ONNX GenAI metadata
20-
runs-on: ubuntu-latest
21-
steps:
22-
- uses: actions/checkout@v7
23-
- uses: actions/checkout@v7
24-
with:
25-
repository: justinchuby/onnx-genai
26-
# Pinned by SHA so the producer/runtime contract under test is
27-
# reproducible. PR #828 is maintained by merging main rather than
28-
# rebasing, so this commit remains reachable from its branch history.
29-
# When bumping, verify reachability with `git merge-base --is-ancestor
30-
# <sha> <branch-tip>`.
31-
ref: 509cd4e9c4471f4cbc59fe44b47168f0ae128fe3
32-
path: validation/onnx-genai
33-
- uses: actions/setup-python@v7
34-
with:
35-
python-version: "3.12"
36-
- name: Install dependencies
37-
run: |
38-
pip install torch --index-url https://download.pytorch.org/whl/cpu
39-
pip install -r requirements/ci/requirements.txt
40-
pip install onnxruntime==1.28.0
41-
pip install -e '.[testing]'
42-
- name: Generate representative packages
43-
run: |
44-
PYTHONPATH=src python tests/generate_onnx_genai_validation_packages.py \
45-
validation/generated
46-
PYTHONPATH=src python tests/compare_onnx_genai_validation_packages.py \
47-
tests/fixtures/onnx_genai_workflows validation/generated
48-
- name: Validate package semantics
49-
run: |
50-
# Report every invalid package, not just the first: the job runs under
51-
# `bash -e`, so an unguarded failure inside the loop would abort it and
52-
# hide the remaining results.
53-
failed=""
54-
# The generated tree, not the committed one: validation resolves each
55-
# component's artifact from disk, and the graphs are generated rather
56-
# than committed. The step above has already proven the two trees
57-
# carry the same metadata.
58-
for package in validation/generated/*; do
59-
[ -f "$package/inference_metadata.yaml" ] || continue
60-
cargo run --quiet \
61-
--manifest-path validation/onnx-genai/Cargo.toml \
62-
-p onnx-genai-metadata --bin validate_metadata -- "$package" \
63-
|| failed="$failed $package"
64-
done
65-
if [ -n "$failed" ]; then
66-
echo "Invalid packages:$failed"
67-
exit 1
68-
fi
69-
- name: Execute all workflow packages
70-
run: |
71-
cp tests/onnx_genai_workflow_conformance.rs \
72-
validation/onnx-genai/crates/onnx-genai-engine/tests/mobius_workflow_conformance.rs
73-
ORT_LIB="$(python -c \
74-
'import onnxruntime, pathlib; print(next((pathlib.Path(onnxruntime.__file__).parent / "capi").glob("libonnxruntime.so*")))')"
75-
MOBIUS_WORKFLOW_CONFORMANCE_DIR="$PWD/validation/generated" \
76-
ONNX_GENAI_ORT_LIB="$ORT_LIB" \
77-
cargo test --manifest-path validation/onnx-genai/Cargo.toml \
78-
-p onnx-genai-engine --test mobius_workflow_conformance -- --nocapture
79-
8018
lint:
8119
name: Lint
8220
runs-on: ubuntu-latest

‎benchmarks/README.md‎

Lines changed: 0 additions & 36 deletions
This file was deleted.

‎benchmarks/muse_568457_release_evidence.json‎

Lines changed: 0 additions & 58 deletions
This file was deleted.

‎benchmarks/muse_9e575_landed_bridge_evidence.json‎

Lines changed: 0 additions & 72 deletions
This file was deleted.

‎benchmarks/muse_c885_release_evidence.json‎

Lines changed: 0 additions & 58 deletions
This file was deleted.

‎benchmarks/muse_prompt_ids.json‎

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)