Skip to content

What is the current state of the CUDA implementation?Β #6340

Closed

Description

@Pafcifal95

Some time ago I was looking into using the CUDA implementation of LightGBM instead of OpenCL, but according to the installation guide:

  • "Only Linux is supported, other operating systems are not supported yet"
  • "The CUDA implementation should be considered experimental, and we suggest using it only when it is impossible to use OpenCL version (for example, on IBM POWER microprocessors)"

These points are still in the installation guide but based on other issues posted here and the release notes I'm getting the impression that this may be outdated, so I just wanted to confirm:

  • Is still only Linux supported, or is there also a CUDA build that works in a Windows environment?
  • Is the CUDA implementation still considered experimental and should be avoided whenever possible, or can it be considered more mature/robust by now?

Activity

  1. jameslamb commented on Feb 24, 2024

    @jameslamb
    Member

    Thabks for your interest in LightGBM.

    Yes the CUDA version is currently only supported on Linux.

    But no, it's no longer "experimental" and you should prefer it to the OpenCL-based version if you have NVIDIA GPUs. Thanks for bringing that to our attention, we'll update those docs!

  2. Pafcifal95 commented on Feb 24, 2024

    @Pafcifal95
    Author

    Thank you for the quick reply James! Any plans for a CUDA-based build for Windows?

  3. jameslamb commented on Feb 24, 2024

    @jameslamb
    Member

    No one is actively working on it, as far as I know. Would you like to help contribute that?

  4. added a commit that references this issue on Mar 18, 2024
    e2471c2
  5. added a commit that references this issue on Mar 18, 2024
    43f021b
  6. github-actions commented on Mar 19, 2025

    @github-actions
    Contributor

    This issue has been automatically locked since there has not been any recent activity since it was closed.
    To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

  7. locked as resolved and limited conversation to collaborators on Mar 19, 2025
  8. added
    gpu (CUDA)
    on Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    gpu (CUDA)question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions