Skip to content

Move codegen from using torchgen to executorch.codegen #11232

Closed
@larryliu0820

Description

@larryliu0820

🚀 The feature, motivation and pitch

We already moved torchgen.executorch (in pytorch/pytorch) to executorch.codegen (in pytorch/executorch).

In Codegen.cmake we are still using torchgen.gen_executorch so now it's time to change it to executorch.codegen.

Image

Notice that at this stage we haven't installed executorch so we might need to run the script in a different way (e.g., from executorch.codegen import gen may not work since executorch is not installed yet).

Alternatives

No response

Additional context

No response

RFC (Optional)

No response

cc @mergennachin @byjlw

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersmodule: docIssues related to documentation, both in docs/ and inlined in code

Type

No type

Projects

Status

Done

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions