A refused set_inputs() leaves a method runnable with mixed inputs, and get_outputs() returns stale results
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 40/100
Rechercherichtung
Start from the Python set_inputs(), execute() and get_outputs() methods on the method object; the payload does not name the file, so locate them by search. Run the four-line reproduction in the issue to see the mixed inputs and the stale get_outputs() result. The issue proposes tracking input completeness and last-execute success and raising from execute() and get_outputs(), so settle with maintainers whether a refused call should roll back or the state should become an error. Done means a refused set_inputs() leaves no partial state, and the two getters raise instead of returning stale values.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
When set_inputs() is refused partway, the inputs installed before the refusal stay, and the next
execute() runs a mix of new and old inputs:
method.set_inputs([ones, ones])
method.set_inputs([fives, torch.ones(3, 3)]) # refused: wrong shape for input 1
method.execute()
method.get_outputs()[0] # 6.0: new input 0 plus old input 1
get_outputs() also returns whatever the output memory holds when nothing valid ran: zeros before the
first execute(), and the previous results after an execute() that raised.
Tracking whether the inputs are complete and whether the last execute() succeeded, and raising from
execute() and get_outputs() when either is false, would turn both into errors.
- Vorherrschende Sprache
- Python
- Sterne
- 5.1k
- Forks
- 1.2k
- Ø Merge
- 2 T. 14 Min.
- Gemergte PRs (30 T.)
- 704
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine 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 pytorch/executorch
-
Portable remainder kernel: wrong sign for integers and float64 rounded to floatEvtl. vergeben @JakeStevens hat das vor 4 Tagen übernommen. Offenbug module: kernels triaged
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
pytorch/executorch#23682 · 2 zugewiesene Personen ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement triaged
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 68/100
pytorch/executorch#21640 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[QNN] 16a4w_block stride-2 conv + ReLU fails HTP graph prepare on SM8850 (Relu16bParamsPlaceholder)Evtl. vergeben @psiddh hat das heute übernommen. Offenbug module: qnn partner: qualcomm
pytorch/executorch#23922 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Cortex-M backend replaces channels-first dw conv with channels-last dw conv without handling the changed layout, fails at runtimeEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenbug module: microcontrollers partner: arm
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 38/100
pytorch/executorch#23812 · 2 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
[muse-glimmer] interpolate_pos_emb returns corrupted bf16 values on CPU and can segfaultEvtl. vergeben @JakeStevens hat das vor 2 Tagen übernommen. Offenbug module: examples triaged
pytorch/executorch#23797 · 2 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in pytorch/executorch
Ähnliche Issues
-
docs: the dev-setup table and AGENTS.md name the reviewed_by guard that CI's Changelog job runsOffenarea: tools documentation good first issue ready for a contributor
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
eyalgolan/statecraft-israel#873 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 5 Tagen
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag