Skip to content

TorchInductor missing ops tracker #93757

Closed
@jansel

Description

@jansel

The following ops are using ir.FallbackKernel via make_fallback() in lowering.py and appear in benchmarks. We should rewrite them to use decomps or lowerings.

  • Add decomp/lowering: aten.as_strided_scatter #93650
  • aten.grid_sampler_2d_backward (higher priority)
  • aten.upsample_bilinear2d_backward (higher priority)
  • aten._adaptive_avg_pool2d_backward
  • aten.upsample_bicubic2d_backward
  • aten._fused_moving_avg_obs_fq_helper
  • aten.upsample_nearest3d (needed for FAIR model)
  • aten.avg_pool3d (needed for FAIR model)
  • aten.bucketize (needed for internal model) - not targeting for codegen, do a fallback
  • aten.prod (needed for research model) - not targeting for codegen, do a fallback

Might not be possible (in a performant way), but currently use fallbacks:

  • aten.convolution_backward (might need to hold of on this if perf doesn't match)
  • aten._cudnn_rnn (might need to hold of on this if perf doesn't match) - not targeting for codegen, do a fallback
  • aten._cudnn_rnn_backward (might need to hold of on this if perf doesn't match) - not targeting for codegen, do a fallback
  • aten._embedding_bag (may have a template internally) (Attempted with [No CI] Decomp for _embedding_bag #84235, but it's very hard to make it performant and inductor-friendly)
  • [inductor] Lower aten.cumsum #93631 not targeting for codegen, do a fallback
  • torchvision.roi_align (need to sort of decomps for domain libs)

Done:

cc @ezyang @msaroufim @wconstab @bdhirsh @anijain2305 @zou3519 @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @aakhundov @ColinPeppler @soumith @ngimel

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: inductoroncall: pt2triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions