Repository navigation
feat(client): add Cortex transport + DSSST1 wire codec - #47
sfc-gh-mwyatt wants to merge 1 commit into
Conversation
53c03bb to
e80a270
Compare
|
Reviewed the whole three-PR stack end-to-end and ran the tests on each branch (13/13, 14/14, 44/44 pass). Full write-up here since this PR sits at the top of the stack; specific per-PR notes on #45 and #46.
Splitting the remaining feedback into code fixes for this stack vs. plan-level work ( Code fixes in this stackF1 —
|
Add the Cortex (cortex-training) transport over the SnowAPI GS REST surface: an op->handler table that builds the CreateJob wire schema, submits each op, and polls the async request to completion. Add the DSSST1 safetensors wire codec (wire.py) it depends on -- the single serialization source of truth (codec + op metadata + byte chunking), pickle-free on decode. Wire cortex into the config (cortex backend + cortex_* fields), make_transport, and the example. Tests: tests/client/test_wire.py (roundtrip, chunking, pickle rejection) and tests/client/test_cortex.py (wire schema, sub-job gating/order, result decoders). Co-authored-by: Cursor <cursoragent@cursor.com>
e80a270 to
182e925
Compare
Add the Cortex (cortex-training) transport over the SnowAPI GS REST surface: an op->handler table that builds the CreateJob wire schema, submits each op, and polls the async request to completion. Add the DSSST1 safetensors wire codec (wire.py) it depends on -- the single serialization source of truth (codec + op metadata + byte chunking), pickle-free on decode. Wire cortex into the config (cortex backend + cortex_* fields), make_transport, and the example.
Tests: tests/client/test_wire.py (roundtrip, chunking, pickle rejection) and tests/client/test_cortex.py (wire schema, sub-job gating/order, result decoders).