Skip to content

Set pretrained model name correctly, if provided, in HF Checkpointer #3827

Set pretrained model name correctly, if provided, in HF Checkpointer

Set pretrained model name correctly, if provided, in HF Checkpointer #3827

Workflow file for this run

name: Smoketest
on:
push:
branches:
- main
- release/*
pull_request:
branches:
- main
- release/*
workflow_dispatch:
# Cancel old runs when a new commit is pushed to the same branch if not on main or dev
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }}
defaults:
run:
working-directory: .
jobs:
smoketest:
runs-on: linux-ubuntu-latest
timeout-minutes: 20
strategy:
matrix:
python_version:
- "3.9"
- "3.10"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get composite run steps repository
uses: actions/checkout@v3
with:
repository: mosaicml/ci-testing
ref: v0.0.9
path: ./ci-testing
- uses: ./ci-testing/.github/actions/smoketest
with:
python_version: ${{ matrix.python_version }}