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 recipe #29

Closed
pidefrem opened this issue Jan 11, 2021 · 3 comments
Closed

GPU recipe #29

pidefrem opened this issue Jan 11, 2021 · 3 comments

Comments

@pidefrem
Copy link

Hello,

could you add the recipe for the GPU version?
https://lightgbm.readthedocs.io/en/latest/GPU-Tutorial.html

@Hoeze
Copy link

Hoeze commented Aug 31, 2021

Hi @pidefrem, is there a reason that you closed this issue?
I was also looking for a GPU version of lightgbm on conda-forge.

@BinchaoPeng
Copy link

now,does it support GPU? I am so confused that there are many channels to install lightgbm, and I am hard to find out wheather it is a gpu version. bad!

@specter119
Copy link

The following approaches build with an out-of-box gui support on windows.

diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index 671aecd..4c79cf3 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -13,7 +13,7 @@ source:
 
 build:
   number: 0
-  script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv
+  script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv --install-option=--gpu --install-option=--boost-root=%BUILD_PREFIX%\Library\include\boost
   skip: true  # [win32]
 
 requirements:
@@ -28,6 +28,8 @@ requirements:
     - python
     - pip
     - setuptools
+    - boost-cpp=1.69
+    - cudatoolkit-dev
     - llvm-openmp  # [osx]
     - libgomp  # [linux]
   run:

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

No branches or pull requests

4 participants