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
cd8bd2d6
Unverified
Commit
cd8bd2d6
authored
Jun 03, 2025
by
mklabunde
Committed by
GitHub
Jun 03, 2025
Browse files
pass current bnb_quantized when moving quantized Params4bit to different device (#1665)
parent
55ebaac7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
bitsandbytes/nn/modules.py
bitsandbytes/nn/modules.py
+1
-0
No files found.
bitsandbytes/nn/modules.py
View file @
cd8bd2d6
...
...
@@ -354,6 +354,7 @@ class Params4bit(torch.nn.Parameter):
compress_statistics
=
self
.
compress_statistics
,
quant_type
=
self
.
quant_type
,
quant_storage
=
self
.
quant_storage
,
bnb_quantized
=
self
.
bnb_quantized
,
)
return
new_param
...
...
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