es-ude / es-ude/OnDeviceTraining

examples: full-SYM ECG reconstruction AE (Conv SYM + Quantization layers + MSE)

Open
#207 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
1
Forks
3
Avg merge
1d 1h
Merged PRs (30d)
8

Description

## Goal

First end-to-end full-SYM training proof. ECG-AE v2 (`examples/ecg_anomaly_ae_v2`: Conv1d + ConvT1d + ReLU + MSE, strides instead of pooling) is separated from full-SYM by exactly two dependencies: #45 (Conv/ConvT SYM) and #192 (Quantization layer).

## Proposed work (milestone M3, one PR)

- SYM twin of the v2 example: explicit Quantization (requant) layers after every accumulator-range producer (Conv/ConvT emit raw accumulator mantissas, same contract as Linear/LayerNorm), MSE loss (already SYM-capable), SYM optimizer.
- Call the opt-in model validator from #192 in the example setup — its first real consumer outside the chain test.
- FLOAT32-twin comparison + parity harness per the Stage-2 example precedent (PR #163); tolerance derived analytically and documented in the example README.

## Dependencies

Hard: #192 (M1) and #45 (M2) must ship first.

## Relations

Enables #137 / #141 — a real fully-quantized-training topology Jan can evaluate against. Part of the SYM completeness program.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.