Skip to content

Conversation

WeiweiZhang1
Copy link
Contributor

No description provided.

@@ -149,15 +149,17 @@ def pack(self, linear, scales, zeros=None, g_idx=None, global_scale=None, input_
elif torch.xpu.is_available():
device = "xpu:0"

W = linear.weight.data.to(device).clone() # TODO check is nesscessory
W = linear.weight.data.to(device).clone()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this clone is nesscessory

@wenhuach21 wenhuach21 self-requested a review September 4, 2025 02:03
@wenhuach21
Copy link
Contributor

merge first, please add ut and address the comment in the following pr

@wenhuach21 wenhuach21 merged commit fced2ba into main Sep 4, 2025
8 checks passed
@wenhuach21 wenhuach21 deleted the bugfix_for_nvfp branch September 4, 2025 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants