Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhanchen committed Mar 4, 2025
1 parent 1aeb21b commit 840988b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion unsloth/kernels/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def get_lora_parameters_bias(proj):

# if not hasattr(proj, "disable_adapters") or proj.disable_adapters or proj.merged:
if getattr(proj, "disable_adapters", True) or proj.merged:
return W, getattr(W, "quant_state", None), None, None, None, bias
return W, getattr(W, "quant_state", None), None, None, None, base_layer.bias
pass

adapter = getattr(proj, "active_adapters", None)
Expand Down
2 changes: 1 addition & 1 deletion unsloth/models/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "2025.3.2"
__version__ = "2025.3.3"

__all__ = [
"SUPPORTS_BFLOAT16",
Expand Down

0 comments on commit 840988b

Please sign in to comment.