Attribute error on _NotYetLoadedTensor
loading checkpoint into quantized model
#20119
Labels
bug
Something isn't working
checkpointing
Related to checkpointing
precision: bnb
Bitsandbytes quantization
ver: 2.2.x
Milestone
Bug description
When upgrading the
lightning
version from2.3.0.dev20240428
to2.3.3
, we encounter anAttributeError: '_NotYetLoadedTensor' object has no attribute 'data'
.What version are you seeing the problem on?
master
How to reproduce the bug
Error messages and logs
Environment
Current environment
More info
Now, one thing to keep in mind is that we have the bitsandbytes version pinned to
bitsandbytes==0.42.0
because 0.43 results in the following issue:I wonder if these are issues that can or need to be addressed one at a time. Supporting
lightning
2.3.3 withbitsandbytes==0.42.0
first to restore the litgpt quantization as is, and then see how we can upgrade to the most recent bitsandbytes version.Any thoughts?
cc @awaelchli @carmocca
The text was updated successfully, but these errors were encountered: