Update params.yaml:lr #38
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
name: Run an Experiment | |
on: | |
push: | |
branches-ignore: | |
- main | |
permissions: | |
contents: write | |
id-token: write | |
jobs: | |
deploy-runner: | |
runs-on: ubuntu-latest | |
environment: cloud | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: iterative/setup-cml@v1 | |
- uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-region: us-east-2 | |
role-to-assume: arn:aws:iam::342840881361:role/SandboxUser | |
role-duration-seconds: 43200 | |
- name: Create Runner | |
env: | |
REPO_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
run: | | |
cml runner launch --single \ | |
--labels=cml \ | |
--cloud=aws \ | |
--cloud-region=us-west-2 \ | |
--cloud-gpu=v100 \ | |
--cloud-hdd-size=100 \ | |
--cloud-type=l | |
runner-job: | |
needs: deploy-runner | |
runs-on: [ self-hosted, cml ] | |
environment: cloud | |
container: | |
image: iterativeai/cml:0-dvc2-base1-gpu | |
options: --gpus all | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-region: us-east-2 | |
role-to-assume: arn:aws:iam::342840881361:role/SandboxUser | |
role-duration-seconds: 43200 | |
- name: training | |
env: | |
REPO_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
STUDIO_TOKEN: ${{ secrets.STUDIO_TOKEN }} | |
DVCLIVE_LOGLEVEL: DEBUG | |
run: | | |
cml ci | |
pip install -r requirements.txt | |
dvc exp run --pull | |
dvc exp push origin --rev HEAD -r s3remote | |
git fetch --prune | |
cml pr --squash --skip-ci . | |
echo "# Metrics" > report.md | |
dvc metrics diff --md main >> report.md | |
cml comment update --pr --publish report.md |