minor fixes

This commit is contained in:
dbaranchuk 2022-08-23 23:53:43 +03:00
parent 1753aa0418
commit 656de8ed11
2 changed files with 2 additions and 2 deletions

View File

@ -368,7 +368,7 @@ class MatMul8bitLt(torch.autograd.Function):
Bt = (CB * SCB).t().contiguous()
CBt = (Bt / SCBt).t().to(torch.int8)
# intentionally, do not store CxBt into state
# intentionally, do not store CxBt in state
CxBt, SBt = F.transform(
CBt, to_order=formatB, transpose=True
)

View File

@ -212,7 +212,7 @@ class Int8Params(torch.nn.Parameter):
)
new_param.CB = self.CB
new_param.SCB = self.SCB
new_param.SCB = self.SCBt
new_param.SCBt = self.SCBt
return new_param