<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/make-llm-fine-tuning-2x-faster-with-unsloth-and-trl-g2mge9qbd" -->

---
title: Make LLM Fine-tuning 2x faster with Unsloth and 🤗 TRL
description: Introduces Unsloth, a lightweight tool for faster LLM fine-tuning. Benchmarking shows that Unsloth is up to 2.7x faster and uses up to 74% less memory compared...
canonical: https://daily.dev/posts/make-llm-fine-tuning-2x-faster-with-unsloth-and-trl-g2mge9qbd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Make LLM Fine-tuning 2x faster with Unsloth and 🤗 TRL | daily.dev
og:description: Introduces Unsloth, a lightweight tool for faster LLM fine-tuning. Benchmarking shows that Unsloth is up to 2.7x faster and uses up to 74% less memory compared...
og:url: https://daily.dev/posts/make-llm-fine-tuning-2x-faster-with-unsloth-and-trl-g2mge9qbd
og:image: https://api.daily.dev/og/posts/g2MgE9qBd.png
og:image:alt: Make LLM Fine-tuning 2x faster with Unsloth and 🤗 TRL
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Make LLM Fine-tuning 2x faster with Unsloth and 🤗 TRL

**[Hugging Face](https://daily.dev/sources/huggingface)** · 4 min read · 0 upvotes · 0 comments

## Summary

Introduces Unsloth, a lightweight tool for faster LLM fine-tuning. Benchmarking shows that Unsloth is up to 2.7x faster and uses up to 74% less memory compared to the latest Transformers version.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://huggingface.co/blog/unsloth-trl>

---

[View this post on daily.dev](https://daily.dev/posts/make-llm-fine-tuning-2x-faster-with-unsloth-and-trl-g2mge9qbd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Make LLM Fine-tuning 2x faster with Unsloth and 🤗 TRL","url":"https://daily.dev/posts/make-llm-fine-tuning-2x-faster-with-unsloth-and-trl-g2mge9qbd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/make-llm-fine-tuning-2x-faster-with-unsloth-and-trl-g2mge9qbd"},"datePublished":"2024-01-16T08:39:43.039Z","dateModified":"2024-01-16T08:39:42.389Z","description":"Introduces Unsloth, a lightweight tool for faster LLM fine-tuning. Benchmarking shows that Unsloth is up to 2.7x faster and uses up to 74% less memory compared...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3b3989989cd403c87a3dfb5ac5553b60?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3b3989989cd403c87a3dfb5ac5553b60?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Hugging Face","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hugging Face","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f1f55c67d81a4330acf5b90b26b0c8e1","url":"https://daily.dev/sources/huggingface"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/make-llm-fine-tuning-2x-faster-with-unsloth-and-trl-g2mge9qbd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hugging Face","item":"https://daily.dev/sources/huggingface"},{"@type":"ListItem","position":3,"name":"Make LLM Fine-tuning 2x faster with Unsloth and 🤗 TRL"}]}
```

