Add EdgeCrafter Model#6940
Queued
kprokofi wants to merge 18 commits into
Queued
Conversation
⏱️ Backend import time —
|
| Accelerator | Cumulative (s) | Self (s) |
|---|---|---|
cpu |
4.413 | 0.003 |
xpu |
4.432 | 0.003 |
cuda |
4.666 | 0.003 |
📊 Test coverage report
|
🐳 Docker image sizes
|
|
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
b5548ae to
31213e2
Compare
89206dc to
34d6eb3
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces the EdgeCrafter (ECDet) object detection model family into the GetiTune library and exposes the new architectures in the backend via supported-model manifests and config conversion mappings.
Changes:
- Added EdgeCrafter detection recipes and backend manifests for S/M/L/X variants.
- Implemented EdgeCrafter model components in the library (backbone, decoder/head, loss, detector wrapper, and shared mixin) and wired them into existing registries/config tables.
- Updated backend model-architectures endpoint tests to account for the additional detection manifests.
Reviewed changes
Copilot reviewed 23 out of 23 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
library/src/getitune/recipe/detection/edgecrafter_s.yaml |
Adds ECDet-S training recipe configuration. |
library/src/getitune/recipe/detection/edgecrafter_m.yaml |
Adds ECDet-M training recipe configuration. |
library/src/getitune/recipe/detection/edgecrafter_l.yaml |
Adds ECDet-L training recipe configuration. |
library/src/getitune/recipe/detection/edgecrafter_x.yaml |
Adds ECDet-X training recipe configuration. |
library/src/getitune/backend/lightning/models/detection/edgecrafter.py |
Adds Lightning detection model wrapper for EdgeCrafter. |
library/src/getitune/backend/lightning/models/instance_segmentation/edgecrafter_inst.py |
Adds Lightning instance-segmentation wrapper for EdgeCrafter (ECSeg weights). |
library/src/getitune/backend/lightning/models/instance_segmentation/__init__.py |
Exports EdgeCrafterInst from the instance segmentation models package. |
library/src/getitune/backend/lightning/models/detection/necks/dfine_hybrid_encoder.py |
Registers EdgeCrafter variant configs for the hybrid encoder. |
library/src/getitune/backend/lightning/models/detection/losses/ec_loss.py |
Adds ECCriterion with optional mask losses for instance segmentation. |
library/src/getitune/backend/lightning/models/detection/losses/__init__.py |
Exposes ECCriterion from the detection losses package. |
library/src/getitune/backend/lightning/models/detection/heads/ec_decoder.py |
Adds ECTransformer decoder and segmentation head implementation. |
library/src/getitune/backend/lightning/models/detection/detectors/edgecrafter.py |
Adds DETR-style detector wrapper integrating the ECTransformer and optional masks. |
library/src/getitune/backend/lightning/models/detection/detectors/__init__.py |
Exposes ECDETRDetector from the detectors package. |
library/src/getitune/backend/lightning/models/detection/backbones/ecvit.py |
Adds ECViTAdapter backbone implementation for EdgeCrafter. |
library/src/getitune/backend/lightning/models/detection/__init__.py |
Exposes EdgeCrafter from the detection models package. |
library/src/getitune/backend/lightning/models/common/utils/assigners/hungarian_matcher.py |
Handles missing pred_masks safely in mask cost computation. |
library/src/getitune/backend/lightning/models/common/edgecrafter_mixin.py |
Adds shared model construction, IO adaptation, and optimizer config for EdgeCrafter. |
application/backend/app/supported_models/manifests/detection/edgecrafter_s.yaml |
Adds backend manifest for ECDet-S. |
application/backend/app/supported_models/manifests/detection/edgecrafter_m.yaml |
Adds backend manifest for ECDet-M. |
application/backend/app/supported_models/manifests/detection/edgecrafter_l.yaml |
Adds backend manifest for ECDet-L. |
application/backend/app/supported_models/manifests/detection/edgecrafter_x.yaml |
Adds backend manifest for ECDet-X. |
application/backend/app/execution/common/geti_config_converter.py |
Registers EdgeCrafter template IDs to map to GetiTune recipes. |
application/backend/tests/unit/api/routers/test_model_architectures.py |
Updates expected detection model counts for manifests endpoint. |
Contributor
Author
Contributor
|
It would be good to include one of the new models in the benchmark_manifest. |
Contributor
Author
detection
|
itallix
reviewed
Jul 7, 2026
Contributor
Author
Contributor
Author
itallix
approved these changes
Jul 8, 2026
Any commits made after this event will not be merged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
How to test
Checklist