Developing LightAutoML on GPU
To develop LightAutoML on GPUs using RAPIDS some prerequisites need to be met:
- NVIDIA GPU: Pascal or higher
- CUDA 11.0 (drivers v460.32+) or higher need to be installed
- Python version 3.8 or higher
- 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.
- 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
- 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
- To clone the project on your own local machine:
git clone https://github.com/ekonyagin/LightAutoML-1.git
cd LightAutoML-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.
Metadata
Release files for lightautoml-gpu 0.2.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lightautoml-gpu-0.2.15.tar.gz | 349.3 kB | Without provenance | Details for lightautoml-gpu-0.2.15.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lightautoml_gpu-0.2.15-py3-none-any.whl | Python 3 | none | any | Details for lightautoml_gpu-0.2.15-py3-none-any.whl |
Total release size: 849.5 kB
Release files / lightautoml-gpu-0.2.15.tar.gz
| Download URL | lightautoml-gpu-0.2.15.tar.gz |
|---|---|
| Size | 349.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3f71b51f1d68262965155f04a74e31b09c74ae34e9bdb9a2d24c77ac01abb3e
|
|
BLAKE2b-256 checksum How to use checksums |
ca851b8341b92fa6accdcbabf90d5a9cc40093aaf1dfa4f8c560f65e795fa843
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.9 CPython/3.6.9 Linux/4.15.0-197-generic
|
Release files / lightautoml_gpu-0.2.15-py3-none-any.whl
| Download URL | lightautoml_gpu-0.2.15-py3-none-any.whl |
|---|---|
| Size | 500.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00f7a6c06b9ed713e4210099627ed5fa0ade8043bc030655d92287d70ce9b9a3
|
|
BLAKE2b-256 checksum How to use checksums |
9cf663b7030953f7dc58de9d63af8adfe11a3a7ffee76a5775ceb51672ec1d04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.9 CPython/3.6.9 Linux/4.15.0-197-generic
|
Security for lightautoml-gpu 0.2.15
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.