We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de44be1 commit 4586426Copy full SHA for 4586426
tests/test_linear4bit.py
@@ -30,7 +30,7 @@ def test_linear_serialization(quant_type, compress_statistics, bias):
30
compute_dtype=compute_dtype,
31
compress_statistics=compress_statistics,
32
quant_type=quant_type,
33
- device="meta", # TODO: consider both CPU, meta and CUDA creation
+ device="meta",
34
)
35
new_weight = bnb.nn.Params4bit(data=linear.weight, requires_grad=False)
36
linear_q.weight = new_weight
0 commit comments