Skip to content

Conversation

@work-zhangzhe
Copy link
Contributor

self.zero_point may be an instance of torch.Tensor or torch.nn.Parameter. When it is the latter, the original code will report an error. The modified code is compatible with both situations.

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.

1 participant