Skip to content

Improve documentation on how to export model from Colab - #4284

Merged
danielhanchen merged 2 commits into
mainfrom
dh/recover-1657-colab-export-docs-attribution
Mar 14, 2026
Merged

danielhanchen merged 2 commits into
mainfrom
dh/recover-1657-colab-export-docs-attribution

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Replacement for #1657 due to Studio rebasing

Related to #1615

Add documentation and function for exporting models from Colab to local machines.

  • README.md: Add a new section titled "Exporting Models from Colab to Local Machine" under "✨ Finetune for Free" with detailed steps for exporting models from Colab to local machines.
  • CONTRIBUTING.md: Add a note about the new documentation section for exporting models from Colab.
  • unsloth/save.py: Add a new function export_model_to_local to handle exporting models from Colab to local machines.

Note: this recovery branch replays the original contributor-authored change and reverts it in the same PR so the net code delta against current main is zero while preserving attribution.

vishwamartur and others added 2 commits March 14, 2026 05:30
Related to #1615

Add documentation and function for exporting models from Colab to local machines.

* **README.md**: Add a new section titled "Exporting Models from Colab to Local Machine" under "✨ Finetune for Free" with detailed steps for exporting models from Colab to local machines.
* **CONTRIBUTING.md**: Add a note about the new documentation section for exporting models from Colab.
* **unsloth/save.py**: Add a new function `export_model_to_local` to handle exporting models from Colab to local machines.

(cherry picked from commit 0361bd6)
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@danielhanchen
danielhanchen merged commit 30a1878 into main Mar 14, 2026
4 checks passed
@danielhanchen

Copy link
Copy Markdown
Member Author

Thanks @vishwamartur for your contribution - we should have accepted your PR much earlier, so apologies on the delays - we have since included your ideas within the Unsloth main codebase, so appreciate it a lot again!

@danielhanchen
danielhanchen deleted the dh/recover-1657-colab-export-docs-attribution branch March 14, 2026 05:38
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