-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat: update gpt-oss 120b model recipe #3143
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
Merged
Merged
Changes from 3 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
15ac82a
add model cache and use public aiperf image
biswapanda 61e60db
fix
biswapanda cc8088b
update commits
biswapanda 27f8fd0
fix: remove antiaffinity
biswapanda 5a42f49
freeze version:
biswapanda ac596ab
fix
biswapanda 0cbecad
fix
biswapanda d67ef6e
fix
biswapanda 123a9fc
fix
biswapanda d05e7ca
fix
biswapanda 11554a9
fix
biswapanda c737358
fix
biswapanda 9e0e434
fix
biswapanda 7918461
Merge branch 'main' into bis/dep-410-oss-gpt-120b-updates
biswapanda 659a379
Merge branch 'main' into bis/dep-410-oss-gpt-120b-updates
biswapanda 4cfa0c5
update
biswapanda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| Note: | ||
|
|
||
| - This recipe is for gpt-oss-120b in aggregated mode. | ||
|
|
||
| # Running the recipe | ||
| ```bash | ||
| ./run.sh --model gpt-oss-120b --framework trtllm agg | ||
| ``` | ||
|
|
||
| # Images | ||
|
|
||
| This recipe uses the following container images using custom commits. You might need to build the images to reproduce the benchmark. | ||
|
|
||
| * aiperf | ||
| Based on commit [70af59489df24a601dba57604a7341966150b366](https://github.com/ai-dynamo/aiperf/commit/70af59489df24a601dba57604a7341966150b366) | ||
|
|
||
| * dynamo trtllm runtime for arm64 | ||
| based on commit [7fdf50fec2cae9112224f5cea26cef3dde78506f](https://github.com/ai-dynamo/dynamo/commit/7fdf50fec2cae9112224f5cea26cef3dde78506f) | ||
| ``` | ||
| nvcr.io/nvidia/ai-dynamo/tensorrtllm-runtime:7fdf50fec2cae9112224f5cea26cef3dde78506f-35606896-trtllm-arm64 | ||
| ``` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| apiVersion: v1 | ||
| kind: PersistentVolumeClaim | ||
| metadata: | ||
| name: model-cache | ||
| spec: | ||
| accessModes: | ||
| - ReadWriteMany | ||
| resources: | ||
| requests: | ||
| storage: 100Gi | ||
| storageClassName: "your-storage-class-name" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| apiVersion: batch/v1 | ||
| kind: Job | ||
| metadata: | ||
| name: model-download | ||
| spec: | ||
| backoffLimit: 3 | ||
| completions: 1 | ||
| parallelism: 1 | ||
| template: | ||
| metadata: | ||
| labels: | ||
| app: model-download | ||
| spec: | ||
| restartPolicy: Never | ||
| containers: | ||
| - name: model-download | ||
| image: python:3.10-slim | ||
| command: ["sh", "-c"] | ||
| envFrom: | ||
| - secretRef: | ||
| name: hf-token-secret | ||
| env: | ||
| - name: MODEL_NAME | ||
| value: openai/gpt-oss-120b | ||
| - name: HF_HOME | ||
| value: /model-store | ||
| - name: HF_HUB_ENABLE_HF_TRANSFER | ||
| value: "1" | ||
| args: | ||
| - | | ||
| set -eux | ||
| pip install --no-cache-dir huggingface_hub hf_transfer | ||
| hf download $MODEL_NAME --exclude "original/*" --exclude "metal/*" | ||
| volumeMounts: | ||
| - name: model-cache | ||
| mountPath: /model-store | ||
| volumes: | ||
| - name: model-cache | ||
| persistentVolumeClaim: | ||
| claimName: model-cache |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.