es-ude / es-ude/OnDeviceTraining

Implement InferenceImplementationProviders (Float32, SymInt32, Asym)

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

Description

## Context

Sub-issue of #58.

**Blocked by:** #59 (scaffolding)
**Blocks:** #62 (ir2c), #64 (E2E tests)

## Goal

Implement `InferenceImplementationProvider` protocol for all three quantization types.

## Protocol (defined by creator)

```python
class InferenceImplementationProvider(Protocol):
def model_attributes(self, sub_graph: DataGraph) -> AttributeMapping: ...
```

Simpler than training — only `model_attributes()` with forward-pass C symbols.

## Acceptance Criteria

- [ ] `Float32InferenceProvider` implemented and tested
- [ ] `SymInt32InferenceProvider` implemented and tested
- [ ] `AsymInferenceProvider` implemented and tested
- [ ] Providers return valid attribute mappings accepted by `apply_inference_provider`
- [ ] C symbol names match actual function names in the C framework

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.