-
Notifications
You must be signed in to change notification settings - Fork 269
Support Autotune FP16 Mix-precision on torch 3.0 new API #1793
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
Conversation
Signed-off-by: zehao-intel <zehao.huang@intel.com>
Signed-off-by: zehao-intel <zehao.huang@intel.com>
Signed-off-by: zehao-intel <zehao.huang@intel.com>
⛈️ Required checks status: Has failure 🔴
Groups summary🟢 Code Scan Tests workflow
These checks are required after the changes to 🔴 Model Tests 3x workflow
These checks are required after the changes to 🟢 Unit Tests 3x-TensorFlow workflow
These checks are required after the changes to 🟢 Unit Tests 3x-PyTorch workflow
These checks are required after the changes to 🟢 Unit Tests 3x-ONNXRT workflow
These checks are required after the changes to Thank you for your contribution! 💜
|
for more information, see https://pre-commit.ci
Signed-off-by: zehao-intel <zehao.huang@intel.com>
Signed-off-by: zehao-intel <zehao.huang@intel.com>
for more information, see https://pre-commit.ci
Signed-off-by: zehao-intel <zehao.huang@intel.com>
neural_compressor/torch/algorithms/mix_precision/module_wrappers.py
Outdated
Show resolved
Hide resolved
neural_compressor/torch/algorithms/mix_precision/module_wrappers.py
Outdated
Show resolved
Hide resolved
neural_compressor/torch/algorithms/mix_precision/module_wrappers.py
Outdated
Show resolved
Hide resolved
neural_compressor/torch/algorithms/mix_precision/module_wrappers.py
Outdated
Show resolved
Hide resolved
neural_compressor/torch/algorithms/mix_precision/fp16_convert.py
Outdated
Show resolved
Hide resolved
Signed-off-by: zehao-intel <zehao.huang@intel.com>
for more information, see https://pre-commit.ci
Signed-off-by: zehao-intel <zehao.huang@intel.com>
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Type of Change
feature
Description
support fp16 by using torch.amp
How has this PR been tested?
PreCI
Dependency Change?
No