llvm / llvm/torch-mlir

[RFC] Add lowering for `aten.upsample_bilinear2d.vec` op

Open
#989 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.9k
Forks
736
Avg merge
5d 22h
Merged PRs (30d)
15

Description

Hi all,

I'm working on adding the aten.upsample_bilinear2d.vec op as shown in #986. The source in PyTorch is found here: https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/cpu/UpSampleKernel.cpp. Would the lowering be added in TorchToLinalg.cpp?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read TorchToLinalg.cpp and compare the aten.upsample_bilinear2d.vec definition with PyTorch's aten/src/ATen/native/cpu/UpSampleKernel.cpp. Review issue #986 for related context, then determine the appropriate lowering entry point and validation needed for this operator; done means the op has a supported lowering with behavior matching the referenced PyTorch implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, pytorch
Domain
compilers, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.