[torchlib] aten::upsample_linear1d.vec is not supported

オープン
#3,165 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

@kyunggeunlee がすでに取り組んでいます。

2026年11月5日 から。

  • #3166 @kyunggeunlee による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
58/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python, pytorch
領域
backend

調査の方向性

Read the linked section of onnxscript/function_libs/torch_lib/ops/nn.py around lines 2576–2579 and compare its handling of aten::upsample_linear1d.default with the .vec overload. Check the existing tests for torch library operator exports. Done means exporting aten::upsample_linear1d.vec with torch.onnx.export and dynamo=True uses the supported torch library operation instead of piecewise operations.

索引モデルが issue の本文から書いたものです。

説明

Currently torch_lib only supports aten::upsample_linear1d.default, but not aten::upsample_linear1d.vec.

https://github.com/microsoft/onnxscript/blob/5b210da540e277a64861c8af799ca9a39eca1320/onnxscript/function_libs/torch_lib/ops/nn.py#L2576-L2579

As a result, exporting aten::upsample_linear1d.vec with torch.onnx.export with dynamo=True results in a piecewise operations as below:

Image
主要言語
Python
スター
457
フォーク
149
平均マージ
3日 18時間
マージ済み PR(30日)
23

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/onnxscript のほかの issue

microsoft/onnxscript の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。