Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SKaiNET-developers/SKaiNET
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: develop
Choose a base ref
...
head repository: SKaiNET-developers/SKaiNET
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feature/skeep-005-compiled-leg
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 23 files changed
  • 2 contributors

Commits on Sep 4, 2026

  1. feat(schedule): SKEEP-005 phase 2 — graph contexts honour the schedul…

    …e of their ops
    
    The compiled JVM leg executes ComputeGraphExecutor(graph, ctx.ops), so it
    already runs under whatever schedule the ops were built with; the graph/tape
    context just could not say so. New ScheduledOps seam (lang-core): scheduled
    ops report their Schedule and rebuild themselves for another one.
    DefaultCpuOpsBase/DefaultCpuOps/DefaultCpuOpsJvm/AccelerateCpuOps implement
    it; DefaultGraphExecutionContext answers `schedule` from its baseOps and
    `withSchedule` yields a sibling over rescheduled ops (visible downgrade for
    ops that know no schedule, as before).
    
    Tests: ComputeGraphExecutorScheduleTest (sdpa node routes its (batch, head)
    units through a probing schedule, bit-identical to sequential),
    DefaultGraphExecutionContextScheduleTest.
    
    Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
    michalharakal and claude committed Sep 4, 2026
    Configuration menu
    Copy the full SHA
    4336852 View commit details
    Browse the repository at this point in the history
  2. feat(cpu): grouped-query attention native to scaledDotProductAttention

    The TensorOps contract already declared key/value as [batch, nKVHeads, …];
    the CPU kernel required equal head counts and made callers tile K/V to the
    query head count. It now reads K/V through the head-group index
    (h / (nHeads / nKVHeads)), same loop order and arithmetic, so nKV == nHeads
    stays bit-identical and grouped equals tiled bit for bit (SdpaGqaParityTest,
    under a reversing schedule too). SKEEP-005 phase 2: this is the structural
    statement the compile lane lowers without materialising the expansion.
    
    Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
    michalharakal and claude committed Sep 4, 2026
    Configuration menu
    Copy the full SHA
    29547a1 View commit details
    Browse the repository at this point in the history
  3. feat(hlo): grouped-query attention lowers with head groups as a batch…

    …ing dim
    
    SKEEP-005 phase 2, "structure at compile time": when K/V carry fewer heads
    than Q, the converter reshapes Q to [b, nKV, nRep, Sq, hd] and both
    dot_generals batch over [b, nKV] with nRep a free axis. K/V are never
    broadcast or concatenated; the group structure is what the compiler backend
    tiles over, and no core count appears in the module. Explicit rank-4 masks
    keep their batch axis ([0, 1, 3, 4]); the dynamic key-length path is
    unchanged; non-dividing head counts are a conversion failure. Equal head
    counts emit byte-identical MLIR (existing tests).
    
    Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
    michalharakal and claude committed Sep 4, 2026
    Configuration menu
    Copy the full SHA
    5444428 View commit details
    Browse the repository at this point in the history
  4. feat(compile): structural schedule defaults; explicit parallelism is …

    …advisory
    
    SKEEP-005 phase 2, the responsibility split: ScheduleAnnotationPass now
    applies structuralDefaults() (attention → parallel_dims [batch, heads]) to
    every op without a hint of its own, so an exported attention always states
    its structure; defaults may never carry a core count (init check). A
    parallelism arriving explicitly from the DSL is stamped and emitted
    unchanged but flagged advisory in a diagnostic — no compile-time consumer
    reads it, the compiled target chooses its worker count when the device is
    created. HloGenerator.corePasses(target) exposes the layout + schedule
    passes for exporters that trace their own tape.
    
    Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
    michalharakal and claude committed Sep 4, 2026
    Configuration menu
    Copy the full SHA
    adb77ca View commit details
    Browse the repository at this point in the history
  5. docs(skeep-005): phase 2 — key decision on responsibility, compile la…

    …ne, dumps
    
    SKEEP-005 gains "Key decision: who schedules what" (structure at compile
    time, cores at run time; mermaid + ownership table), the phase-2 compile
    lane, rollout/acceptance items and the answered open question; the
    "Algorithm and schedule" explanation gets the same decision; CHANGELOG.
    
    API dumps refreshed. Two lines change rather than add: DefaultCpuOpsBase now
    also implements ScheduledOps, and its `schedule` widened from protected to
    public — both widenings, no caller breaks.
    
    Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
    michalharakal and claude committed Sep 4, 2026
    Configuration menu
    Copy the full SHA
    5323367 View commit details
    Browse the repository at this point in the history
  6. docs(skeep-005): record the phase-2 compiled-leg parity result

    Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
    michalharakal and claude committed Sep 4, 2026
    Configuration menu
    Copy the full SHA
    3a353a8 View commit details
    Browse the repository at this point in the history
  7. test(cpu): SDPA shape validation follows the grouped-query contract

    Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
    michalharakal and claude committed Sep 4, 2026
    Configuration menu
    Copy the full SHA
    57323c8 View commit details
    Browse the repository at this point in the history
Loading