Skip to content

fix(LoRA): update default model to gemma3_1B_qat_4bit for fast on-device training - #493

Open
shubhransh-gupta wants to merge 1 commit into
ml-explore:mainfrom
shubhransh-gupta:fix/lora-default-model-configuration
Open

fix(LoRA): update default model to gemma3_1B_qat_4bit for fast on-device training#493
shubhransh-gupta wants to merge 1 commit into
ml-explore:mainfrom
shubhransh-gupta:fix/lora-default-model-configuration

Conversation

@shubhransh-gupta

Copy link
Copy Markdown

Summary

Fixes #476.

In Applications/LoRATrainingExample, the default model was hardcoded to LLMRegistry.mistral7B4bit. Fine-tuning a 7B parameter model in an example app on memory-constrained devices (such as iOS/iPadOS or lower-memory M-series Macs) frequently resulted in process termination (jetsam/OOM) or extremely long download times.

Solution

  • Switched default configuration in LoRATrainingExample to LLMRegistry.gemma3_1B_qat_4bit (consistent with LLMBasic).
  • Updated LoRATrainingExample/README.md to reflect the updated default model.
  • Code validated with swift-format lint --strict.

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.

[BUG] Default Model On LoRaTrainingExample won't install.

1 participant