Skip to content

Fix multi-component export portability - #623

Merged
justinchuby merged 11 commits into
mainfrom
fix/multi-component-integration
Aug 26, 2026
Merged

justinchuby merged 11 commits into
mainfrom
fix/multi-component-integration

Conversation

@xiaoyu-work

Copy link
Copy Markdown
Member

This pull request enhances the cross-platform detection and reporting of available RAM in the mobius.preflight module. It introduces platform-specific implementations for Windows, macOS, and Linux, improves test coverage for these changes, and updates related tests to use the new probing mechanism. Additionally, it includes a small fix in a build graph test to ensure node ordering is validated.

Improvements to RAM detection and reporting:

  • Added platform-specific functions for detecting available RAM: _windows_available_ram_bytes for Windows, _darwin_available_ram_bytes for macOS, _proc_available_ram_bytes for Linux, and a fallback using os.sysconf when necessary. The new _probe_available_ram function selects the best available method and returns both the value and its source. ([[1]](https://github.com/onnxruntime/mobius/pull/623/files#diff-9bc6af1f2ebeb847e186fe5570e6ac0d76b0343bf9eb51e0fbd9f2e2c5cfa15aL462-R492), [[2]](https://github.com/onnxruntime/mobius/pull/623/files#diff-9bc6af1f2ebeb847e186fe5570e6ac0d76b0343bf9eb51e0fbd9f2e2c5cfa15aR502-R561))
  • Updated check_ram to use the new _probe_available_ram function, improving reporting by including the source of the RAM measurement. ([src/mobius/preflight.pyL486-R582](https://github.com/onnxruntime/mobius/pull/623/files#diff-9bc6af1f2ebeb847e186fe5570e6ac0d76b0343bf9eb51e0fbd9f2e2c5cfa15aL486-R582))

Testing and test utilities:

  • Added comprehensive tests for the new RAM detection logic, including platform-specific probes, fallback mechanisms, and parsing of macOS vm_stat output. Existing tests now monkeypatch _probe_available_ram instead of _available_ram_bytes. ([[1]](https://github.com/onnxruntime/mobius/pull/623/files#diff-f86b6f1c3e1afc379705d505194294a8ecc9896b48259c164b776eb3f1b34f59R199-R236), [[2]](https://github.com/onnxruntime/mobius/pull/623/files#diff-f86b6f1c3e1afc379705d505194294a8ecc9896b48259c164b776eb3f1b34f59L219-R257), [[3]](https://github.com/onnxruntime/mobius/pull/623/files#diff-f86b6f1c3e1afc379705d505194294a8ecc9896b48259c164b776eb3f1b34f59L230-R276), [[4]](https://github.com/onnxruntime/mobius/pull/623/files#diff-f86b6f1c3e1afc379705d505194294a8ecc9896b48259c164b776eb3f1b34f59L248-R286), [[5]](https://github.com/onnxruntime/mobius/pull/623/files#diff-f86b6f1c3e1afc379705d505194294a8ecc9896b48259c164b776eb3f1b34f59L272-R310), [[6]](https://github.com/onnxruntime/mobius/pull/623/files#diff-f86b6f1c3e1afc379705d505194294a8ecc9896b48259c164b776eb3f1b34f59L291-R329), [[7]](https://github.com/onnxruntime/mobius/pull/623/files#diff-f86b6f1c3e1afc379705d505194294a8ecc9896b48259c164b776eb3f1b34f59L306-R344), [[8]](https://github.com/onnxruntime/mobius/pull/623/files#diff-f86b6f1c3e1afc379705d505194294a8ecc9896b48259c164b776eb3f1b34f59L328-R366))

General codebase improvements:

  • Added missing imports (ctypes, wintypes, re, subprocess, sys) to support the new platform-specific RAM detection logic. ([src/mobius/preflight.pyR41-R52](https://github.com/onnxruntime/mobius/pull/623/files#diff-9bc6af1f2ebeb847e186fe5570e6ac0d76b0343bf9eb51e0fbd9f2e2c5cfa15aR41-R52))
  • In _should_inline, ensured the model graph is sorted after rewrites to maintain correct producer-consumer ordering. ([src/mobius/_optimizations.pyR707-R709](https://github.com/onnxruntime/mobius/pull/623/files#diff-0e0781be69f6ae96d51801d3a2ba76bdb7220c897d668aae0282064c2962e8a2R707-R709))

Build/test validation:

  • In tests/build_graph_test.py, switched to using build_from_module for clarity and added an explicit check that ensures node producers in the vision encoder graph are ordered before their consumers. ([[1]](https://github.com/onnxruntime/mobius/pull/623/files#diff-e3747952023a0b5f01abf736f1c02d1cc314598012d2eb94b7e2dfa8405c9271L1235-R1235), [[2]](https://github.com/onnxruntime/mobius/pull/623/files#diff-e3747952023a0b5f01abf736f1c02d1cc314598012d2eb94b7e2dfa8405c9271R1247-R1254))

@xiaoyu-work
xiaoyu-work requested review from a team and a lite review from Copilot August 25, 2026 18:14
@github-actions

github-actions Bot commented Aug 25, 2026 •

Copy link
Copy Markdown

Performance Comparison

Comparing c3fa21e → e9ce060

Model Metric Baseline Current Delta
bert (feature-extraction) model_size_bytes 359 KB 359 KB +0.0% ⚪
bert (feature-extraction) num_nodes 68 68 +0.0% ⚪
falcon model_size_bytes 364 KB 364 KB +0.0% ⚪
falcon num_nodes 66 66 +0.0% ⚪
gemma2 model_size_bytes 428 KB 428 KB +0.0% ⚪
gemma2 num_nodes 105 105 +0.0% ⚪
gpt2 model_size_bytes 324 KB 324 KB +0.0% ⚪
gpt2 num_nodes 54 54 +0.0% ⚪
llama model_size_bytes 425 KB 425 KB +0.0% ⚪
llama num_nodes 60 60 +0.0% ⚪
llama (static-cache) model_size_bytes 425 KB 425 KB +0.0% ⚪
llama (static-cache) num_nodes 56 56 +0.0% ⚪
mamba (ssm-text-generation) model_size_bytes 296 KB 296 KB +0.0% ⚪
mamba (ssm-text-generation) num_nodes 94 94 +0.0% ⚪
phi3 model_size_bytes 421 KB 421 KB +0.0% ⚪
phi3 num_nodes 58 58 +0.0% ⚪
phi3 (static-cache) model_size_bytes 421 KB 421 KB +0.0% ⚪
phi3 (static-cache) num_nodes 54 54 +0.0% ⚪
qwen2 model_size_bytes 425 KB 425 KB +0.0% ⚪
qwen2 num_nodes 60 60 +0.0% ⚪
qwen2 (static-cache) model_size_bytes 425 KB 425 KB +0.0% ⚪
qwen2 (static-cache) num_nodes 56 56 +0.0% ⚪
qwen3_5_moe (hybrid-text-generation) model_size_bytes 506 KB 506 KB +0.0% ⚪
qwen3_5_moe (hybrid-text-generation) num_nodes 265 265 +0.0% ⚪
qwen3_5_text (hybrid-text-generation) model_size_bytes 458 KB 458 KB +0.0% ⚪
qwen3_5_text (hybrid-text-generation) num_nodes 127 127 +0.0% ⚪
qwen3_5_vl (hybrid-qwen-vl) model_size_bytes 977 KB 977 KB +0.0% ⚪
qwen3_5_vl (hybrid-qwen-vl) num_nodes 429 450 +4.9% ⚪
t5 (seq2seq) model_size_bytes 836 KB 836 KB +0.0% ⚪
t5 (seq2seq) num_nodes 176 176 +0.0% ⚪
whisper (speech-to-text) model_size_bytes 1008 KB 1008 KB +0.0% ⚪
whisper (speech-to-text) num_nodes 128 128 +0.0% ⚪

No performance regressions.

Comment thread src/mobius/preflight.py
"run_preflight",
]

import ctypes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates mobius.preflight to detect and report available RAM in a cross-platform way (Windows/macOS/Linux with fallbacks), and adds/updates tests to validate the new probing behavior. It also adds a small optimization-step change to ensure ONNX graphs are topologically sorted after rewrite passes, plus a build-graph test assertion to validate producer/consumer ordering.

Changes:

  • Add platform-specific RAM probing (GlobalMemoryStatusEx, vm_stat, /proc/meminfo, os.sysconf) and surface the probe source in check_ram.
  • Update preflight tests to target _probe_available_ram and add vm_stat parsing coverage.
  • Ensure graphs are sorted after rewrites in optimizations; add a build-graph test that asserts producer nodes precede consumers.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
src/mobius/preflight.py Adds cross-platform RAM probing and reports the measurement source in check_ram.
src/mobius/preflight_test.py Adds unit tests for probe selection and vm_stat parsing; updates existing tests to patch the new probe API.
src/mobius/_optimizations.py Sorts the graph after rewrites to maintain valid producer→consumer ordering.
tests/build_graph_test.py Uses build_from_module and asserts vision encoder node ordering is topologically valid.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/mobius/preflight.py Outdated
Comment on lines +526 to +533
available_pages = 0
for line in output.splitlines():
name, separator, raw_value = line.partition(":")
if separator and name in available_page_names:
value = raw_value.strip().rstrip(".")
if value.isdigit():
available_pages += int(value)
return available_pages * page_size
Comment thread src/mobius/preflight.py Resolved
Comment thread src/mobius/preflight_test.py Outdated
Comment on lines +199 to +203
def test_available_ram_probe_returns_positive_value(self):
available = preflight._available_ram_bytes()

assert available is not None
assert available > 0
@github-actions

github-actions Bot commented Aug 25, 2026 •

Copy link
Copy Markdown

🏗️ Architecture Diff

Comparing c3fa21e → e9ce060

Model Sub-model Changes Status
bert (feature-extraction) model 0 ⚪
falcon model 0 ⚪
gemma2 model 0 ⚪
gemma4 (gemma4) decoder 0 ⚪
gemma4 (gemma4) embedding 0 ⚪
gemma4 (gemma4) vision_encoder 0 ⚪
gemma4_text model 0 ⚪
gpt2 model 0 ⚪
llama model 0 ⚪
llama (static-cache) model 0 ⚪
mamba (ssm-text-generation) model 0 ⚪
phi3 model 0 ⚪
phi3 (static-cache) model 0 ⚪
qwen model 0 ⚪
qwen (static-cache) model 0 ⚪
qwen2 model 0 ⚪
qwen2 (static-cache) model 0 ⚪
qwen2_moe model 0 ⚪
qwen2_moe (static-cache) model 0 ⚪
qwen3 model 0 ⚪
qwen3 (static-cache) model 0 ⚪
qwen3_5_moe (hybrid-text-generation) model 0 ⚪
qwen3_5_text (hybrid-text-generation) model 0 ⚪
qwen3_5_vl (hybrid-qwen-vl) decoder 25 🔴
qwen3_5_vl (hybrid-qwen-vl) embedding 25 🔴
qwen3_5_vl (hybrid-qwen-vl) vision_encoder 5 🔴
qwen3_moe model 0 ⚪
qwen3_moe (static-cache) model 0 ⚪
qwen3_next (hybrid-text-generation) model 0 ⚪
t5 (seq2seq) decoder 0 ⚪
t5 (seq2seq) encoder 0 ⚪
whisper (speech-to-text) decoder 0 ⚪
whisper (speech-to-text) encoder 0 ⚪
qwen3_5_vl (hybrid-qwen-vl) / decoder — 25 change(s)

Op summary: 150 → 153 nodes

--- base
+++ head
@@ -1,3 +1,6 @@
+Constant
+Reshape
+Transpose
 Constant
 Gather
 Shape

Added nodes:

  • + Constant
  • + Reshape
  • + Transpose

Modified attributes:

  • node[0] Constant: value_int: 0 → None, value_ints: None → [0, 0, 1, 64]
  • node[12] Gather: axis: None → 0
  • node[16] Gather: axis: None → 0
  • node[20] Gather: axis: None → 0
  • node[37] Cast: to: 1 → 9
  • node[60] Constant: value_ints: [2, 16] → [32, 32, 64]

Connectivity changes:

  • node[12] Gather: input_ids [9, 62] → [63, 14]
  • node[15] Gather: input_ids [8, 66] → [9, 65]
  • node[16] Gather: input_ids [9, 66] → [63, 15]
  • node[19] Gather: input_ids [8, 70] → [9, 69]
  • node[20] Gather: input_ids [9, 70] → [63, 16]
  • node[24] Where: input_ids [11, 72, 75] → [10, 70, 66]
  • node[87] Cast: input_ids [139] → [141]
  • node[102] Transpose: input_ids [34] → [33]
  • node[103] MatMul: input_ids [154, 158] → [157, 158]
  • node[105] Transpose: input_ids [35] → [34]
  • node[106] MatMul: input_ids [160, 161] → [157, 161]
  • node[140] Transpose: input_ids [48] → [47]
  • node[141] MatMul: input_ids [195, 199] → [198, 199]
  • node[143] Transpose: input_ids [49] → [48]
  • node[144] MatMul: input_ids [201, 202] → [198, 202]

Interface changes:

  • input[3]: shape ['1', '?', '?', '64'] → ['?', '?', '64']
qwen3_5_vl (hybrid-qwen-vl) / embedding — 25 change(s)

Op summary: 32 → 46 nodes

--- base
+++ head
@@ -1,3 +1,14 @@
+Constant
+Constant
+Constant
+Slice
+Constant
+Constant
+Constant
+Slice
+Constant
+Reshape
+Transpose
 Gather
 Constant
 Equal
@@ -30,3 +41,6 @@
 Where
 Unsqueeze
 Concat
+Transpose
+Constant
+Reshape

Added nodes:

  • + Constant
  • + Constant
  • + Constant
  • + Slice
  • + Constant
  • + Constant
  • + Constant
  • + Slice
  • + Constant
  • + Reshape
  • + Transpose
  • + Transpose
  • + Constant
  • + Reshape

Modified attributes:

  • node[1] Constant: value_int: 248056 → None, value_ints: None → [64]
  • node[5] Constant: value_int: 1 → None, value_ints: None → [128]
  • node[12] Constant: value_int: None → 248056, value_ints: [1] → None

Connectivity changes:

  • node[22] CastLike: input_ids [5, 28] → [4, 9]
  • node[24] Shape: input_ids [28] → [9]
  • node[25] Concat: input_ids [30, 31] → [29, 30]
  • node[26] Expand: input_ids [29, 32] → [28, 31]
  • node[27] Concat: input_ids [28, 33] → [9, 32]
  • node[28] Gather: input_ids [34, 17] → [33, 27]
  • node[29] Where: input_ids [10, 35, 26] → [20, 34, 17]

Interface changes:

  • input count 3 → 2; input[1]: shape ['?', '64'] → ['?', '128']; output[1]: shape ['1', '?', '?', '64'] → ['?', '?', '64']
qwen3_5_vl (hybrid-qwen-vl) / vision_encoder — 5 change(s)

Op summary: 247 → 251 nodes

--- base
+++ head
@@ -245,3 +245,7 @@
 Add
 Unsqueeze
 Concat
+Transpose
+Constant
+Reshape
+Concat

Added nodes:

  • + Transpose
  • + Constant
  • + Reshape
  • + Concat

Interface changes:

  • output count 2 → 1; output[0]: shape ['?', '64'] → ['?', '128']

Legend: ⚪ No change · 🔵 Minor (attrs/inits) · 🟡 Moderate (nodes added/removed) · 🔴 Major (interface changed)

)

# Rewrites may insert producers after existing consumers.
model.graph.sort()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this needed?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

A Mobius rewrite may delete existing nodes and insert new ones. In the Qwen3-VL vision encoder, we have observed the following ordering:

consumer: Reshape(val_38)
producer: SkipLayerNormalization -> val_38

the consumer appears before its producer in the graph. ORT may sometimes tolerate this ordering, but the ONNX checker will reject it with the following error:

Nodes in a graph must be topologically sorted.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I wonder if we should fix the rewrite instead? Generally we maintain the topo sort invariant at each step in this repo

@CLAassistant

CLAassistant commented Aug 25, 2026 •

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ xiaoyu-work
✅ justinchuby
❌ Copilot
You have signed the CLA already but the status is still pending? Let us recheck it.

justinchuby added a commit that referenced this pull request Aug 25, 2026
## Summary

- clean up still-valid typing, documentation, test robustness,
error-message,
  maintainability, and performance findings left by the GGUF PR stack
- preserve the behavioral fixes merged in #625-#632
- hash reused multi-GB GGUF sources once, at the final pre-publication
integrity
  gate, while retaining cheap identity checks around staging

Exact base: `2db9d33debdc254d879a51b14434c9a81c230f4f`

Exact head: `4541ed2bc9d2ab4227484510b4a85b2d9113eb25`

## Reconstructed original 17-item low-priority tranche

The persisted audit retained only the totals, so this list was
reconstructed
from the live threads and current source. All but the already-fixed #596
comment are addressed in this PR.

| PR | Comment | Disposition |
|---|---:|---|
| #550 | 3837144656 | Implemented: correct tuple return annotation |
| #552 | 3837389183 | Implemented: multichannel waveform shape docs |
| #559 | 3837716261 | Implemented: name-based cache assertions |
| #573 | 3854308350 | Implemented: one final GGUF hash, with integrity
regression coverage |
| #574 | 3854345521 | Implemented: `TensorRole \| None` typing |
| #574 | 3854345597 | Implemented: removed obsolete verdict filtering |
| #577 | 3854472859 | Implemented: documented SSM sequence length |
| #578 | 3843112613 | Implemented: documented F64 passthrough |
| #579 | 3854518332 | Implemented: generalized fused-projection error |
| #580 | 3854576300 | Implemented: removed brittle node counts |
| #583 | 3854681386 | Implemented: documented conditional draft outputs
|
| #587 | 3854816872 | Implemented: corrected MTP output contract docs |
| #596 | 3846110059 | Already fixed on base: unambiguous GQA bias
comment |
| #600 | 3855174281 | Implemented: metadata-count-only MTP error |
| #607 | 3855776048 | Implemented: stable route-field assertions |
| #607 | 3855776086 | Implemented: public tensor iterator |
| #609 | 3856486136 | Implemented: fail-closed LM-head comment |

## Current unresolved-thread disposition

This covers all 48 Copilot threads returned by the reproducible
#600-#630
query. The one human #623 thread is excluded.

| PR | Comment | Current-main disposition and evidence |
|---|---:|---|
| #600 | 3855174177 | Already fixed by #629: package cycle and
reserved-sidecar validation |
| #600 | 3855174238 | Already fixed by #629: explicit MTP sidecar
naming/loading |
| #600 | 3855174281 | Implemented here: error no longer invents an
observed block count |
| #602 | 3848155961 | Outside exact stack; already fixed: top-level
`expert_dtype` is classified before early return |
| #602 | 3848155983 | Outside exact stack; still-valid behavioral
block-quant validation, unchanged |
| #602 | 3848156000 | Outside exact stack; still-valid truncated-read
behavioral finding, unchanged |
| #602 | 3848156022 | Outside exact stack; still-valid descriptor
byte/dtype validation, unchanged |
| #602 | 3848156040 | Outside exact stack; still-valid expert-bank
payload validation, unchanged |
| #603 | 3855249765 | Already fixed by #630: runtime preflight preserves
shard sets |
| #603 | 3855249840 | Already fixed by #630: success output follows
durable runtime publication |
| #604 | 3855343082 | Implemented here: graph-only MTP persistence
distinguished from runtime rejection |
| #604 | 3855343131 | Already fixed by #630: runtime success messages
are atomic |
| #607 | 3855776001 | Implemented here: missing generation golden skips
before provenance read |
| #607 | 3855776048 | Implemented here: only stable route fields are
asserted |
| #607 | 3855776086 | Implemented here: tensor count uses
`tensor_items_raw()` |
| #608 | 3856079371 | Still-valid behavioral cache-symlink containment
finding; unchanged |
| #608 | 3856079415 | Still-valid behavioral lowercase-digest validation
finding; unchanged |
| #609 | 3856486136 | Implemented here: comment matches value-preserving
policy |
| #610 | 3855541683 | Already fixed by #628: Falcon bias precedence is
explicit |
| #610 | 3855541761 | Already fixed by #628: CTRL tiny config exercises
projection biases |
| #611 | 3856595840 | Implemented here: runtime test resolves the
distribution providing the module |
| #612 | 3855677383 | Already fixed by #625: supported-version
endianness detection |
| #612 | 3855677427 | Implemented here: shared `INT64_MAX` sentinel |
| #612 | 3855677460 | Implemented here: shared PLaMo2 width inference |
| #612 | 3855677486 | Implemented here: accepted PLaMo2 activation
spellings are explicit |
| #613 | 3855845678 | Implemented here: canonical issue URL |
| #613 | 3855845757 | Implemented here: Mamba-1 function-registration
docs |
| #613 | 3855845806 | Implemented here: test expects the canonical issue
URL |
| #614 | 3855988545 | Implemented here: removed stale Nemotron-H
divergence comments |
| #614 | 3855988597 | Already fixed by #628: zero-head geometry raises
actionable `ValueError` |
| #615 | 3856082290 | Already fixed by #626: dense GraniteHybrid bias
closure |
| #618 | 3856729330 | Implemented here: required routes filter ORT GenAI
evidence |
| #618 | 3856729409 | Implemented here: env-selected runtime version is
authoritative |
| #618 | 3856729490 | Stale/N/A: PR-description-only matrix claim;
repository workflow claims one pinned version |
| #618 | 3856729563 | Implemented here: schema tail restored to normal
indentation |
| #619 | 3856342484 | Already fixed on base: Kimi Linear uses
`/issues/605` |
| #619 | 3856342532 | Already fixed by #628: config rejects convolution
kernels below 2 |
| #619 | 3856342580 | Already fixed by #628: GGUF contract rejects
convolution kernels below 2 |
| #620 | 3855717041 | Already fixed by #627: tied LM-head-only
checkpoints are retained |
| #621 | 3856722324 | Already fixed by #628: Kimi-K3 required metadata
is complete |
| #623 | 3855931210 | N/A to current main: comment belongs to open,
unmerged #623 |
| #623 | 3855939302 | N/A to current main: comment belongs to open,
unmerged #623 |
| #623 | 3855939358 | N/A to current main: comment belongs to open,
unmerged #623 |
| #623 | 3855939394 | N/A to current main: comment belongs to open,
unmerged #623 |
| #624 | 3856777152 | Implemented here: runtime compatibility reuses the
emitted model type |
| #625 | 3857049733 | Implemented here: unsupported header reports both
endian candidates |
| #629 | 3857313182 | Newer post-audit behavioral sidecar-symlink
cleanup finding; unchanged |
| #629 | 3857313251 | Newer post-audit cross-platform path-safety
finding; unchanged |

## Validation

- affected GGUF/package/ORT GenAI/model/schema tests: 1,040 passed
- broad non-integration suite: 7,851 passed, 56 skipped, 1 subtest
passed
- generated GGUF docs checks: 7 passed
- initialized `lintrunner`; full lint/format passed
- GPT-5.6 Sol medium review: one integrity finding fixed; re-review
found no significant issues

Signed-off-by: Justin Chu <[email protected]>
Co-authored-by: Copilot App <[email protected]>
@xiaoyu-work

Copy link
Copy Markdown
Member Author

@copilot resolve the merge conflicts in this pull request

Copilot AI commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Resolved the merge conflicts and pushed merge commit f72a8af. Targeted validation passed for tests/model_coverage_test.py and tests/falcon_h1_test.py::test_falcon_h1_prefill_decode_logits_and_four_states_match_transformers.

Comment thread tests/model_coverage_test.py Resolved
xiaoyu-work and others added 9 commits August 25, 2026 19:41
Open staged files with write access before fsync on Windows so os.fsync uses a valid descriptor for the platform commit call. Add a focused regression test for the Windows branch.

Signed-off-by: GitHub <[email protected]>

Co-authored-by: xiaoyu-work <[email protected]>
Apply the repository's pinned Ruff formatting so the CI lint job accepts the Windows fsync regression test.

Co-authored-by: Copilot App <[email protected]>
Signed-off-by: Justin Chu <[email protected]>
justinchuby and others added 2 commits August 25, 2026 19:41
Fail before weight remapping when a packed Gemma4 expert sidecar is present, since the current graph exposes float expert tensors and cannot bind packed QMoE weights. Cover both text-only and multimodal preprocessing paths.

Co-authored-by: Copilot App <[email protected]>
Signed-off-by: Justin Chu <[email protected]>
@justinchuby
justinchuby force-pushed the fix/multi-component-integration branch from 8dd2b4e to e9ce060 Compare August 26, 2026 02:52
@justinchuby
justinchuby merged commit 710b032 into main Aug 26, 2026
12 of 21 checks passed
@justinchuby
justinchuby deleted the fix/multi-component-integration branch August 26, 2026 02:53
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.

5 participants