benchmarks.yml 942 B

1234567891011121314151617181920212223242526272829303132333435
  1. name: Build and Test
  2. on:
  3. push:
  4. branches: [ '*' ]
  5. tags: [ '*' ]
  6. pull_request:
  7. branches: [ '*' ]
  8. jobs:
  9. test-m4-cluster:
  10. strategy:
  11. matrix:
  12. model: ['llama-3.2-1b', 'llama-3.2-3b']
  13. # Optional: add fail-fast: false if you want all matrix jobs to continue even if one fails
  14. fail-fast: false
  15. uses: ./.github/workflows/bench_job.yml
  16. with:
  17. config: '{"M4PRO_GPU16_24GB": 2}'
  18. model: ${{ matrix.model }}
  19. calling_job_name: 'test-m4-cluster'
  20. secrets: inherit
  21. # test-m3-single-node:
  22. # strategy:
  23. # matrix:
  24. # model: ['llama-3.2-1b']
  25. # # Optional: add fail-fast: false if you want all matrix jobs to continue even if one fails
  26. # fail-fast: false
  27. # uses: ./.github/workflows/bench_job.yml
  28. # with:
  29. # config: '{"M3MAX_GPU40_128GB": 1}'
  30. # model: ${{ matrix.model }}
  31. # calling_job_name: 'test-m3-cluster'
  32. # secrets: inherit