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

GPU compatible (L-)C2ST #1160

Open
3 tasks
JuliaLinhart opened this issue May 30, 2024 · 0 comments
Open
3 tasks

GPU compatible (L-)C2ST #1160

JuliaLinhart opened this issue May 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@JuliaLinhart
Copy link
Contributor

JuliaLinhart commented May 30, 2024

Is your feature request related to a problem? Please describe.

When working with high-dimensional datasets, computing C2ST (and particularly L-C2ST) metrics can be quite slow. This is primarily due to the reliance on scikit-learn (sklearn) classifiers, which do not support GPU acceleration. As a result, performance is limited, especially for large datasets or complex models.

Describe the solution you'd like

Introducing support for classifiers from GPU-compatible libraries, such as skorch, would significantly improve performance. By leveraging GPU acceleration, training and evaluation of classifiers for C2ST metrics could become substantially faster, enhancing both development and experimentation workflows.

Describe alternatives you've considered

Currently, no viable alternatives are available since the limitation stems from the lack of GPU support in sklearn. Expanding support to include GPU-compatible libraries appears to be the most effective solution.

Additional context

  • Would require adding another library as a dependency. Need to check if this might conflict with our current dependencies.
  • Adapt current implementation here
  • Think about similar accelerate similar metrics i.e. here
@JuliaLinhart JuliaLinhart added the enhancement New feature or request label May 30, 2024
@janfb janfb added this to the Last release 2024 milestone Dec 13, 2024
@janfb janfb removed this from the Last release 2024 milestone Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants