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

remove all torch.ones from tests #3494

Closed
wants to merge 2 commits into from
Closed

Commits on May 2, 2024

  1. make quantized model tests better

    Summary:
    XNNPACK should be testing with random inputs and quantized models should be calibrated before lowering and testing. Right now there are some numerical issues being debugged and tracked by: T187799178. this has been a bit difficult, but for now, we can first make these tests better by giving random inptus and enabling calibration.  
    
    We don't fix the numerical issues in this diff.
    
    Differential Revision: D56906440
    mcr229 authored and facebook-github-bot committed May 2, 2024
    Configuration menu
    Copy the full SHA
    671136b View commit details
    Browse the repository at this point in the history
  2. remove all torch.ones from tests

    Summary: Replace all torch.ones with instances of torch.randn
    
    Differential Revision: D56907873
    mcr229 authored and facebook-github-bot committed May 2, 2024
    Configuration menu
    Copy the full SHA
    3945fb1 View commit details
    Browse the repository at this point in the history