-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #299 from mlcommons/dev
Main <- Dev
- Loading branch information
Showing
35 changed files
with
431 additions
and
129 deletions.
There are no files selected for viewing
This file contains 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,34 @@ | ||
name: OpenAI Code Review | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, synchronize] | ||
paths: | ||
- 'automation/**' | ||
- 'script/**' | ||
- '!**.md' | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
code_review: | ||
runs-on: ubuntu-latest | ||
if: github.repository_owner == 'gateoverflow' && github.event.pull_request.changed_files > 0 | ||
steps: | ||
# Run code review via OpenAI | ||
# Step to run the OpenAI Code Review using the GATEOverflow action | ||
- name: Run OpenAI Code Review | ||
uses: GATEOverflow/genai-code-review@v1 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} # GitHub token for authentication | ||
openai_api_key: ${{ secrets.OPENAI_API_KEY }} # OpenAI API key for accessing the GPT model | ||
github_pr_id: ${{ github.event.pull_request.number }} # ID of the pull request to review | ||
openai_model: "gpt-4o" # Model to use for the code review | ||
openai_temperature: 0.5 # Temperature setting for the model's output | ||
openai_max_tokens: 2048 # Maximum number of tokens for the model's response | ||
mode: "files" # Mode of review, can be "files" or "diff" | ||
language: "en" # Language for the review output | ||
custom_prompt: "" # Optional custom prompt for the model | ||
continue-on-error: true # Allow the workflow to continue even if this step fails |
This file contains 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 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,47 @@ | ||
name: MLPerf inference SDXL | ||
|
||
on: | ||
schedule: | ||
- cron: "1 2 * * *" | ||
|
||
jobs: | ||
build_reference: | ||
if: github.repository_owner == 'gateoverflow' | ||
runs-on: [ self-hosted, linux, x64 ] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [ "3.12" ] | ||
backend: [ "pytorch" ] | ||
precision: [ "float16" ] | ||
steps: | ||
- name: Install dependencies | ||
run: | | ||
source gh_action/bin/deactivate || python3 -m venv gh_action | ||
source gh_action/bin/activate | ||
export CM_REPOS=$HOME/GH_CM | ||
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }} | ||
- name: Test MLPerf Inference SDXL | ||
run: | | ||
cm run script --tags=run-mlperf,inference,_submission,_short --submitter="MLCommons" --docker --model=sdxl --backend=${{ matrix.backend }} --device=cuda --scenario=Offline --test_query_count=1 --precision=${{ matrix.precision }} --target_qps=1 --quiet --docker_it=no --docker_cm_repo=gateoverflow@cm4mlops --adr.compiler.tags=gcc --hw_name=gh_action --docker_dt=yes --results_dir=$HOME/gh_action_results --submission_dir=$HOME/gh_action_submissions --clean | ||
build_nvidia: | ||
if: github.repository_owner == 'gateoverflow' | ||
runs-on: [ self-hosted, linux, x64 ] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [ "3.12" ] | ||
backend: [ "tensorrt" ] | ||
precision: [ "float16" ] | ||
implementation: [ "nvidia" ] | ||
steps: | ||
- name: Install dependencies | ||
run: | | ||
source gh_action/bin/deactivate || python3 -m venv gh_action | ||
source gh_action/bin/activate | ||
export CM_REPOS=$HOME/GH_CM | ||
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }} | ||
- name: Test MLPerf Inference SDXL | ||
run: | | ||
cm run script --tags=run-mlperf,inference,_submission,_short --submitter="MLCommons" --docker --model=sdxl --implementation=${{ matrix.implementation }} --backend=${{ matrix.backend }} --device=cuda --scenario=Offline --test_query_count=1 --precision=${{ matrix.precision }} --target_qps=1 --quiet --docker_it=no --docker_cm_repo=gateoverflow@cm4mlops --adr.compiler.tags=gcc --hw_name=gh_action --docker_dt=yes --results_dir=$HOME/gh_action_results --submission_dir=$HOME/gh_action_submissions --clean |
This file contains 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,56 @@ | ||
name: MLPerf inference SDXL | ||
|
||
on: | ||
schedule: | ||
- cron: "43 1 * * *" | ||
|
||
jobs: | ||
build_reference: | ||
if: github.repository_owner == 'gateoverflow' | ||
runs-on: [ self-hosted, linux, x64 ] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [ "3.12" ] | ||
backend: [ "pytorch" ] | ||
precision: [ "float16" ] | ||
device: [ "cuda" ] | ||
steps: | ||
- name: Install dependencies | ||
run: | | ||
source gh_action/bin/deactivate || python3 -m venv gh_action | ||
source gh_action/bin/activate | ||
export CM_REPOS=$HOME/GH_CM | ||
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }} | ||
- name: Test MLPerf Inference reference SDXL SCC | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
run: | | ||
cm run script --tags=run-mlperf,inference,_find-performance,_r4.1-dev,_short,_scc24-base --model=sdxl --implementation=reference --backend=${{ matrix.backend }} --category=datacenter --scenario=Offline --execution_mode=test --device=${{ matrix.device }} --precision=${{ matrix.precision }} --quiet --results_dir=$HOME/gh_action_results --submission_dir=$HOME/gh_action_submissions --precision=float16 --clean | | ||
cm run script --tags=generate,inference,submission --clean --preprocess_submission=yes --run-checker --tar=yes --env.CM_TAR_OUTFILE=submission.tar.gz --division=open --category=datacenter --env.CM_DETERMINE_MEMORY_CONFIGURATION=yes --run_style=test --adr.submission-checker.tags=_short-run --quiet --submitter=MLCommons | | ||
cm run script --tags=push,github,mlperf,inference,submission --repo_url=https://github.com/gateoverflow/cm4mlperf-inference --repo_branch=mlperf-inference-results-scc24 --commit_message="Results from self hosted Github actions - NVIDIARTX4090" --quiet | ||
build_nvidia: | ||
if: github.repository_owner == 'gateoverflow' | ||
runs-on: [ self-hosted, linux, x64 ] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [ "3.12" ] | ||
backend: [ "tensorrt" ] | ||
precision: [ "float16" ] | ||
implementation: [ "nvidia" ] | ||
steps: | ||
- name: Install dependencies | ||
run: | | ||
source gh_action/bin/deactivate || python3 -m venv gh_action | ||
source gh_action/bin/activate | ||
export CM_REPOS=$HOME/GH_CM | ||
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }} | ||
- name: Test MLPerf Inference NVIDIA SDXL SCC | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
run: | | ||
cm run script --tags=run-mlperf,inference,_find-performance,_r4.1-dev,_short,_scc24-base --model=sdxl --implementation=nvidia --backend=${{ matrix.backend }} --category=datacenter --scenario=Offline --execution_mode=test --device=${{ matrix.device }} --precision=${{ matrix.precision }} --docker --docker_it=no --docker_cm_repo=gateoverflow@cm4mlops --docker_dt=yes --quiet --results_dir=$HOME/gh_action_results --submission_dir=$HOME/gh_action_submissions --precision=float16 --clean | | ||
cm run script --tags=generate,inference,submission --clean --preprocess_submission=yes --run-checker --tar=yes --env.CM_TAR_OUTFILE=submission.tar.gz --division=open --category=datacenter --env.CM_DETERMINE_MEMORY_CONFIGURATION=yes --run_style=test --adr.submission-checker.tags=_short-run --quiet --submitter=MLCommons | | ||
cm run script --tags=push,github,mlperf,inference,submission --repo_url=https://github.com/gateoverflow/cm4mlperf-inference --repo_branch=mlperf-inference-results-scc24 --commit_message="Results from self hosted Github actions - NVIDIARTX4090" --quiet |
This file contains 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 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 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 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 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 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 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 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 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.