Ground truth: decide on gradient validation (currently fully unimplemented)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Ruhig
- Bereich
- machine-learning, testing
Rechercherichtung
Start by reading gt/pytorch/io/writer.py, GroundTruthLoader.kt, GroundTruthValidator.validateGradientsInternal, CONTRACT.md, and TESTING.md to understand what is implemented and documented. Decide whether gradient validation should be implemented on both sides or explicitly de-scoped; done means the chosen path is made consistent across code and documentation, including removing misleading unused API surface if de-scoped.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Sub-issue of #984.
Despite the "gradienttracer" name, no gradient is ever actually checked today.
ToleranceConfig.GRADIENT, GroundTruthTestCase.expectedGradients, and grad_*-tensor
parsing all exist on the Kotlin side (GroundTruthLoader.kt,
GroundTruthValidator.validateGradientsInternal) — but store_experiment_as_gguf
(gradienttracer's gt/pytorch/io/writer.py) never calls .backward() or writes any
grad_* tensor. validateGradientsInternal is explicitly a placeholder (// TODO: Implement actual gradient computation via tape) that always reports failure if ever
invoked with real data.
Decision needed
- Implement it: add
.backward()+grad_*tensor serialization to
store_experiment_as_gguf(every@Executableinput already hasrequires_grad=True
set, so the gradient is available, just not captured), and implement SKaiNET-side
backward-pass execution inGroundTruthValidator.validateGradientsInternalto actually
compare against it. This is real, nontrivial work on both sides — SKaiNET's own
autodiff/backward execution path needs to be driveable from
skainet-test-groundtruth, which it currently isn't. - Explicitly de-scope it: if gradient validation isn't a near-term priority, say so
inCONTRACT.mdandTESTING.md(which currently reads as if this already works),
and consider whether the deadexpectedGradients/ToleranceConfig.GRADIENT/
validateGradientsparameter surface should be removed rather than left as
looks-implemented-but-isn't.
Either answer is fine — the point of this issue is picking one, since right now the code
reads as "supported" when it silently isn't.
- Vorherrschende Sprache
- Kotlin
- Sterne
- 52
- Forks
- 15
- Ø Merge
- 1 T. 50 Min.
- Gemergte PRs (30 T.)
- 73
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus SKaiNET-developers/SKaiNET
-
coding size:s skill:kotlin-core sub-issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
SKaiNET-developers/SKaiNET#1421 ·
Maintainer antworten meist innerhalb von 1 Tag
-
coding size:s skill:kotlin-core sub-issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
SKaiNET-developers/SKaiNET#1419 ·
Maintainer antworten meist innerhalb von 1 Tag
-
coding good first issue size:s skill:kotlin-core sub-issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
SKaiNET-developers/SKaiNET#1418 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Lane 2 · kotlin-core] NotImplemented stubs — remove or implement TensorDefineDslImpl.create()Offencoding good first issue size:xs skill:kotlin-core sub-issue
Schwierigkeit 2/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
SKaiNET-developers/SKaiNET#1417 ·
Maintainer antworten meist innerhalb von 1 Tag
-
coding good first issue size:s skill:kotlin-core sub-issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
SKaiNET-developers/SKaiNET#1416 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in SKaiNET-developers/SKaiNET
Ähnliche Issues
-
afk-ok area:data-quality importer size:S
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
enorm-labs/event-junkie#4221 ·
Maintainer antworten meist innerhalb von 1 Tag
-
feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
leonlatsch/Photok#816 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
owenlejeune/ArrMatey#417 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
orgzly-revived/orgzly-android-revived#1120 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Tiqr/eduid-app-android#277 ·