Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
bitsandbytes
Commits
45864262
"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "12625c1c9cf207b8a7b0d04be99bab701ae13a5d"
Commit
45864262
authored
Nov 10, 2023
by
Ruslan Svirschevski
Browse files
test comment removed
parent
de44be1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_linear4bit.py
tests/test_linear4bit.py
+1
-1
No files found.
tests/test_linear4bit.py
View file @
45864262
...
...
@@ -30,7 +30,7 @@ def test_linear_serialization(quant_type, compress_statistics, bias):
compute_dtype
=
compute_dtype
,
compress_statistics
=
compress_statistics
,
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
)
linear_q
.
weight
=
new_weight
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment