Skip to content

Enable MobileBert and Albert with XNNPACK quantization #12341

Open

Description

@mergennachin

Currently quantization in CI is disabled for MobileBert and Albert

Here's the error code: https://gist.github.com/mergennachin/2abc5cae46925abdb9fc582b1c520159

cc @digantdesai @mcr229 @cbilgin

Internal task: T197452682

Activity

  1. added this to the 1.0.0 milestone on Jul 10, 2025
  2. added theissue type on Jul 10, 2025
  3. added
    module: xnnpack
    on Jul 10, 2025
  4. brucekk-kim commented on Jul 11, 2025

    @brucekk-kim
    Contributor

    @mergennachin Samsung's also waiting on the fix as we've got the same problem generating .pte file for quantized MobileBert model.
    We are using branch: https://github.com/pytorch/executorch/tree/v0.6.0-rc6-android

  5. digantdesai commented on Jul 11, 2025

    @digantdesai
    Contributor

    Thanks @mergennachin @brucekk-kim - we will take a look.

  6. mcr229 commented on Jul 11, 2025

    @mcr229
    Contributor

    I remember some one mentioned this could be related to the embedding? Do we know if that was relevant?

  7. digantdesai commented on Jul 21, 2025

    @digantdesai
    Contributor

    @mcr229 not sure, can you dig into it? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: xnnpack

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions