Git Product home page Git Product logo

Comments (5)

zeyiwen avatar zeyiwen commented on May 17, 2024

You have the issue, possibly because of #49. Please try to build the .whl file on your own. Our team is very busy recently due to several paper deadlines, and will look into the issues at a later stage.

from thundergbm.

Kunjal1999 avatar Kunjal1999 commented on May 17, 2024

You have the issue, possibly because of #49. Please try to build the .whl file on your own. Our team is very busy recently due to several paper deadlines, and will look into the issues at a later stage.

I am facing the same issue after git cloning, building and pip installing thundergbm on linux.
Whenever I run
from thundergbm import *,
I face the same error.

When I run
mkdir build && cd build && cmake .. && make -j

I face:

CMakeFiles/Makefile2:168: recipe for target 'src/thundergbm/CMakeFiles/thundergbm.dir/all' failed
make[1]: *** [src/thundergbm/CMakeFiles/thundergbm.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

from thundergbm.

Kurt-Liuhf avatar Kurt-Liuhf commented on May 17, 2024

Hi @Kunjal1999, thanks for the comments.

You couldn't import the library because you haven't built the library successfully. So you should check the library building process. Here are some suggestions that might help.

  • Refer to the document as @zeyiwen mentioned.Make sure to initialize and update the submodules.
  • Check the version of CUDA. If you are using CUDA > 11.0, you need to clone the support_cuda_11 branch.
  • We couldn't reproduce your result on a Unbuntu 16.0.4 with CUDA 11.0. So introducing your system configurations and uploading the entire error stack will be more appreciated.

Thanks.

from thundergbm.

Kunjal1999 avatar Kunjal1999 commented on May 17, 2024

Hi @Kunjal1999, thanks for the comments.

You couldn't import the library because you haven't built the library successfully. So you should check the library building process. Here are some suggestions that might help.

  • Refer to the document as @zeyiwen mentioned.Make sure to initialize and update the submodules.
  • Check the version of CUDA. If you are using CUDA > 11.0, you need to clone the support_cuda_11 branch.
  • We couldn't reproduce your result on a Unbuntu 16.0.4 with CUDA 11.0. So introducing your system configurations and uploading the entire error stack will be more appreciated.

Thanks.

Hey, thanks for the reply, I was running the commands on Google Colab.
CUDA:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Wed_Jul_22_19:09:09_PDT_2020
Cuda compilation tools, release 11.0, V11.0.221
Build cuda_11.0_bu.TC445_37.28845127_0

from thundergbm.

Kurt-Liuhf avatar Kurt-Liuhf commented on May 17, 2024

Some bash commands to install ThunderGBM on Colab:
# clone and init submodules
!git clone -b support_cuda11 https://github.com/Xtra-Computing/thundergbm
!cd thundergbm && git submodule init && git submodule update && mkdir build
# build the library
!cd thundergbm/build && cmake .. && make -j 10
# test if built successfully
!cd thundergbm/build && ./bin/thundergbm-train data=../dataset/test_dataset.txt
# build wheel file and install it with pip
# clear the dist dir
!cd thundergbm/python && ls dist && rm -rf dist/* && ls dist
# generate the wheel file and install
!cd thundergbm/python && ls && python setup.py bdist_wheel && cd dist && ls && pip install `ls`

from thundergbm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.