Date: 2026-07-15
Purpose: Survey existing implementations relevant to NXRT's scheduling/session management design.
Flightdeck already has the right execution substrate for multi-agent work: clear role separation, role-scoped tool permissions, a typed task DAG, reviewer handoff, and persistent status/reporting surfaces. The main gap versus Paperclip is not orchestration power. It is operational governance.
Paperclip's strongest transferable patterns for Flightdeck are:
- First-class approval and interaction objects rather than implied "gated" states.
- Explicit blocker ownership and unblock actions rather than blocked tasks with only dependency/state visibility.
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
| ./build.sh --config Debug --use_cuda --cuda_home /datadisks/disk1/<user name>/cuda12.9 --cudnn_home /datadisks/disk1/<user name>/cudnn9.8 --cmake_extra_defines CMAKE_CUDA_ARCHITECTURES=native onnxruntime_USE_FLASH_ATTENTION=ON --build_wheel --parallel --skip_tests |
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
| #!/usr/bin/env python | |
| # Copyright (c) ONNX Project Contributors | |
| # SPDX-License-Identifier: Apache-2.0 | |
| r"""Phi-4 Multimodal output parity check: ONNX (mobius) vs HuggingFace. | |
| Compares the prefill logits of the ONNX 4-model pipeline (vision, | |
| speech, embedding, decoder) against HuggingFace's PyTorch reference | |
| for every modality combination: |
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
| # Mask-specific variables | |
| # TODO: Reconcile differences between `seqlens_k` and `key_total_seq_lens` in the GroupQueryAttention and SparseAttention implementations. Ideally the same subgraph can be shared for both. | |
| self.mask_attrs = { | |
| # "mask_name": "", # Name of node that outputs 4D causal attention mask (used as add_qk in MultiHeadAttention) | |
| "seqlens_k": "", # Sum of each row in attention mask - 1 (used as input to GroupQueryAttention) | |
| "total_seq_len": "", # Size of total sequence length in attention mask (used as input to GroupQueryAttention and SparseAttention) | |
| # "block_row_indices": "", # Row indices of CSR format of block mask (used as input to SparseAttention) | |
| # "block_col_indices": "", # Col indices of CSR format of block mask (used as input to SparseAttention) | |
| # "key_total_seq_lens": "", # Sum of each row in attention mask (used as input to SparseAttention) | |
| } |
Purpose: Research for proposing new ONNX operators to support Qwen3.5/Qwen3-Next linear attention.
Date: 2026-02-27
Sources:
- HuggingFace transformers:
src/transformers/models/qwen3_next/modular_qwen3_next.py - HuggingFace transformers:
src/transformers/models/qwen3_5/modular_qwen3_5.py - flash-linear-attention library:
fla/ops/gated_delta_rule/
Design and implement symbolic shape inference capability for the ONNX IR that can propagate shapes through the graph while preserving symbolic dimension relationships (e.g., batch, seq_len, N+1).
SymbolicDimclass (_core.py:1241): Immutable symbolic dimension with string or None valuesShapeclass (_core.py:1330): Supports mixed static/dynamic dimensions, freezing, denotations
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
| """ | |
| Perch v2 Bird Audio Classification Model - PyTorch Implementation | |
| This module provides a pure PyTorch implementation of the Perch v2 model, | |
| converted from the original ONNX model. The model processes 10-second audio | |
| clips at 16kHz (160,000 samples) and produces bird species embeddings and | |
| classification logits. | |
| Architecture: | |
| - Learned frontend with convolution-based STFT and mel filterbank |
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
| import onnx_ir as ir | |
| import onnx_ir.passes.common | |
| import onnxscript | |
| m = ir.load("perch_v2_opt3.onnx") | |
| for node in m.graph: | |
| if node.op_type == "MatMul": | |
| print(node) | |
| if node.inputs[0].producer().op_type == "Reshape": |
NewerOlder