Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/ABQ-LLM
/ backward
Method
backward
algorithm/quantize/utils.py:74–76 ·
view source on GitHub ↗
(ctx, grad_output)
Source
from the content-addressed store, hash-verified
72
73
@staticmethod
74
def
backward(ctx, grad_output):
75
grad_input = grad_output.clone()
76
return
grad_input, None
77
78
79
def
truncate_number(number, threshold=1e-2):
Callers
1
__call__
Method · 0.45
Calls
1
clone
Method · 0.45
Tested by
no test coverage detected