GithubHelp home page GithubHelp logo

sh1ng / arboretum Goto Github PK

View Code? Open in Web Editor NEW
64.0 4.0 14.0 672 KB

Gradient Boosting powered by GPU(NVIDIA CUDA)

License: Other

Python 34.13% C++ 12.52% C 0.46% Cuda 51.83% CMake 0.81% Dockerfile 0.08% Makefile 0.16%
arboretum gpu machine-learning cuda gradient-boosting-machine gradient-boosting python

arboretum's Issues

A problem with json.hpp file during compilation

I have a problem to compile garden.o

The command is:

"/usr/bin/nvcc" -gencode=arch=compute_37,code=\"sm_37,compute_37\" -c -DSM370 -Xptxas -v -Xcudafe -# -Xcompiler -ffloat-store -O3 -I_cub/ -I_json/src/ -std=c++11 -Xcompiler -fPIC -Xcompiler -O3 -Xcompiler -fopenmp -Xcompiler -Wall -Xcompiler -funroll-loops -Xcompiler -march=native -ccbin=g++ -D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES -D__STRICT_ANSI__

However, I got the following error:

_json/src/json.hpp(11227): error: expression must have a constant value
          detected during:
            instantiation of "__nv_bool nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::lexer::strtonum::to(T &) const [with ObjectType=std::map, ArrayType=std::vector, StringType=std::__cxx11::string, BooleanType=__nv_bool, NumberIntegerType=int64_t, NumberUnsignedType=uint64_t, NumberFloatType=double, AllocatorType=std::allocator, JSONSerializer=nlohmann::adl_serializer, T=uint64_t, <unnamed>=void]" 
(11275): here
            instantiation of "__nv_bool nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::lexer::get_number(nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer> &, nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::lexer::token_type) const [with ObjectType=std::map, ArrayType=std::vector, StringType=std::__cxx11::string, BooleanType=__nv_bool, NumberIntegerType=int64_t, NumberUnsignedType=uint64_t, NumberFloatType=double, AllocatorType=std::allocator, JSONSerializer=nlohmann::adl_serializer]" 
(11572): here
            instantiation of "nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer> nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::parser::parse_internal(__nv_bool) [with ObjectType=std::map, ArrayType=std::vector, StringType=std::__cxx11::string, BooleanType=__nv_bool, NumberIntegerType=int64_t, NumberUnsignedType=uint64_t, NumberFloatType=double, AllocatorType=std::allocator, JSONSerializer=nlohmann::adl_serializer]" 
(11384): here
            instantiation of "nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer> nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::parser::parse() [with ObjectType=std::map, ArrayType=std::vector, StringType=std::__cxx11::string, BooleanType=__nv_bool, NumberIntegerType=int64_t, NumberUnsignedType=uint64_t, NumberFloatType=double, AllocatorType=std::allocator, JSONSerializer=nlohmann::adl_serializer]" 
(6432): here
            instantiation of "nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer> nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::parse(IteratorType, IteratorType, nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::parser_callback_t) [with ObjectType=std::map, ArrayType=std::vector, StringType=std::__cxx11::string, BooleanType=__nv_bool, NumberIntegerType=int64_t, NumberUnsignedType=uint64_t, NumberFloatType=double, AllocatorType=std::allocator, JSONSerializer=nlohmann::adl_serializer, IteratorType=const char *, <unnamed>=0]" 

Cannot Find arboretum_wrapper.so

I ran the README.md as directed everything was set up smoothly but when I tried to run the code it said it could not find the arboretum_wrapper.so in the python-wrapper directory. How can I remedy this? I ran this on Ubuntu.

using in windows

Hi,

Is it possible to use your library in Windows?
I'm not able to find any info about that.
I believe that using mingw, I would be able to compile the project? Or is there anywhere in the web that I can find a compiled version?

Thanks,
Joao

Error cloning cub submodule

When I run git submodule update, I get the error:

fatal: reference is not a tree: 89de7ab20167909bc2c4f8acd397671c47cf3c0d
Unable to checkout '89de7ab20167909bc2c4f8acd397671c47cf3c0d' in submodule path '_cub'

This error also showed up when I first cloned the arboretum repo.

I can clone the newest version of cub, but this doesn't have the necessary file cub/block/block_scan.cuh. I also can't checkout the referenced commit, I get the error:

$ git checkout 89de7ab20167909bc2c4f8acd397671c47cf3c0d .
fatal: reference is not a tree: 89de7ab20167909bc2c4f8acd397671c47cf3c0d

error:

error: can't copy '../python-wrapper/arboretum_wrapper.so': doesn't exist or not a regular file

Hi

Possible install on windows 10 ?

Not able to execute make from root user

Hello, I am trying to install this from root user. I have added cub and json as submodules but still, I am not able to execute the make, it is showing the following exact error

Ubuntu 16.04 with python3

root@instance-2:/home/janpreetds/arboretum# make
"" -gencode=arch=compute_61,code="sm_61,compute_61" -c -DSM610 -Xptxas -v -Xcudafe -# -Xcompiler -ffloat-store -O3 -I_cub/ -I_json/src/ -std=c++11 -Xcompiler -fPIC -Xcompiler -O3 -Xcompiler -fopenmp -Xcompiler -Wall -Xcompiler -funroll-loops -Xcompiler -march=native -ccbin=g++ -o io.o src/io/io.cu
/bin/sh: 1: : Permission denied
makefile:31: recipe for target 'io.o' failed
make: *** [io.o] Error 127

Please help, thanks :)

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.