Skip to content

Add GPU Solver Tutorial + Minor Changes to Other Tutorials#429

Merged
aidan-winney merged 4 commits intomainfrom
musica_tutorial_2
Jul 16, 2025
Merged

Add GPU Solver Tutorial + Minor Changes to Other Tutorials#429
aidan-winney merged 4 commits intomainfrom
musica_tutorial_2

Conversation

@aidan-winney
Copy link
Copy Markdown
Contributor

Closes #426

This pull request adds the GPU solver tutorial that delineates how to enable a GPU on a Linux system. It also fixes some issues brought up with the other tutorials.

@aidan-winney aidan-winney added this to the SIParCS 2025 milestone Jul 16, 2025
@aidan-winney aidan-winney added the documentation Improvements or additions to documentation label Jul 16, 2025
@github-actions
Copy link
Copy Markdown
Contributor

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jul 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.63%. Comparing base (9b329cc) to head (24e5e0e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #429   +/-   ##
=======================================
  Coverage   83.63%   83.63%           
=======================================
  Files          48       48           
  Lines        4093     4093           
=======================================
  Hits         3423     3423           
  Misses        670      670           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

" reactions=[r1, r2]\n",
" )\n",
"\n",
" solver = musica.MICM(mechanism = mechanism, solver_type = musica.SolverType.rosenbrock_standard_order)\n",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
" solver = musica.MICM(mechanism = mechanism, solver_type = musica.SolverType.rosenbrock_standard_order)\n",
" solver = musica.MICM(mechanism = mechanism, solver_type = musica.SolverType.cuda_rosenbrock)\n",

It should be this

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @K20shores for catching this. @aidan-winney can you confirm that switching to cuda_rosenbrock still works in your case?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, it still works, thanks for catching that

Copy link
Copy Markdown
Contributor

@sjsprecious sjsprecious left a comment

Choose a reason for hiding this comment

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

Thanks @aidan-winney for working on this PR. It looks good and I just have a few minor comments.

" reactions=[r1, r2]\n",
" )\n",
"\n",
" solver = musica.MICM(mechanism = mechanism, solver_type = musica.SolverType.rosenbrock_standard_order)\n",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @K20shores for catching this. @aidan-winney can you confirm that switching to cuda_rosenbrock still works in your case?

@aidan-winney aidan-winney merged commit cf2d3d1 into main Jul 16, 2025
68 checks passed
@aidan-winney aidan-winney deleted the musica_tutorial_2 branch July 16, 2025 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add GPU Solver Tutorial

4 participants