GithubHelp home page GithubHelp logo

rishatzagidullin / lama-gpu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sb-ai-lab/lightautoml_gpu

0.0 0.0 0.0 32.37 MB

End2end GPU pipeline for LightAutoML

License: Apache License 2.0

Python 97.42% HTML 1.28% Jupyter Notebook 1.30%

lama-gpu's Introduction

Developing LightAutoML on GPU

To develop LightAutoML on GPUs using RAPIDS some prerequisites need to be met:

  1. NVIDIA GPU: Pascal or higher
  2. CUDA 11.0 (drivers v460.32+) or higher need to be installed
  3. Python version 3.8 or higher
  4. OS: Ubuntu 16.04/18.04/20.04 or CentOS 7/8 with gcc/++ 9.0+

Installation

Anaconda or Miniconda is necessary to install RAPIDS and work with environments.

  1. Once you install Anaconda/Miniconda, you need to set up your own environment. For example:
conda create -n lama_venv python=3.8
conda activate lama_venv
  1. To install RAPIDS for Python 3.8 and CUDA 11.0 use the following command:
conda install -c rapidsai -c nvidia -c conda-forge rapids=22.10 cudatoolkit=11.0
pip install dask-ml
  1. To clone the project on your own local machine:
git clone https://github.com/ekonyagin/LightAutoML-1.git
cd LightAutoML-1
  1. Install LightAutoML in develop mode and other necessary libraries:
pip install .
pip install catboost
pip install py-boost

After you change the library code, you need to re-install the library: go to LightAutoML directory and call pip install ./ -U

Please note, if you use NVIDIA GPU Ampere architecture (i.e. Tesla A100 or RTX3000 series), you may need to uninstall pytorch and install it manually due to compatibility issues. To do so, run following commands:

pip uninstall torch torchvision
pip install torch==1.7.1+cu110 torchvision==0.8.2+cu110 -f https://download.pytorch.org/whl/torch_stable.html

Once the RAPIDS is installed, the environment is fully ready. You can activate it using the source command and test and implement your own code.

lama-gpu's People

Contributors

cybsloth avatar rishat-zagidullin avatar

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.