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

[TIR] Refactor BF16Legalize #14405

Merged
merged 1 commit into from
Mar 28, 2023
Merged

[TIR] Refactor BF16Legalize #14405

merged 1 commit into from
Mar 28, 2023

Commits on Mar 27, 2023

  1. [TIR] Refactor BF16Legalize

    This PR refactors BF16Legalize to enable more f32 computations.
    We also split the BF16Legalize into two steps.
    
    - BF16ComputeLegalize changes all computation to f32 while keeping
      the external BF16 storages.
    - BF16StorageLegalize changes all storage to u16.
    
    Now BF16 kernels accept tvm.nd.array that are created as bfloat16 type.
    tqchen committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    bb9dbb1 View commit details
    Browse the repository at this point in the history