mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-10-01 03:53:41 +08:00
2895346746
* 3e5b7d32-e114-4517-96b4-b3a2448fd939/400 * 9ffd502c-01d0-40f3-93c2-07a4d3e4445c/400 * 1afc2042-8761-4663-ae6a-d593b13defd0/400 * d4b183da-3b8c-4ff7-8927-e3e7216ddb86/400 * 60a46520-f02f-49c5-8eae-e0f8de92af07/400 * ca63f597-de00-478f-970c-302069a59130/400 * 0322768e-5d7e-46e6-9712-d52de312e1da/400 * d25f38c8-8689-42a7-8326-f0c7ce00625f * f14f0be4-bf1e-4dc3-914d-3d9a23b5a05a/400 * lil smooth * 03dfde49-54e6-4129-b05f-24b0b0c7e5f0/400 * 6d9d6f8a-5c82-41f6-92aa-4c1a11eb5645/400 * ci: fix model review tinygrad import * ci: skip unfetched big model in review --------- Co-authored-by: Toby Penner <toby@comma.ai>
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
name: "model review"
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened, synchronize]
|
|
paths:
|
|
- 'openpilot/selfdrive/modeld/models/*.onnx'
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
GIT_CONFIG_COUNT: 1
|
|
GIT_CONFIG_KEY_0: lfs.fetchexclude
|
|
GIT_CONFIG_VALUE_0: openpilot/selfdrive/modeld/models/big_driving_supercombo.onnx
|
|
|
|
jobs:
|
|
comment:
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'commaai/openpilot'
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
with:
|
|
submodules: true
|
|
- name: Checkout master
|
|
uses: actions/checkout@v7
|
|
with:
|
|
ref: master
|
|
path: base
|
|
- run: git lfs pull
|
|
- run: cd base && git lfs pull
|
|
|
|
- name: scripts/reporter.py
|
|
id: report
|
|
run: |
|
|
echo "content<<EOF" >> $GITHUB_OUTPUT
|
|
echo "## Model Review" >> $GITHUB_OUTPUT
|
|
PYTHONPATH=${{ github.workspace }}:${{ github.workspace }}/tinygrad_repo MASTER_PATH=${{ github.workspace }}/base python scripts/reporter.py >> $GITHUB_OUTPUT
|
|
echo "EOF" >> $GITHUB_OUTPUT
|
|
|
|
- name: Post model report comment
|
|
uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0
|
|
with:
|
|
header: model-review
|
|
message: ${{ steps.report.outputs.content }}
|