Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vizard] support
torch.sub/sign/abs
in eager mode
Summary: X-link: facebookresearch/d2go#618 As title Achieve by `vizard.quantization.functional. FloatFunctional` and `vizard.quantization.prepare.prepare_eager` Test Plan: ``` [[email protected] ~/fbcode (771b07cbd)]$ buck2 test vizard/test/quantization:test_quantization File changed: fbcode//vizard/test/quantization/TARGETS File changed: fbcode//vizard/test/quantization/test_functional.py File changed: fbcode//vizard/quantization/prepare.py Buck UI: https://www.internalfb.com/buck2/2726627a-31ec-4dee-bb95-6f658eaec072 Test UI: https://www.internalfb.com/intern/testinfra/testrun/1407375219310414 Network: Up: 72KiB Down: 138KiB (reSessionID-923ad1fe-f756-41ef-a8e4-36b4577c283b) Jobs completed: 47. Time elapsed: 1:21.6s. Cache hits: 0%. Commands: 4 (cached: 0, remote: 0, local: 4) Tests finished: Pass 9. Fail 0. Fatal 0. Skip 0. Build failure 0 ``` Differential Revision: D48377683
- Loading branch information