Skip to content

POC - skglm GPU support - #149

Closed
Badr-MOUFAD wants to merge 52 commits into
scikit-learn-contrib:mainfrom
Badr-MOUFAD:skglm-gpu
Closed

Badr-MOUFAD wants to merge 52 commits into
scikit-learn-contrib:mainfrom
Badr-MOUFAD:skglm-gpu

Conversation

@Badr-MOUFAD

Copy link
Copy Markdown
Collaborator

This explores adding GPU support to the package.

It implements FISTA solver for Lasso problem using

  • JAX
  • CuPy
  • Numba.cuda

Refer to README to install and play around with the solvers

@Badr-MOUFAD
Badr-MOUFAD marked this pull request as draft March 14, 2023 10:34
Comment thread skglm/gpu/solvers/jax_solver.py Outdated
from skglm.gpu.utils.host_utils import compute_obj, eval_opt_crit # noqa


class JaxSolver:

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.

In order to test the design choices, can you call this FISTAJax and make it modular (ie pass an objective function directly) ? and same for other solvers

@Badr-MOUFAD

Copy link
Copy Markdown
Collaborator Author

close in favor of #155

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