Fix MetricCollection
dict keys when used with ClasswiseWrapper
[wip]
#10047
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: General checks | |
on: | |
push: | |
branches: [master, "release/*"] | |
pull_request: | |
branches: [master, "release/*"] | |
types: [opened, reopened, ready_for_review, synchronize] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} | |
cancel-in-progress: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }} | |
jobs: | |
check-code: | |
uses: Lightning-AI/utilities/.github/workflows/[email protected] | |
with: | |
actions-ref: v0.11.8 | |
extra-typing: "typing" | |
check-schema: | |
uses: Lightning-AI/utilities/.github/workflows/[email protected] | |
check-package: | |
if: github.event.pull_request.draft == false | |
uses: Lightning-AI/utilities/.github/workflows/[email protected] | |
with: | |
actions-ref: v0.11.8 | |
artifact-name: dist-packages-${{ github.sha }} | |
import-name: "torchmetrics" | |
testing-matrix: | | |
{ | |
"os": ["ubuntu-22.04", "macos-13", "windows-2022"], | |
"python-version": ["3.9", "3.11"] | |
} | |
check-md-links: | |
uses: Lightning-AI/utilities/.github/workflows/[email protected] | |
with: | |
base-branch: master | |
config-file: ".github/markdown-links-config.json" |