pytorch / pytorch/executorch

Support complex data type in ExecuTorch

Open
#886 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

actionable module: runtime triaged
Dominant language
Python
Stars
5k
Forks
1.2k
Avg merge
2d 10h
Merged PRs (30d)
581

Description

Currently complex data type is not supported in ExecuTorch runtime. Although the model may be rewritten to real number operations, but it would affect the user's development efficiency.

What is complex data type here?
It's the math number system with real and imaginary parts like c = x * i * y.

It's used in some operations in PyTorch, like RoPE embedding in LLM, or Fourier Transforms (FFT).

Contributor guide

Open the contributing guide

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

The issue names no files, entry points, or tests. Start by locating ExecuTorch runtime handling for tensor data types and the relevant PyTorch operations, then determine the scope needed for complex tensors; done should include runtime support for the stated complex-number use cases and coverage showing they work.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.