Skip to content

fix: change lora_dropout from int to float for type consistency - #2949

Merged
danielhanchen merged 1 commit into
unslothai:mainfrom
muzzlol:main
Jul 14, 2025
Merged

danielhanchen merged 1 commit into
unslothai:mainfrom
muzzlol:main

Conversation

@muzzlol

@muzzlol muzzlol commented Jul 13, 2025

Copy link
Copy Markdown
Contributor

Fixes "Argument of type 'float' cannot be assigned to parameter 'lora_dropout' of type 'int'" error by ensuring lora_dropout is consistently a float (0.0) rather than int (0) across vision.py, llama.py, and unsloth-cli.py

Fixes "Argument of type 'float' cannot be assigned to parameter 'lora_dropout' of type 'int'" error by ensuring lora_dropout is consistently a float (0.0) rather than int (0) across vision.py, llama.py, and unsloth-cli.py
@muzzlol

muzzlol commented Jul 13, 2025

Copy link
Copy Markdown
Contributor Author

@danielhanchen

Copy link
Copy Markdown
Member

Ok thanks!

@danielhanchen
danielhanchen merged commit cf5bf08 into unslothai:main Jul 14, 2025
abiswas-realadvice pushed a commit to abiswas-realadvice/unsloth that referenced this pull request May 14, 2026
…othai#2949)

Fixes "Argument of type 'float' cannot be assigned to parameter 'lora_dropout' of type 'int'" error by ensuring lora_dropout is consistently a float (0.0) rather than int (0) across vision.py, llama.py, and unsloth-cli.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants