René's URL Explorer Experiment


Title: GitHub - patrickjchen/unsloth: 2-5X faster 80% less memory QLoRA & LoRA finetuning · GitHub

Open Graph Title: GitHub - patrickjchen/unsloth: 2-5X faster 80% less memory QLoRA & LoRA finetuning

X Title: GitHub - patrickjchen/unsloth: 2-5X faster 80% less memory QLoRA & LoRA finetuning

Description: 2-5X faster 80% less memory QLoRA & LoRA finetuning - patrickjchen/unsloth

Open Graph Description: 2-5X faster 80% less memory QLoRA & LoRA finetuning - patrickjchen/unsloth

X Description: 2-5X faster 80% less memory QLoRA & LoRA finetuning - patrickjchen/unsloth

Opengraph URL: https://github.com/patrickjchen/unsloth

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:d5416ad0-0ced-87ac-bcc7-0a62e00bb853
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id88C4:15C1B0:70E3AA:9B6CA7:6B045B0E
html-safe-nonce563ceff6f3a3931142778d7c5b3facc4c2ad543f433bcc9f9cd26426425a4be4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEM0OjE1QzFCMDo3MEUzQUE6OUI2Q0E3OjZCMDQ1QjBFIiwidmlzaXRvcl9pZCI6Ijg3MDExOTk1MTQwNTQ0NDk5MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb97fb5da5fd218fdab1c034eaa479069bd33ed69755f1c6d0b21cc2704e159f2
hovercard-subject-tagrepository:785910427
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/patrickjchen/unsloth
twitter:imagehttps://opengraph.githubassets.com/b8d04f824db36d8149f8735336181ec6392d8f947a3cd4e326041c3dee1d909a/patrickjchen/unsloth
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b8d04f824db36d8149f8735336181ec6392d8f947a3cd4e326041c3dee1d909a/patrickjchen/unsloth
og:image:alt2-5X faster 80% less memory QLoRA & LoRA finetuning - patrickjchen/unsloth
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2d58451b4bcb73c33c67bfb6b28fb75fe6d5e279daf9b560fa4fd832f3d8c9a6
turbo-cache-controlno-cache
go-importgithub.com/patrickjchen/unsloth git https://github.com/patrickjchen/unsloth.git
octolytics-dimension-user_id20728658
octolytics-dimension-user_loginpatrickjchen
octolytics-dimension-repository_id785910427
octolytics-dimension-repository_nwopatrickjchen/unsloth
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id725205304
octolytics-dimension-repository_parent_nwounslothai/unsloth
octolytics-dimension-repository_network_root_id725205304
octolytics-dimension-repository_network_root_nwounslothai/unsloth
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release03e114520787ad27289207f153520ef97461127c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/patrickjchen/unsloth#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpatrickjchen%2Funsloth
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpatrickjchen%2Funsloth
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=patrickjchen%2Funsloth
Reloadhttps://github.com/patrickjchen/unsloth
Reloadhttps://github.com/patrickjchen/unsloth
Reloadhttps://github.com/patrickjchen/unsloth
patrickjchenhttps://github.com/patrickjchen
unslothhttps://github.com/patrickjchen/unsloth
Codehttps://github.com/patrickjchen/unsloth
Pull requestshttps://github.com/patrickjchen/unsloth/pulls
Actionshttps://github.com/patrickjchen/unsloth/actions
Projectshttps://github.com/patrickjchen/unsloth/projects
Security and qualityhttps://github.com/patrickjchen/unsloth/security
Insightshttps://github.com/patrickjchen/unsloth/pulse
https://github.com/patrickjchen/unsloth
unslothhttps://github.com/patrickjchen/unsloth
unslothai/unslothhttps://github.com/unslothai/unsloth
Notificationshttps://github.com/login?return_to=%2Fpatrickjchen%2Funsloth
Fork0 (0)https://github.com/login?return_to=%2Fpatrickjchen%2Funsloth
Star0 (0)https://github.com/login?return_to=%2Fpatrickjchen%2Funsloth
unsloth.aihttps://unsloth.ai
Readmehttps://github.com/patrickjchen/unsloth#readme-ov-file
Licensehttps://github.com/patrickjchen/unsloth#License-1-ov-file
Activityhttps://github.com/patrickjchen/unsloth/activity
0 forkshttps://github.com/patrickjchen/unsloth/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fpatrickjchen%2Funsloth&report=patrickjchen+%28user%29
Brancheshttps://github.com/patrickjchen/unsloth/branches
Tagshttps://github.com/patrickjchen/unsloth/tags
https://github.com/patrickjchen/unsloth/branches
https://github.com/patrickjchen/unsloth/tags
210 Commitshttps://github.com/patrickjchen/unsloth/commits/main/
https://github.com/patrickjchen/unsloth/commits/main/
.githubhttps://github.com/patrickjchen/unsloth/tree/main/.github
.githubhttps://github.com/patrickjchen/unsloth/tree/main/.github
imageshttps://github.com/patrickjchen/unsloth/tree/main/images
imageshttps://github.com/patrickjchen/unsloth/tree/main/images
unslothhttps://github.com/patrickjchen/unsloth/tree/main/unsloth
unslothhttps://github.com/patrickjchen/unsloth/tree/main/unsloth
LICENSEhttps://github.com/patrickjchen/unsloth/blob/main/LICENSE
LICENSEhttps://github.com/patrickjchen/unsloth/blob/main/LICENSE
README.mdhttps://github.com/patrickjchen/unsloth/blob/main/README.md
README.mdhttps://github.com/patrickjchen/unsloth/blob/main/README.md
pyproject.tomlhttps://github.com/patrickjchen/unsloth/blob/main/pyproject.toml
pyproject.tomlhttps://github.com/patrickjchen/unsloth/blob/main/pyproject.toml
READMEhttps://github.com/patrickjchen/unsloth
Licensehttps://github.com/patrickjchen/unsloth
https://unsloth.ai
https://colab.research.google.com/drive/135ced7oHytdxu3N2DNe1Z0kqjyYIkDXp?usp=sharing
https://discord.gg/u54VK8m8tk
https://ko-fi.com/unsloth
https://github.com/patrickjchen/unsloth#finetune-llama-3-mistral--gemma-2-5x-faster-with-80-less-memory
https://camo.githubusercontent.com/fae6fb59aeaaa82c3070ea3cd3ff31fc57e24a30e74282c84ac2457758987fd9/68747470733a2f2f692e6962622e636f2f734a37526847472f696d6167652d34312e706e67
https://github.com/patrickjchen/unsloth#-finetune-for-free
▶️ Start for freehttps://colab.research.google.com/drive/135ced7oHytdxu3N2DNe1Z0kqjyYIkDXp?usp=sharing
▶️ Start for freehttps://colab.research.google.com/drive/1Dyauq4kTZoLewQ1cApceUQVNcnnNTzg_?usp=sharing
▶️ Start for freehttps://colab.research.google.com/drive/10NbwlsRChbma1v55m8LAPYG15uQv6HLo?usp=sharing
▶️ Start for freehttps://colab.research.google.com/drive/11t4njE3c4Lxl-07OD8lJSMKkfyJml3Tn?usp=sharing
▶️ Start for freehttps://colab.research.google.com/drive/15vttTpzzVXv_tJwEk-hIcQ0S9FcEWvwP?usp=sharing
▶️ Start for freehttps://colab.research.google.com/drive/1NvkBmkHfucGO3Ve9s1NKZvMNlw5p83ym?usp=sharing
▶️ Start for freehttps://colab.research.google.com/drive/1AZghoNBQaMDgWJpi4RbffGM1h6raLUj9?usp=sharing
Llama-3 8bhttps://www.kaggle.com/code/danielhanchen/kaggle-llama-3-8b-unsloth-notebook
Gemma 7bhttps://www.kaggle.com/code/danielhanchen/kaggle-gemma-7b-unsloth-notebook/
Mistral 7bhttps://www.kaggle.com/code/danielhanchen/kaggle-mistral-7b-unsloth-notebook
conversational notebookhttps://colab.research.google.com/drive/1XamvWYinY6FOSX9GLvnqSjjsNflxdhNc?usp=sharing
Mistral 7bhttps://colab.research.google.com/drive/1Aau3lgPzeZKQ-98h69CCu1UJcvIBLmy2?usp=sharing
text completion notebookhttps://colab.research.google.com/drive/1ef-tab5bhkvWmBOObepl1WgJvfvSzn5Q?usp=sharing
https://github.com/patrickjchen/unsloth#-unslothai-news
Llama-3 8bhttps://colab.research.google.com/drive/135ced7oHytdxu3N2DNe1Z0kqjyYIkDXp?usp=sharing
ORPO supporthttps://colab.research.google.com/drive/11t4njE3c4Lxl-07OD8lJSMKkfyJml3Tn?usp=sharing
Phi-3 3.8b supporthttps://colab.research.google.com/drive/1NvkBmkHfucGO3Ve9s1NKZvMNlw5p83ym?usp=sharing
further 30%https://unsloth.ai/blog/long-context
4x longer context windowshttps://unsloth.ai/blog/long-context
CodeGemmahttps://colab.research.google.com/drive/19lwcRk_ZQ_ZtX-qzFP3qZBBHZNcMD1hh?usp=sharing
Gemma 7bhttps://colab.research.google.com/drive/10NbwlsRChbma1v55m8LAPYG15uQv6HLo?usp=sharing
Gemma 2bhttps://colab.research.google.com/drive/15gGm7x_jTm017_Ic8e317tdIpDG53Mtu?usp=sharing
2x faster inferencehttps://colab.research.google.com/drive/1aqlNQi7MMJbynFDyOQteD2t0yVfjb9Zh?usp=sharing
https://github.com/patrickjchen/unsloth#-links-and-resources
Read Our Wikihttps://github.com/unslothai/unsloth/wiki
https://camo.githubusercontent.com/708f72978b50e9cc879e17bd466d5794b2eeb63dd3d338bb126c52afb17ec449/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f636f6d6d6f6e732f362f36662f4c6f676f5f6f665f547769747465722e737667
Follow us on Xhttps://twitter.com/unslothai
Read The Dochttps://github.com/unslothai/unsloth/tree/main#-documentation
unsloth/README.mdhttps://github.com/unslothai/unsloth/tree/main#installation-instructions
Performance Tableshttps://github.com/unslothai/unsloth/tree/main#-performance-benchmarking
Unsloth Releaseshttps://huggingface.co/unsloth
Read our Blogshttps://unsloth.ai/blog
https://github.com/patrickjchen/unsloth#-key-features
OpenAI's Tritonhttps://openai.com/research/triton
Check your GPU!https://developer.nvidia.com/cuda-gpus
bitsandbyteshttps://github.com/TimDettmers/bitsandbytes
Unsloth Prohttps://unsloth.ai/
https://raw.githubusercontent.com/unslothai/unsloth/main/images/made with unsloth.png
https://github.com/patrickjchen/unsloth#-performance-benchmarking
go to our websitehttps://unsloth.ai/blog/mistral-benchmark#Benchmark%20tables
Unsloth Prohttps://unsloth.ai/pricing
🤗Hugging Facehttps://huggingface.co/blog/unsloth-trl
https://camo.githubusercontent.com/fae6fb59aeaaa82c3070ea3cd3ff31fc57e24a30e74282c84ac2457758987fd9/68747470733a2f2f692e6962622e636f2f734a37526847472f696d6167652d34312e706e67
https://github.com/patrickjchen/unsloth#-installation-instructions
https://github.com/patrickjchen/unsloth#conda-installation
Github issuehttps://github.com/unslothai/unsloth/issues/73
https://github.com/patrickjchen/unsloth#pip-installation
https://pytorch.org/https://pytorch.org/
https://github.com/patrickjchen/unsloth#-documentation
Wiki pagehttps://github.com/unslothai/unsloth/wiki
SFT docshttps://huggingface.co/docs/trl/main/en/sft_trainer#accelerate-fine-tuning-2x-using-unsloth
DPO docshttps://huggingface.co/docs/trl/main/en/dpo_trainer#accelerate-dpo-fine-tuning-using-unsloth
https://github.com/patrickjchen/unsloth#dpo-support
Llama-Factoryhttps://github.com/hiyouga/LLaMA-Factory
notebookhttps://colab.research.google.com/drive/15vttTpzzVXv_tJwEk-hIcQ0S9FcEWvwP?usp=sharing
SFT docshttps://huggingface.co/docs/trl/main/en/sft_trainer#accelerate-fine-tuning-2x-using-unsloth
DPO docshttps://huggingface.co/docs/trl/main/en/dpo_trainer#accelerate-dpo-fine-tuning-using-unsloth
https://github.com/patrickjchen/unsloth#-detailed-benchmarking-tables
go to our websitehttps://unsloth.ai/blog/mistral-benchmark#Benchmark%20tables
Codehttps://colab.research.google.com/drive/1u4dBeM-0vGNVmmO6X7cScAut-Hyt4KDF?usp=sharing
Codehttps://colab.research.google.com/drive/1fgTOxpMbVjloQBvZyz4lF4BacKSZOB2A?usp=sharing
Codehttps://colab.research.google.com/drive/1YIPY_18xm-K0iJDgvNkRoJsgkPMPAO3G?usp=sharing
Codehttps://colab.research.google.com/drive/1ANW8EFL3LVyTD7Gq4TkheC1Z7Rxw-rHp?usp=sharing
https://github.com/patrickjchen/unsloth#llama-factory-3rd-party-benchmarking
Link to performance table.https://github.com/hiyouga/LLaMA-Factory/wiki/Performance-Comparison
https://github.com/patrickjchen/unsloth#performance-comparisons-between-popular-models
https://github.com/patrickjchen/unsloth#mistral-7b
Codehttps://colab.research.google.com/drive/1mePk3KzwTD81hr5mcNcs_AX3Kbg_Ha0x?usp=sharing
Codehttps://colab.research.google.com/drive/1dgHxjvTmX6hb0bPcLp26RXSE6_n9DKj7?usp=sharing
Codehttps://colab.research.google.com/drive/1SKrKGV-BZoU4kv5q3g0jtE_OhRgPtrrQ?usp=sharing
Codehttps://colab.research.google.com/drive/18yOiyX0T81mTwZqOALFSCX_tSAqju6aD?usp=sharing
https://github.com/patrickjchen/unsloth#codellama-34b
▶️ Codehttps://colab.research.google.com/drive/1ykfz3BqrtC_AUFegCzUQjjfUNlxp6Otc?usp=sharing
Codehttps://colab.research.google.com/drive/12ZypxQh7OC6kBXvWZI-5d05I4m-B_hoR?usp=sharing
Codehttps://colab.research.google.com/drive/1gdHyAx8XJsz2yNV-DHvbHjR1iCef5Qmh?usp=sharing
Codehttps://colab.research.google.com/drive/1fm7wqx9MJ0kRrwKOfmLkK1Rmw-pySahB?usp=sharing
https://github.com/patrickjchen/unsloth#1-tesla-t4
▶️ Codehttps://colab.research.google.com/drive/1XpLIV4s8Bj5uryB-X2gqM88oRGHEGdaB?usp=sharing
Codehttps://colab.research.google.com/drive/1LyXu6CjuymQg6ddHX8g1dpUvrMa1nn4L?usp=sharing
Codehttps://colab.research.google.com/drive/1gsv4LpY7C32otl1rgRo5wXTk4HIitXoM?usp=sharing
Codehttps://colab.research.google.com/drive/1VtULwRQwhEnVdNryjm27zXfdSM1tNfFK?usp=sharing
https://github.com/patrickjchen/unsloth#2-tesla-t4s-via-ddp
▶️ Codehttps://www.kaggle.com/danielhanchen/hf-original-alpaca-t4-ddp
Codehttps://www.kaggle.com/danielhanchen/hf-sdpa-alpaca-t4-ddp
Codehttps://www.kaggle.com/danielhanchen/unsloth-alpaca-t4-ddp
https://github.com/patrickjchen/unsloth#performance-comparisons-on-1-tesla-t4-gpu
https://camo.githubusercontent.com/fae6fb59aeaaa82c3070ea3cd3ff31fc57e24a30e74282c84ac2457758987fd9/68747470733a2f2f692e6962622e636f2f734a37526847472f696d6167652d34312e706e67
https://github.com/patrickjchen/unsloth#thank-you-to
HuyNguyen-husthttps://github.com/HuyNguyen-hust
RoPE Embeddings 28% fasterhttps://github.com/unslothai/unsloth/pull/238
RandomInternetPresonhttps://github.com/RandomInternetPreson
152334Hhttps://github.com/152334H
atgctghttps://github.com/atgctg
unsloth.aihttps://unsloth.ai
Readmehttps://github.com/patrickjchen/unsloth#readme-ov-file
Licensehttps://github.com/patrickjchen/unsloth#License-1-ov-file
Activityhttps://github.com/patrickjchen/unsloth/activity
0 forkshttps://github.com/patrickjchen/unsloth/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fpatrickjchen%2Funsloth&report=patrickjchen+%28user%29
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.