-
Notifications
You must be signed in to change notification settings - Fork 48
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
Port 24.04 changes into main #851
Merged
Merged
Commits on May 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f834f4e - Browse repository at this point
Copy the full SHA f834f4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 060b1e8 - Browse repository at this point
Copy the full SHA 060b1e8View commit details
Commits on May 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 07fe41a - Browse repository at this point
Copy the full SHA 07fe41aView commit details -
Pax2TEConverter support for LLaMa2 checkpoints (#641)
**Changes:** - New option flags `--pax-split-qkv` and `--te-qkv-layout={qkv_packed,kv_packed}` for identifying QKV layouts for both the Pax source and TE target. Default behavior without new flags remains unchanged. - New option flag `--use-gated-activations` to support gated GELU in LLaMa2. - Bias terms are omitted from the checkpoint map when `--weight-only` is used. **Notes:** - Changes are verified with a 70b LLaMa2 checkpoint previously converted with @mingxu1067's hard-coded LLaMa2-only converter script. ``` python converter/main.py \ --input-path=<...> \ --output-path=<...> \ --fw=pax --direction=fw2te \ --num-of-layer=80 \ --num-of-head=64 \ --head-dim=128 \ --mlp-intermediate-dim=28672 \ --kernel-chunk-size=512 \ --weight-only \ --use-gated-activations \ --pax-split-qkv \ --te-qkv-layout=kv_packed ``` --------- Signed-off-by: Alp Dener <[email protected]> Co-authored-by: ashors1 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e33819 - Browse repository at this point
Copy the full SHA 3e33819View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa64660 - Browse repository at this point
Copy the full SHA fa64660View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b99cdf - Browse repository at this point
Copy the full SHA 3b99cdfView commit details
Commits on May 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1bfbc43 - Browse repository at this point
Copy the full SHA 1bfbc43View commit details
Commits on May 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 41c781c - Browse repository at this point
Copy the full SHA 41c781cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d691e1 - Browse repository at this point
Copy the full SHA 7d691e1View commit details
Commits on May 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5972a5e - Browse repository at this point
Copy the full SHA 5972a5eView commit details
Commits on Jun 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8fe0f98 - Browse repository at this point
Copy the full SHA 8fe0f98View commit details
Commits on Jun 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fbdaf7a - Browse repository at this point
Copy the full SHA fbdaf7aView 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.