Commit 45864262 authored by Ruslan Svirschevski's avatar Ruslan Svirschevski
Browse files

test comment removed

parent de44be1a
...@@ -30,7 +30,7 @@ def test_linear_serialization(quant_type, compress_statistics, bias): ...@@ -30,7 +30,7 @@ def test_linear_serialization(quant_type, compress_statistics, bias):
compute_dtype=compute_dtype, compute_dtype=compute_dtype,
compress_statistics=compress_statistics, compress_statistics=compress_statistics,
quant_type=quant_type, quant_type=quant_type,
device="meta", # TODO: consider both CPU, meta and CUDA creation device="meta",
) )
new_weight = bnb.nn.Params4bit(data=linear.weight, requires_grad=False) new_weight = bnb.nn.Params4bit(data=linear.weight, requires_grad=False)
linear_q.weight = new_weight linear_q.weight = new_weight
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment