Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExecuTorch support #1175

Open
lutzroeder opened this issue Oct 25, 2023 · 4 comments
Open

ExecuTorch support #1175

lutzroeder opened this issue Oct 25, 2023 · 4 comments

Comments

@lutzroeder
Copy link
Owner

lutzroeder commented Oct 25, 2023

Examples:
add.pte.zip
mobilenet_v2.pte.zip
mv2_xnnpack.pte.zip
mv2_vulkan.pte.zip
style_transfer_candy_coreml.pte.zip
style_transfer_candy_xnnpack.pte.zip

lutzroeder added a commit that referenced this issue Oct 25, 2023
@lutzroeder lutzroeder closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2023
@hossein1387
Copy link

Seems Executorch is getting more adoption, any plan to add the support?

@lutzroeder
Copy link
Owner Author

lutzroeder commented Jan 19, 2025

@hossein1387 main now includes some basic scaffolding to open .pte files. Can you please work on testing, add the remaining implementation and send pull requests.

@hossein1387
Copy link

@lutzroeder I pulled latest code from the main branch and then:

npm install
npm start

And when I load my executorch exported model, I got this error:

Unsupported file content '3c000000455431326568303018000000'.

I cant attach the debugger to see why the extension is not supported. Any suggestion?

Image

@lutzroeder
Copy link
Owner Author

lutzroeder commented Jan 19, 2025

@hossein1387 good catch. Likely because the file extension was not .pte, should be updated in main now. For debugging, using the Electron View target is an easy way to side-step browser troubleshooting. executorch.ModelFactory is a good place for breakpoints.

lutzroeder added a commit that referenced this issue Jan 20, 2025
lutzroeder added a commit that referenced this issue Jan 20, 2025
lutzroeder added a commit that referenced this issue Jan 20, 2025
lutzroeder added a commit that referenced this issue Jan 20, 2025
lutzroeder added a commit that referenced this issue Jan 20, 2025
lutzroeder added a commit that referenced this issue Jan 20, 2025
lutzroeder added a commit that referenced this issue Jan 20, 2025
lutzroeder added a commit that referenced this issue Jan 21, 2025
lutzroeder added a commit that referenced this issue Jan 21, 2025
lutzroeder added a commit that referenced this issue Jan 22, 2025
lutzroeder added a commit that referenced this issue Jan 22, 2025
lutzroeder added a commit that referenced this issue Jan 23, 2025
lutzroeder added a commit that referenced this issue Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants