46 lines
1.8 KiB
Markdown
46 lines
1.8 KiB
Markdown
# Refactor Progress Log
|
|
|
|
## 2026-02-05
|
|
- Started modularization refactor per `docs/flow_modularization_notes.md`.
|
|
- Goal: introduce backend interfaces, decouple ONNX evaluation, keep behavior stable.
|
|
|
|
### Planned Steps
|
|
1) Create backend interfaces (quantization/compiler, optional evaluator/simulator).
|
|
2) Update ONNX/BIE/NEF workers to use backends and make eval optional.
|
|
3) Review boundaries and document issues.
|
|
|
|
### Issues / Risks
|
|
- None yet.
|
|
|
|
## 2026-02-05 Update
|
|
- Added backend interfaces under `services/backends`.
|
|
- ONNX worker now makes IP evaluation optional via `parameters.enable_evaluate`.
|
|
- BIE/NEF workers now call backend interfaces instead of direct `ModelConfig` usage.
|
|
|
|
### Issues / Risks
|
|
- `services/workers/onnx/core.py` now sets `eval_report` to empty string when disabled; check callers if they rely on non-empty.
|
|
- Quantization backend supports optional `onnx_model` to avoid duplicate optimization.
|
|
|
|
## 2026-02-05 Update 2
|
|
- Added explicit request flags for evaluator/simulator toggles in worker schemas:
|
|
- ONNX: `enable_evaluate`, `enable_sim_fp`
|
|
- BIE: `enable_sim_fixed`
|
|
- NEF: `enable_sim_hw`
|
|
|
|
### Issues / Risks
|
|
- Simulator flags are defined but not yet wired to execution paths.
|
|
|
|
## 2026-02-05 Update 3
|
|
- Documented worker API flags in `README.md` and `docs/Design.md`.
|
|
|
|
## 2026-02-05 Update 4
|
|
- Set `enable_evaluate` default to `false` to match original Web GUI flow.
|
|
- Documented original Web GUI ON/OFF expectations in `README.md` and `docs/Design.md`.
|
|
|
|
## 2026-02-05 Update 5
|
|
- Added ON/OFF comparison table for original Web GUI vs current workers in `README.md` and `docs/Design.md`.
|
|
|
|
## 2026-02-05 Update 6
|
|
- Default `enable_evaluate` in `process_onnx_core` set to `False` to match Web GUI defaults.
|
|
- Full worker test set passed (onnx/bie/nef/e2e/e2e-tflite).
|