-
Notifications
You must be signed in to change notification settings - Fork 264
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
Add update_g_idx
flag for setting qweight&g_idx
#2143
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Kaihui-intel <kaihui.tang@intel.com>
update_g_idx
flag for setting qweight&g_idx
I saw IPEX PR has been merged. have we validated it? We do not need to wait for IPEX-XPU v2.7. If there is issue, we need to raise before their release. |
Signed-off-by: Kaihui-intel <kaihui.tang@intel.com>
for more information, see https://pre-commit.ci
module.qweight.data if hasattr(module, "qweight") else weight, | ||
None if module.bias is None else module.bias.data, | ||
) | ||
if ipex_version >= Version("2.7"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it possible to check interface itself support this arg instead of chekc IPEX version directly? current approach looks not very robust
Type of Change
bug fix
Description
add
update_g_idx
flag to avoid secondary value updates.note:
waiting for the release of ipex-gpu v2.7 ...
related PR: https://github.com/intel-innersource/frameworks.ai.pytorch.ipex-gpu/pull/5411
results:
meta-llama/Meta-Llama-3-8B-Instruct on PVC
Expected Behavior & Potential Risk
the expected behavior that triggered by this PR
How has this PR been tested?
how to reproduce the test (including hardware information)
Dependency Change?
any library dependency introduced or removed