Skip to content

Distillation Experiment v2: CIFAR-10 ResNet-50→18#3

Closed
SuperInstance wants to merge 2 commits into
mainfrom
distillation-experiment-v2
Closed

Distillation Experiment v2: CIFAR-10 ResNet-50→18#3
SuperInstance wants to merge 2 commits into
mainfrom
distillation-experiment-v2

Conversation

@SuperInstance

@SuperInstance SuperInstance commented May 21, 2026

Copy link
Copy Markdown
Owner

Closing: distillation experiment + nerve files duplicated in #7 which has the full simulators too.

CCC added 2 commits May 21, 2026 17:03
- Add jepa-cli binary target (src/main.rs) that reads room-state JSON
  from stdin/file and emits latents JSON to stdout.
- Update Cargo.toml to build both cdylib/rlib and the binary.
- Add serde_json dependency for JSON I/O.
- Create room_grid_rust.py: subprocess wrapper with EXACT same API as
  room_grid.py (JEPAGrid class, make_weights, novelty, Fingerprint).
  Falls back to numpy einsum if jepa-cli binary is unavailable.
- Add test_api_parity.py: pytest suite comparing Python vs Rust
  outputs, shape tests, fallback verification, and JSON roundtrip.

No compiled extension (PyO3/maturin) — pure subprocess approach
avoids build timeouts. Cargo build can be done in CI.

Branch: jepa-rust-wire-v2
- experiments/distillation_full.py: training script with 3 loss variants
  (hard CE, soft KL T=4, feature MSE) + channel adapters + AMP support
- experiments/distillation_config.yaml: hyperparameters
- docs/DISTILLATION-EXPERIMENT.md: architecture, hardware reqs, usage

Smoke test: data loads, model forward pass, loss computation pass.
@SuperInstance SuperInstance deleted the distillation-experiment-v2 branch May 21, 2026 16:37
SuperInstance pushed a commit that referenced this pull request May 25, 2026
- 5 new SDA pipelines: identity_monitor, mesh_diversity, opcode_safety,
  breeder_thermal, hebbian_routing
- beat() extended: breeder tick, SSE publish, metronome gossip
- 6 new optional subsystems: SSE dashboard, gossip bridge, opcode index,
  hebbian mesh, decision journal
- WALQuery now routes to WALIndex for fast index-hint queries
- Tests: 60/60 passing (40 base + 20 integration)

Refs: #4, #3
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.

1 participant