Skip to content

Commit d6e8ad1

Browse files
Remove outdated editable mode warning from docs (pytorch#17381)
## Summary Removed outdated warning about modules not being importable directly in editable mode, as this issue has been resolved. ## Changes - Removed the warning section from `docs/source/using-executorch-building-from-source.md` - Direct imports like `from executorch.exir import CaptureConfig` now work correctly in editable mode ## Context The warning referenced issue pytorch#9558 which has since been fixed. The workaround is no longer necessary. Fixes pytorch#11229 Supersedes pytorch#11245 cc @larryliu0820 @mergennachin @byjlw
1 parent 4a3bc34 commit d6e8ad1

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

‎docs/source/using-executorch-building-from-source.md‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,6 @@ python -m executorch.examples.xnnpack.aot_compiler --model_name="mv2" --delegate
100100
pip install -e . --no-build-isolation
101101
```
102102

103-
> **_WARNING:_**
104-
> Some modules can't be imported directly in editable mode. This is a known [issue](https://github.com/pytorch/executorch/issues/9558) and we are actively working on a fix for this. To work around this:
105-
> ```bash
106-
> # This will fail
107-
> python -c "from executorch.exir import CaptureConfig"
108-
> # But this will succeed
109-
> python -c "from executorch.exir.capture import CaptureConfig"
110-
> ```
111-
112103
> **_NOTE:_** Cleaning the build system
113104
>
114105
> When fetching a new version of the upstream repo (via `git fetch` or `git

0 commit comments

Comments
 (0)