Skip to content

[STABLE ABI] Porting lfilter.cpp #4074

@pearu

Description

@pearu

This issue collects tasks that block porting lfilter.cpp to use torch stable ABI.

  • implement mutable_data_ptr<T>() and const_data_ptr<T>() in torch/csrc/stable/tensor_struct.h. For instance, this simplifies porting of expressions like tensor.data_ptr<scalar_t>(). Currently, one needs to rewrite this as reinterpret_cast<scalar_t*>(tensor.data_ptr()) where tensor is a torch::stable::Tensor.
    Fix available: [STABLE ABI] Add mutable_data_ptr() and const_data_ptr() methods to torch::stable::Tensor. pytorch#161891
  • can we use at::parallel_for in torch stable ABI code?
  • implement unsqueeze as a stable/ops.h operation
  • implement select as a stable/ops.h operation
  • implement at::matmul as a stable/ops.h operation
  • implement index_put_ as torch::stable::Tensor method or a stable/ops.h operation. Can we use torch::indexing::Slice() in torch stable ABI code?

^ @NicolasHug @scotts @janeyx99

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions