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

Bump Metalhead to 0.9 - making CUDA optional #240

Merged
merged 7 commits into from
Oct 17, 2023

Conversation

mohamed82008
Copy link
Contributor

This PR bumps Metalhead to v0.9 which makes CUDA an optilonal dependency. Given the discussion in FluxML/Metalhead.jl#253, I also bumped the major version of MLJFlux in the process. Please let me know if you prefer to make this a patch release and support both Metalhead 0.8 and 0.9.

@mohamed82008
Copy link
Contributor Author

It seems nightly tests fail due to a CUDA issue. It's most likely not related to this PR. Re-triggering the tests on the dev branch can confirm this.

@mohamed82008
Copy link
Contributor Author

Once this PR is approved and merged, I would appreciate a quick release.

@mohamed82008
Copy link
Contributor Author

It seems that tests are running out of time. I am trying to run them locally but they also take forever.

@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (d604792) 92.08% compared to head (dbcfdc8) 92.08%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #240   +/-   ##
=======================================
  Coverage   92.08%   92.08%           
=======================================
  Files          12       12           
  Lines         316      316           
=======================================
  Hits          291      291           
  Misses         25       25           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mohamed82008
Copy link
Contributor Author

Tests pass now.

Project.toml Outdated Show resolved Hide resolved
Copy link
Collaborator

@ablaom ablaom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mohamed82008 for this PR and your patience for a review.

I agree a breaking release is better safe than sorry, so current version update is good.

I see that CI (at least the GH action) only has testing for latest julia version. Can we add 1.9, since 1.10 is around the corner?

Co-authored-by: Anthony Blaom, PhD <[email protected]>
@mohamed82008
Copy link
Contributor Author

mohamed82008 commented Oct 17, 2023

I see that CI (at least the GH action) only has testing for latest julia version. Can we add 1.9, since 1.10 is around the corner?

The latest version which is currently tested is Julia 1.9. We also test nightly here which is more bleeding edge than 1.10. I don't understand your comment.

@mohamed82008
Copy link
Contributor Author

The CI on nightly is failing for the same reason it fails on the current dev #241. I think it is a CUDA-nightly issue so should not be blocking.

@ablaom
Copy link
Collaborator

ablaom commented Oct 17, 2023

I meant add 1.9 to the matrix here, which now would mean duplicate testing. But I guess we can add that later. I'll create an issue.

@ablaom ablaom merged commit caed27b into FluxML:dev Oct 17, 2023
1 of 2 checks passed
@ablaom ablaom mentioned this pull request Oct 17, 2023
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.

3 participants