CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 22:27:09 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"d3853ba26c75d79eb1188501a33e214b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=UyXiaV%2B2bq1jciWus5tHCrZ8WwC8t6qnl36n5mELifDWsqbp%2B1eGPdr1dNMNey%2FZ5FaTp3sVXaWEGr9aJtZlS9yNWbr%2FR%2FSoxp56nZ5dfbOn3wJ7YK7OvOvwnB4KjFPvJkvyRyC%2Biz3NkIMl846437bf0P6rjbMRKpowaITMBlheybKgzGLmF0RAeUc1jLUGu7LzqJ1wAF3jmCClhb5sHR2IYuvNgrnkCO%2FFFRLIRw67Ptp4HW5BBH%2FkFr5o8ntqpV2gHYnETROwTvCwAvxQEQ%3D%3D--a4FdLeJBfn08E%2FCa--jnrr0mvsVCnL1EERpEX%2FnQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1789045074.1753309628; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 22:27:08 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 22:27:08 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C9A0:9C104:156C5F:1D1D5E:688161BC
Release v0.5.0: First open source optimized Post Training Loss, AMD CI, XPU Support · linkedin/Liger-Kernel · GitHub
Loading
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 372
v0.5.0: First open source optimized Post Training Loss, AMD CI, XPU Support
Compare
·
217 commits
to main
since this release
37ffbe9
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Highlights
- Post Training Loss: Introducing the first open-source optimized post-training losses in Liger Kernel with ~80% memory reduction, featuring DPO, CPO, ORPO, SimPO, JSD, and more. No more OOM nightmares for post-training ML researchers!

- AMD CI: With AMD’s generous sponsorship of MI300s, we’ve integrated them into our CI. Special thanks to Embedded LLM for building the AMD CI infrastructure. #428
- XPU Support: In collaboration with Intel, we now support XPU, demonstrating comparable performance gains with other vendors. #407
What's Changed
- Adds the CPO Alignment Loss Function by @pramodith in #382
- Qwen2-VL Training Example w/ Liger by @tyler-romero in #389
- Support Qwen2-VL's multimodal RoPE implementation by @li-plus in #384
- add xpu device support for
rms_norm
by @faaany in #379 - fix qwen2 import failure in test by @ByronHsu in #394
- Add Chunked SimPO Loss by @pramodith in #386
- Add script to reproducibly run examples on Modal by @tyler-romero in #397
- add nn.module support for chunked loss function by @shivam15s in #402
- Generalize JSD to FKL/RKL by @yundai424 in #393
- Enable keyword arguments for liger functional by @hongpeng-guo in #400
- add reference model logps to chunkedloss interface and fix dpo loss fn by @shivam15s in #405
- Optimize CE Loss by casting dtype to float32 inside kernel by @pramodith in #406
- Xpu support by @mgrabban in #407
- Fix
get_batch_loss_metrics
comments by @austin362667 in #413 - Add rebuild to CI by @ByronHsu in #415
- Fix os env by @ByronHsu in #416
- Adjust QWEN2 VL Loss
rtol
by @austin362667 in #412 - [tiny] Add QwQ to readme (same arch as Qwen2) by @tyler-romero in #424
- Enhance Cross Entropy Softcap Unit Test by @austin362667 in #423
- Add ORPO Trainer + support HF metrics directly from chunked loss functions + fixes to avoid torch compile recompilations by @shivam15s in #429
- Add Build Success/Fail Badge by @hebiao064 in #431
- Switch amd-ci to use MI300X runner. by @saienduri in #428
- [CI] rename ci and add cron job for amd by @ByronHsu in #433
- [CI] shorten ci name by @ByronHsu in #434
- update ci icon on readme by @bboyleonp666 in #440
- Introduce Knowledge Distillation Base by @austin362667 in #432
- [AMD] [CI] Clean up
amd-ci
by @tjtanaa in #436 - Add xpu in env report by @abhilash1910 in #443
- Specify scheduled CI in AMD badge by @ByronHsu in #446
- improve code quality for chunk loss by @ByronHsu in #448
- Add paper link and formula for preference loss by @ByronHsu in #449
- Make kernel doc lean by @ByronHsu in #450
- Fix LigerCrossEntropyLoss Reduction Behavior for "None" Mode by @hebiao064 in #435
- add eng blog by @ByronHsu in #452
- add chunked loss to readme by @shivam15s in #453
- change chunked readme by @shivam15s in #454
- add sponsorship and collab by @ByronHsu in #457
- version bump to 0.5.0 by @shivam15s in #455
- Add HIP (ROCm) and Liger Kernel to env report by @Comet0322 in #456
New Contributors
- @li-plus made their first contribution in #384
- @faaany made their first contribution in #379
- @hongpeng-guo made their first contribution in #400
- @mgrabban made their first contribution in #407
- @hebiao064 made their first contribution in #431
- @saienduri made their first contribution in #428
- @bboyleonp666 made their first contribution in #440
- @abhilash1910 made their first contribution in #443
- @Comet0322 made their first contribution in #456
Assets 2
3 people reacted
You can’t perform that action at this time.