Skip to content

from executorch.exir import CaptureConfig fails with ExecuTorch pip installed in editable mode #9558

Closed
@swolchok

Description

@swolchok

🐛 Describe the bug

python -c 'from executorch.exir import CaptureConfig' works with ExecuTorch installed via ./install_executorch.sh, but fails with ExecuTorch installed by pip install -e .:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
    from executorch.exir import CaptureConfig
ImportError: cannot import name 'CaptureConfig' from 'executorch.exir' (unknown location)

Versions

main

Metadata

Metadata

Assignees

Labels

module: dev infraIssues related to developer infrastructure (other than CI, which is module: ci)

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions