A refused set_inputs() leaves a method runnable with mixed inputs, and get_outputs() returns stale results
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 5.1k
- フォーク
- 1.2k
- 平均マージ
- 2日 48分
- マージ済み PR(30日)
- 693
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pytorch/executorch のほかの issue
-
Portable remainder kernel: wrong sign for integers and float64 rounded to float対応中かも @JakeStevens が 6 日前に担当しました。 オープンbug module: kernels triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
pytorch/executorch#23682 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
-
enhancement triaged
難易度 2/5 半日 初心者へのやさしさ 68/100
pytorch/executorch#21640 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 40/100
pytorch/executorch#23955 ·
メンテナーはふだん 1 日以内に返信
-
[QNN] 16a4w_block stride-2 conv + ReLU fails HTP graph prepare on SM8850 (Relu16bParamsPlaceholder)対応中かも @psiddh が 2 日前に担当しました。 オープンbug module: qnn partner: qualcomm
pytorch/executorch#23922 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Cortex-M backend replaces channels-first dw conv with channels-last dw conv without handling the changed layout, fails at runtime対応中かも @rahimuddin140 が 2 日前に担当しました。 オープンbug module: microcontrollers partner: arm
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
pytorch/executorch#23812 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
pytorch/executorch の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
SwiftKickMobile/skai#84 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
jxxghp/MoviePilot#7070 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
flop-labs/technocore-chat#997 ·
メンテナーはふだん 1 日以内に返信
-
tunneld on Windows: Wi-Fi devices are not discovered because uvicorn runs on a ProactorEventLoopオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
doronz88/pymobiledevice3#2051 ·
メンテナーはふだん 1 日以内に返信