pytorch / pytorch/executorch

Invalid result of running U2Net on Vulkan

Open
#15,490 10 comments 0 reactions 1 assignee View on GitHub

@SS-JIA is already working on this.

Since Nov 10, 2025.

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

Description

🐛 Describe the bug

I try to get rid of multiple nn formats (CoreML and Tensorflow-Lite) for U2Net. Exported program for CoreML and XNNPack gives correct result, but If I partition with Vulkan it gives corrupted image after processing. Do I need to test Vulkan only on android devices? How can I understand what happened?

Versions

Build from source exectorch v1.0.0 on Apple MacBook Pro M1.

cc @SS-JIA @manuelcandales @digantdesai @cbilgin

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.