Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/BitNet
/ test.py
File
test.py
gpu/test.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
torch
2
from
torch.utils
import
benchmark
3
from
torch
import
nn
4
Callers
nothing calls this directly
Calls
2
convert_weight_int8_to_int2
Function · 0.90
bitnet_int8xint2_linear
Function · 0.70
Tested by
no test coverage detected