Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PT2][Optimus] fix the default alpha and beta values (#139857)
Summary: We noticed that the default coefficient values for beta and alpha should be int 1, instead of float 1.0, which will cause error when the inputs for the add are int types. More contex: https://fb.workplace.com/groups/1075192433118967/permalink/1539142760057263/ Test Plan: # local reproduce ``` buck2 run mode/opt scripts/shuaiyang:test -- --optimus --flow_id 660724017 2>&1 | tee ~/local_run_shuai_660724017.txt ``` trace link: https://www.internalfb.com/intern/perfdoctor/trace_view?filepath=tree/traces/mengluy/2024-11-05-21-18-17/trace.json.gz&bucket=gpu_traces # E2E before fix: f660724017 after fix: Differential Revision: D65521638 Pull Request resolved: #139857 Approved by: https://github.com/jackiexu1992
- Loading branch information