Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
unslothai
/
unsloth
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
7k
Star
76.8k
Code
Issues
802
Pull requests
485
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
GRPO: sequence packing for the no-grad old/ref logp path (default-on)
- #6738
#6738
Merged
danielhanchen
merged 24 commits into
main
unslothai/unsloth:main
from
grpo-sequence-packing
unslothai/unsloth:grpo-sequence-packing
Copy head branch name to clipboard
Jul 6, 2026
Conversation
Commits
24
(24)
Checks
Files changed
Merged
GRPO: sequence packing for the no-grad old/ref logp path (default-on)
#6738
danielhanchen
merged 24 commits into
main
unslothai/unsloth:main
from
grpo-sequence-packing
unslothai/unsloth:grpo-sequence-packing
Copy head branch name to clipboard
Commits
Commits on Jun 29, 2026
GRPO: optional sequence packing for the no-grad old/ref logp path
Show description for 76bc679
danielhanchen
committed
76bc679
View commit details
Copy full SHA for 76bc679
Browse repository at this point
[pre-commit.ci] auto fixes from pre-commit.com hooks
Show description for 9f2b246
pre-commit-ci[bot]
committed
9f2b246
View commit details
Copy full SHA for 9f2b246
Browse repository at this point
GRPO no-grad packing: address review feedback
Show description for 26d0337
danielhanchen
committed
26d0337
View commit details
Copy full SHA for 26d0337
Browse repository at this point
[pre-commit.ci] auto fixes from pre-commit.com hooks
Show description for 38562de
pre-commit-ci[bot]
committed
38562de
View commit details
Copy full SHA for 38562de
Browse repository at this point
Commits on Jun 30, 2026
GRPO no-grad packing: default-on, verify against per-row reference
Show description for 6298366
danielhanchen
committed
6298366
View commit details
Copy full SHA for 6298366
Browse repository at this point
[pre-commit.ci] auto fixes from pre-commit.com hooks
Show description for 4d69187
pre-commit-ci[bot]
committed
4d69187
View commit details
Copy full SHA for 4d69187
Browse repository at this point
GRPO no-grad packing: disable entirely on cross-sample mismatch
Show description for 499e528
danielhanchen
committed
499e528
View commit details
Copy full SHA for 499e528
Browse repository at this point
Commits on Jul 1, 2026
GRPO no-grad packing: trim comments to be concise
danielhanchen
committed
b5127aa
View commit details
Copy full SHA for b5127aa
Browse repository at this point
GRPO no-grad packing: fix per-row completion boundary for left-padded rows
Show description for 537c276
danielhanchen
committed
537c276
View commit details
Copy full SHA for 537c276
Browse repository at this point
[pre-commit.ci] auto fixes from pre-commit.com hooks
Show description for 3814b68
pre-commit-ci[bot]
committed
3814b68
View commit details
Copy full SHA for 3814b68
Browse repository at this point
GRPO no-grad packing: gate verification on real completion rows
Show description for 840ed89
danielhanchen
committed
840ed89
View commit details
Copy full SHA for 840ed89
Browse repository at this point
GRPO no-grad packing: gate debug logging on UNSLOTH_ENABLE_LOGGING
Show description for a2b135f
danielhanchen
committed
a2b135f
View commit details
Copy full SHA for a2b135f
Browse repository at this point
Commits on Jul 2, 2026
GRPO packing: import UNSLOTH_ENABLE_LOGGING inside the injected logp function
Show description for e014c0a
danielhanchen
committed
e014c0a
View commit details
Copy full SHA for e014c0a
Browse repository at this point
Commits on Jul 3, 2026
GRPO no-grad packing: harden unsafe-length skip, verify guard, fallback cleanup
Show description for f4771ef
danielhanchen
committed
f4771ef
View commit details
Copy full SHA for f4771ef
Browse repository at this point
Merge remote-tracking branch 'origin/main' into grpo-sequence-packing
danielhanchen
committed
4e8f30c
View commit details
Copy full SHA for 4e8f30c
Browse repository at this point
GRPO no-grad packing: cap the flattened forward at one mini-batch budget
Show description for 7dc44d3
danielhanchen
committed
7dc44d3
View commit details
Copy full SHA for 7dc44d3
Browse repository at this point
GRPO no-grad packing: disable unless unsloth_zoo has the masked-column guard
Show description for 1ef2184
danielhanchen
committed
1ef2184
View commit details
Copy full SHA for 1ef2184
Browse repository at this point
[pre-commit.ci] auto fixes from pre-commit.com hooks
Show description for 5376fb7
pre-commit-ci[bot]
committed
5376fb7
View commit details
Copy full SHA for 5376fb7
Browse repository at this point
Merge branch 'main' into grpo-sequence-packing
Imagineer99
authored
30b8d3f
View commit details
Copy full SHA for 30b8d3f
Browse repository at this point
Commits on Jul 5, 2026
GRPO packing: hoist env gates and zoo-guard detection to one-time module checks
Show description for 2baae82
danielhanchen
committed
2baae82
View commit details
Copy full SHA for 2baae82
Browse repository at this point
[pre-commit.ci] auto fixes from pre-commit.com hooks
Show description for 85244ba
pre-commit-ci[bot]
committed
85244ba
View commit details
Copy full SHA for 85244ba
Browse repository at this point
GRPO packing: cap the flattened forward by the padded chunk rows
Show description for 80b24d1
danielhanchen
committed
80b24d1
View commit details
Copy full SHA for 80b24d1
Browse repository at this point
Commits on Jul 6, 2026
GRPO sequence packing: tighten comments
danielhanchen
committed
1ab029f
View commit details
Copy full SHA for 1ab029f
Browse repository at this point
[pre-commit.ci] auto fixes from pre-commit.com hooks
Show description for ba1233d
pre-commit-ci[bot]
committed
ba1233d
View commit details
Copy full SHA for ba1233d
Browse repository at this point
You can’t perform that action at this time.