GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Qwen 2.5 by danielhanchen · Pull Request #1280 · unslothai/unsloth

Conversation

@danielhanchen

@danielhanchen danielhanchen commented Nov 12, 2024

Copy link
Copy Markdown
Member

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
danielhanchen and others added 30 commits October 21, 2024 01:02
@danielhanchen
Fix TRL
f0aca90
@danielhanchen
Update mistral.py
f4ae585
@danielhanchen
Patch processing_class
106f213
@danielhanchen
Update tokenizer_utils.py
ef84212
@danielhanchen
Update tokenizer_utils.py
4f7c527
@danielhanchen
Update tokenizer_utils.py
aa2b207
@danielhanchen
Update tokenizer_utils.py
101389d
@danielhanchen
Update tokenizer_utils.py
c0f0fc9
@danielhanchen
Update tokenizer_utils.py
b3e0033
@timothelaborie
Installation guide (#1165)
aabb5ff
@eltociear
chore: update chat_templates.py (#1166)
30bf339
orginal -> original
@danielhanchen
Disable Flex Attention
2895839
@danielhanchen
Update tokenizer_utils.py
06f5d75
@danielhanchen
Update _utils.py
28e6eea
@danielhanchen
n_items
b821f20
@danielhanchen
Update cross_entropy_loss.py
e561366
@danielhanchen
Fix DPO, ORPO
4ff247a
@danielhanchen
Merge branch 'main' into nightly
2b858a5
@danielhanchen
Update _utils.py
1c063b4
@danielhanchen
Update _utils.py
f195ee1
@Erland366 @danielhanchen
@timothelaborie @eltociear
fix/transformers-unpack (#1180)
faf2747
* Fix DPO, ORPO (#1177)

* Fix TRL

* Update mistral.py

* Patch processing_class

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Installation guide (#1165)

* chore: update chat_templates.py (#1166)

orginal -> original

* Disable Flex Attention

* Update tokenizer_utils.py

* Update _utils.py

* n_items

* Update cross_entropy_loss.py

* Fix DPO, ORPO

* Update _utils.py

---------

Co-authored-by: timothelaborie <[email protected]>
Co-authored-by: Ikko Eltociear Ashimine <[email protected]>

* Add warning for missing Unpack and KwargsForCausalLM in older Transformers versions

---------

Co-authored-by: Daniel Han <[email protected]>
Co-authored-by: timothelaborie <[email protected]>
Co-authored-by: Ikko Eltociear Ashimine <[email protected]>
@danielhanchen
Update cross_entropy_loss.py
5961c34
@danielhanchen
Update _utils.py
7308bb8
@danielhanchen
Update _utils.py
0096e5b
@danielhanchen
Merge branch 'main' into nightly
44b480f
@Datta0
donot upcast lm_head and embeddings to float32 (#1186)
6776055
@Datta0
Cleanup upcast logs (#1188)
625209e
@Erland366 @danielhanchen
Fix/phi-longrope (#1193)
2bc189f
* Enhance rotary embedding handling in LlamaAttention and LongRopeRotaryEmbedding

* Typo

* Improve rotary embedding handling in LlamaAttention to prevent errors with short KV cache

* Update llama.py

* Update llama.py

---------

Co-authored-by: Daniel Han <[email protected]>
@danielhanchen
Update transformers
6f28d16
@danielhanchen
Merge branch 'main' into nightly
f94f7c1
danielhanchen and others added 28 commits November 6, 2024 12:13
@danielhanchen
Merge branch 'main' into nightly
36c5836
@Erland366 @danielhanchen
Fix: cast logits to float32 in cross_entropy_forward to prevent errors (
f24aef5
#1254)

* Fix: cast logits to float32 in cross_entropy_forward to prevent errors

* Update cross_entropy_loss.py

---------

Co-authored-by: Daniel Han <[email protected]>
@Datta0 @danielhanchen
Throw error when inferencing longer than max_popsition_embeddings (#1236
3d906e6
)

* Throw error when inferencing longer than max_popsition_embeddings without rope scaling

* Update llama.py

---------

Co-authored-by: Daniel Han <[email protected]>
@Rabbidon root
CLI now handles user input strings for dtype correctly (#1235)
de1049b
Co-authored-by: root <[email protected]>
@danielhanchen
Update flex_attention.py
be72975
@danielhanchen
Update _utils.py
05170cd
@danielhanchen
Update _utils.py
7e0877d
@danielhanchen
Update flex_attention.py
6b5c599
@danielhanchen
Update flex_attention.py
1ba9f2e
@danielhanchen
Update loader.py
da61c4d
@danielhanchen
Update loader.py
3316ee2
@danielhanchen
Update flex_attention.py
501ca84
@danielhanchen
Update flex_attention.py
ce621b7
@danielhanchen
Update flex_attention.py
4b01ff1
@danielhanchen
Update flex_attention.py
ef5052a
@danielhanchen
Update _utils.py
52bca32
@danielhanchen
Merge branch 'main' into nightly
68b8d62
@danielhanchen
Merge branch 'main' into nightly
15da065
@danielhanchen
Update cross_entropy_loss.py
8b3e9c2
@danielhanchen
Update _utils.py
3a1e7ef
@danielhanchen
Update tokenizer_utils.py
f1ec165
@danielhanchen
Update tokenizer_utils.py
a4e9705
@danielhanchen
Update tokenizer_utils.py
92c6a27
@danielhanchen
Update tokenizer_utils.py
673f541
@danielhanchen
Update tokenizer_utils.py
8fe9109
@danielhanchen
triton_cast
ad41479
@danielhanchen
Update utils.py
fcf2009
@danielhanchen
Qwen 2.5 Coder
af9ba07
@danielhanchen
danielhanchen merged commit 899caf0 into main Nov 12, 2024
abiswas-realadvice pushed a commit to abiswas-realadvice/unsloth that referenced this pull request May 14, 2026
@danielhanchen @timothelaborie
@eltociear @Erland366 @Datta0 @dendarrion @Rabbidon root
Qwen 2.5 (unslothai#1280)
6cc21e3
* Fix TRL

* Update mistral.py

* Patch processing_class

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Installation guide (unslothai#1165)

* chore: update chat_templates.py (unslothai#1166)

orginal -> original

* Disable Flex Attention

* Update tokenizer_utils.py

* Update _utils.py

* n_items

* Update cross_entropy_loss.py

* Fix DPO, ORPO

* Update _utils.py

* Update _utils.py

* fix/transformers-unpack (unslothai#1180)

* Fix DPO, ORPO (unslothai#1177)

* Fix TRL

* Update mistral.py

* Patch processing_class

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Installation guide (unslothai#1165)

* chore: update chat_templates.py (unslothai#1166)

orginal -> original

* Disable Flex Attention

* Update tokenizer_utils.py

* Update _utils.py

* n_items

* Update cross_entropy_loss.py

* Fix DPO, ORPO

* Update _utils.py

---------

Co-authored-by: timothelaborie <[email protected]>
Co-authored-by: Ikko Eltociear Ashimine <[email protected]>

* Add warning for missing Unpack and KwargsForCausalLM in older Transformers versions

---------

Co-authored-by: Daniel Han <[email protected]>
Co-authored-by: timothelaborie <[email protected]>
Co-authored-by: Ikko Eltociear Ashimine <[email protected]>

* Update cross_entropy_loss.py

* Update _utils.py

* Update _utils.py

* donot upcast lm_head and embeddings to float32 (unslothai#1186)

* Cleanup upcast logs (unslothai#1188)

* Fix/phi-longrope (unslothai#1193)

* Enhance rotary embedding handling in LlamaAttention and LongRopeRotaryEmbedding

* Typo

* Improve rotary embedding handling in LlamaAttention to prevent errors with short KV cache

* Update llama.py

* Update llama.py

---------

Co-authored-by: Daniel Han <[email protected]>

* Update transformers

* Unk token issues

* Update _utils.py

* Fix pad token

* Update llama.py

* Typo

* ignored labels

* Revert "ignored labels"

This reverts commit 9d07be0.

* More patching

* Update _utils.py

* Update _utils.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Feat/all tmp (unslothai#1219)

* Update save.py

Check whether path is in /tmp dir for Kaggle environment

* Update save.py

Move temporary_location to /tmp in Kaggle

* Enhance Kaggle environment support in save and tokenizer utilities

---------

Co-authored-by: dendarrion <[email protected]>
Co-authored-by: Erland366 <[email protected]>

* Bug fixes

* Update pyproject.toml

* Update _utils.py

* Update __init__.py

* Update __init__.py

* Update _utils.py

* Update _utils.py

* Update _utils.py

* Update _utils.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Tied weights

* Revert "Tied weights"

This reverts commit 8090b7c.

* Tied weights

* Utils

* CE Loss patching

* Update __init__.py

* Update __init__.py

* Patching

* Update cross_entropy_loss.py

* CE Loss

* Update _utils.py

* Update _utils.py

* CE Loss

* Update _utils.py

* Update _utils.py

* Layernorm

* Update _utils.py

* Update _utils.py

* Post patch

* Update _utils.py

* Update llama.py

* Update _utils.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* typing

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* int64

* Update _utils.py

* Update cross_entropy_loss.py

* constexpr

* constexpr

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update _utils.py

* Update _utils.py

* Update _utils.py

* CE

* Update cross_entropy_loss.py

* Update _utils.py

* Update llama.py

* Update _utils.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* Update utils.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* Update rms_layernorm.py

* typing

* Update rope_embedding.py

* types

* Disable compiling

* Update _utils.py

* Update _utils.py

* Forward hook

* Update _utils.py

* Update llama.py

* Update _utils.py

* Update llama.py

* Update llama.py

* Update _utils.py

* Update pyproject.toml

* Update _utils.py

* Update llama.py

* CE Loss

* Update cross_entropy_loss.py

* Update _utils.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update cross_entropy_loss.py

* Update llama.py

* Update _utils.py

* Update _utils.py

* Update _utils.py

* Update _utils.py

* Update _utils.py

* Fix: cast logits to float32 in cross_entropy_forward to prevent errors (unslothai#1254)

* Fix: cast logits to float32 in cross_entropy_forward to prevent errors

* Update cross_entropy_loss.py

---------

Co-authored-by: Daniel Han <[email protected]>

* Throw error when inferencing longer than max_popsition_embeddings (unslothai#1236)

* Throw error when inferencing longer than max_popsition_embeddings without rope scaling

* Update llama.py

---------

Co-authored-by: Daniel Han <[email protected]>

* CLI now handles user input strings for dtype correctly (unslothai#1235)

Co-authored-by: root <[email protected]>

* Update flex_attention.py

* Update _utils.py

* Update _utils.py

* Update flex_attention.py

* Update flex_attention.py

* Update loader.py

* Update loader.py

* Update flex_attention.py

* Update flex_attention.py

* Update flex_attention.py

* Update flex_attention.py

* Update _utils.py

* Update cross_entropy_loss.py

* Update _utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* Update tokenizer_utils.py

* triton_cast

* Update utils.py

* Qwen 2.5 Coder

---------

Co-authored-by: timothelaborie <[email protected]>
Co-authored-by: Ikko Eltociear Ashimine <[email protected]>
Co-authored-by: Edd <[email protected]>
Co-authored-by: Datta Nimmaturi <[email protected]>
Co-authored-by: dendarrion <[email protected]>
Co-authored-by: Erland366 <[email protected]>
Co-authored-by: Edwin Fennell <[email protected]>
Co-authored-by: root <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@danielhanchen @timothelaborie @eltociear @Erland366 @Datta0 @Rabbidon
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.