Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix type hint and run CI on highest+lowest dependency versions #7

Merged
merged 4 commits into from
Jun 29, 2024

Conversation

eginhard
Copy link
Member

@eginhard eginhard commented Jun 28, 2024

torch.amp.GradScaler used in type hints is available only from Pytorch 2.3, torch.amp.cuda.GradScaler can be used instead.

To avoid similar issues in the future, we now use uv to run the CI on both the lowest and highest supported versions of dependencies.

@eginhard eginhard marked this pull request as draft June 28, 2024 12:37
@eginhard eginhard force-pushed the test-lowest branch 3 times, most recently from 449d31d to 572e698 Compare June 28, 2024 13:55
@eginhard eginhard force-pushed the test-lowest branch 2 times, most recently from ae5d83e to bf99927 Compare June 28, 2024 14:22
@eginhard eginhard changed the title ci: test lowest compatible versions Fix type hint and run CI on highest+lowest dependency versions Jun 28, 2024
@eginhard eginhard requested a review from KarlHajal June 28, 2024 14:34
@eginhard eginhard marked this pull request as ready for review June 28, 2024 14:35
@eginhard eginhard merged commit 8025277 into main Jun 29, 2024
10 checks passed
@eginhard eginhard deleted the test-lowest branch June 29, 2024 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants