-
Notifications
You must be signed in to change notification settings - Fork 20
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 #604 from mlcommons/mlperf-inference
Sync Mlperf inference
- Loading branch information
Showing
386 changed files
with
12,267 additions
and
8,342 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Automatic code formatting | ||
name: "format" | ||
name: "Code formatting" | ||
on: | ||
push: | ||
branches: [ "main", "mlperf-inference" ] | ||
|
@@ -10,6 +10,7 @@ env: | |
jobs: | ||
format-code: | ||
runs-on: ubuntu-latest | ||
if: github.repository_owner == 'mlcommons' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -37,12 +38,22 @@ jobs: | |
git add $FILE | ||
done | ||
- name: Commit | ||
- name: Commit and create PR | ||
run: | | ||
HAS_CHANGES=$(git diff --staged --name-only) | ||
if [ ${#HAS_CHANGES} -gt 0 ]; then | ||
git config --global user.name mlcommons-bot | ||
git config --global user.email "[email protected]" | ||
# Commit changes | ||
git commit -m '[Automated Commit] Format Codebase' | ||
git push | ||
# Push changes to a new branch | ||
BRANCH_NAME="auto/code-format" | ||
git branch $BRANCH_NAME | ||
git push origin $BRANCH_NAME --force | ||
|
||
# Create a pull request to the "code-format" branch | ||
gh pr create --base code-format --head $BRANCH_NAME --title "[Automated PR] Format Codebase" --body "This pull request contains automated code formatting changes." | ||
fi | ||
env: | ||
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }} |
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 |
---|---|---|
@@ -1,2 +1,9 @@ | ||
You can find the guidelines to contribute to the MLCommons CM project | ||
at the [CM GitHub page](https://github.com/mlcommons/ck/blob/master/CONTRIBUTING.md). | ||
## Contributing | ||
|
||
The best way to contribute to the MLCommons is to get involved with one of our many project communities. You find more information about getting involved with MLCommons [here](https://mlcommons.org/en/get-involved/#getting-started). | ||
|
||
Generally we encourage people to become a MLCommons member if they wish to contribute to MLCommons projects, but outside pull requests are very welcome too. | ||
|
||
To get started contributing code, you or your organization needs to sign the MLCommons CLA found at the [MLC policies page](https://mlcommons.org/en/policies/). Once you or your organization has signed the corporate CLA, please fill out this [CLA sign up form](https://forms.gle/Ew1KkBVpyeJDuRw67) form to get your specific GitHub handle authorized so that you can start contributing code under the proper license. | ||
|
||
MLCommons project work is tracked with issue trackers and pull requests. Modify the project in your own fork and issue a pull request once you want other developers to take a look at what you have done and discuss the proposed changes. Ensure that cla-bot and other checks pass for your Pull requests. |
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 |
---|---|---|
@@ -1 +1 @@ | ||
0.5.0 | ||
0.6.3 |
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.