-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mlx Model (loglikelihood & generate_until) #1902
Open
chimezie
wants to merge
72
commits into
EleutherAI:main
Choose a base branch
from
chimezie:mlx
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on May 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6121d1b - Browse repository at this point
Copy the full SHA 6121d1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8319638 - Browse repository at this point
Copy the full SHA 8319638View commit details
Commits on May 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 75bc3f9 - Browse repository at this point
Copy the full SHA 75bc3f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01d80ca - Browse repository at this point
Copy the full SHA 01d80caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87979f0 - Browse repository at this point
Copy the full SHA 87979f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcfea6c - Browse repository at this point
Copy the full SHA bcfea6cView commit details
Commits on May 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 08a0593 - Browse repository at this point
Copy the full SHA 08a0593View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d50820 - Browse repository at this point
Copy the full SHA 9d50820View commit details
Commits on Jun 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9b575f7 - Browse repository at this point
Copy the full SHA 9b575f7View commit details
Commits on Jun 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 71b2483 - Browse repository at this point
Copy the full SHA 71b2483View commit details
Commits on Jun 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 80623e4 - Browse repository at this point
Copy the full SHA 80623e4View commit details
Commits on Jun 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f496a47 - Browse repository at this point
Copy the full SHA f496a47View commit details
Commits on Jun 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1214693 - Browse repository at this point
Copy the full SHA 1214693View commit details
Commits on Jun 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e1d1d71 - Browse repository at this point
Copy the full SHA e1d1d71View commit details
Commits on Jun 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 363024a - Browse repository at this point
Copy the full SHA 363024aView commit details
Commits on Jun 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for eba4fb2 - Browse repository at this point
Copy the full SHA eba4fb2View commit details
Commits on Jul 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 24f1665 - Browse repository at this point
Copy the full SHA 24f1665View commit details
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ab89e53 - Browse repository at this point
Copy the full SHA ab89e53View commit details
Commits on Jul 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e4376d2 - Browse repository at this point
Copy the full SHA e4376d2View commit details
Commits on Jul 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7a1b419 - Browse repository at this point
Copy the full SHA 7a1b419View commit details
Commits on Jul 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9c78e9f - Browse repository at this point
Copy the full SHA 9c78e9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 423d2d9 - Browse repository at this point
Copy the full SHA 423d2d9View commit details
Commits on Jul 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 00145ef - Browse repository at this point
Copy the full SHA 00145efView commit details
Commits on Jul 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ec8e7d1 - Browse repository at this point
Copy the full SHA ec8e7d1View commit details
Commits on Jul 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 786e067 - Browse repository at this point
Copy the full SHA 786e067View commit details
Commits on Jul 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c6d104f - Browse repository at this point
Copy the full SHA c6d104fView commit details
Commits on Aug 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for da606ed - Browse repository at this point
Copy the full SHA da606edView commit details
Commits on Aug 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 00e15a5 - Browse repository at this point
Copy the full SHA 00e15a5View commit details
Commits on Aug 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 274391f - Browse repository at this point
Copy the full SHA 274391fView commit details
Commits on Aug 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 580e7d6 - Browse repository at this point
Copy the full SHA 580e7d6View commit details
Commits on Aug 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ff944e5 - Browse repository at this point
Copy the full SHA ff944e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e07e9a2 - Browse repository at this point
Copy the full SHA e07e9a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41f050a - Browse repository at this point
Copy the full SHA 41f050aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 131f424 - Browse repository at this point
Copy the full SHA 131f424View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e426d0 - Browse repository at this point
Copy the full SHA 0e426d0View commit details
Commits on Aug 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d382107 - Browse repository at this point
Copy the full SHA d382107View commit details
Commits on Aug 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 07b5b8d - Browse repository at this point
Copy the full SHA 07b5b8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d93d945 - Browse repository at this point
Copy the full SHA d93d945View commit details
Commits on Aug 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e3863d6 - Browse repository at this point
Copy the full SHA e3863d6View commit details
Commits on Aug 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d1df3a8 - Browse repository at this point
Copy the full SHA d1df3a8View commit details
Commits on Sep 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4a12ebe - Browse repository at this point
Copy the full SHA 4a12ebeView commit details
Commits on Oct 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a868300 - Browse repository at this point
Copy the full SHA a868300View commit details
Commits on Oct 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d0f0a8b - Browse repository at this point
Copy the full SHA d0f0a8bView commit details
Commits on Nov 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2b412da - Browse repository at this point
Copy the full SHA 2b412daView commit details -
Refactor MLX model loading and token handling
Simplify by removing unnecessary imports and the unused chat templating method. Adjust tokens and batch handling to properly manage sequence lengths and masking using latest, related mlx_lm bits (ml-explore/mlx-examples#825).
Configuration menu - View commit details
-
Copy full SHA for 038499b - Browse repository at this point
Copy the full SHA 038499bView commit details
Commits on Nov 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3f89dc7 - Browse repository at this point
Copy the full SHA 3f89dc7View commit details
Commits on Nov 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6ab6bc8 - Browse repository at this point
Copy the full SHA 6ab6bc8View commit details
Commits on Nov 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e2d9ae7 - Browse repository at this point
Copy the full SHA e2d9ae7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 907a06f - Browse repository at this point
Copy the full SHA 907a06fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b6c971 - Browse repository at this point
Copy the full SHA 4b6c971View commit details -
Configuration menu - View commit details
-
Copy full SHA for d11aa55 - Browse repository at this point
Copy the full SHA d11aa55View commit details
Commits on Nov 21, 2024
-
Fix batch processing to handle remainders and extraction of target conditional log probs.
Configuration menu - View commit details
-
Copy full SHA for 7ce767f - Browse repository at this point
Copy the full SHA 7ce767fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7eed0f9 - Browse repository at this point
Copy the full SHA 7eed0f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d253bb1 - Browse repository at this point
Copy the full SHA d253bb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0e3366 - Browse repository at this point
Copy the full SHA c0e3366View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a24829 - Browse repository at this point
Copy the full SHA 7a24829View commit details -
Configuration menu - View commit details
-
Copy full SHA for 676dff9 - Browse repository at this point
Copy the full SHA 676dff9View commit details
Commits on Nov 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cc48c10 - Browse repository at this point
Copy the full SHA cc48c10View commit details
Commits on Nov 23, 2024
-
Incorporated PR comments (mainly moving to _loglikelihood_tokens)
However, getting jinja2 Exception ("Failed to apply chat template. removing the system role in chat history.") when trying (will add test cases once it run)
Configuration menu - View commit details
-
Copy full SHA for d2e4222 - Browse repository at this point
Copy the full SHA d2e4222View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3922864 - Browse repository at this point
Copy the full SHA 3922864View commit details
Commits on Nov 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5bdf50c - Browse repository at this point
Copy the full SHA 5bdf50cView commit details
Commits on Nov 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f478fbc - Browse repository at this point
Copy the full SHA f478fbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9df463f - Browse repository at this point
Copy the full SHA 9df463fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f4aab5 - Browse repository at this point
Copy the full SHA 7f4aab5View commit details
Commits on Nov 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d770703 - Browse repository at this point
Copy the full SHA d770703View commit details -
Attempt to better mimic HF model loglikelihood_tokens impl of one-tok…
…en continuation caching, but getting a Key Error in re_ord.get_cache(..)
Configuration menu - View commit details
-
Copy full SHA for 9e2d8c9 - Browse repository at this point
Copy the full SHA 9e2d8c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a67baf0 - Browse repository at this point
Copy the full SHA a67baf0View commit details
Commits on Nov 30, 2024
-
Various fixes toward parity with HF impl
Fixed logic and include mask in what is returned from _preserve_last_target_len_logits. Fixed padding, cont_tok tracking, and removed one-token continuation caching
Configuration menu - View commit details
-
Copy full SHA for f6e2e20 - Browse repository at this point
Copy the full SHA f6e2e20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4349b50 - Browse repository at this point
Copy the full SHA 4349b50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 853db9f - Browse repository at this point
Copy the full SHA 853db9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78fc03e - Browse repository at this point
Copy the full SHA 78fc03eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0df42c1 - Browse repository at this point
Copy the full SHA 0df42c1View commit details
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.