Skip to main content

Neural network training and inference framework

Project description

RainbowNeko Engine

PyPI GitHub stars GitHub license codecov open issues

📘English document 📘中文文档

Introduction

RainbowNeko Engine is a toolbox for pytorch based neural network training and inference. Multiple tasks and training strategies are built-in and highly expandable.

Install

  1. Install pytorch

  2. Install from source:

git clone https://github.com/IrisRainbowNeko/RainbowNekoEngine.git
cd RainbowNekoEngine
pip install -e .
  1. To use xFormers to reduce VRAM usage and accelerate training:
# use conda
conda install xformers -c xformers

# use pip
pip install xformers>=0.0.17

User guidance

Start a new project

mkdir my_project
cd my_project
# Modified based on this project or start a new project and make initialization
nekoinit

Training

Training scripts based on 🤗 Accelerate or Colossal-AI are provided.

# with Accelerate
neko_train --cfg cfgs/train/cfg_file.yaml
# with Accelerate and only one GPU
neko_train_1gpu --cfg cfgs/train/cfg_file.yaml

Inference

TODO

Tutorials

TODO

Contributing

You are welcome to contribute more models and features to this toolbox!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rainbowneko-0.6.tar.gz (68.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rainbowneko-0.6-py3-none-any.whl (101.3 kB view details)

Uploaded Python 3

File details

Details for the file rainbowneko-0.6.tar.gz.

File metadata

  • Download URL: rainbowneko-0.6.tar.gz
  • Upload date:
  • Size: 68.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for rainbowneko-0.6.tar.gz
Algorithm Hash digest
SHA256 4ede13e705683be2a0ed4aed01820cba3119b0f987f582b1043ec36f6d1a388c
MD5 3fb4513de164fa06268eb0186de953cf
BLAKE2b-256 f881106db38f07844028305025eaaff34732d00249d49586141a3643627363fc

See more details on using hashes here.

File details

Details for the file rainbowneko-0.6-py3-none-any.whl.

File metadata

  • Download URL: rainbowneko-0.6-py3-none-any.whl
  • Upload date:
  • Size: 101.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for rainbowneko-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8c9c58bb1df35f63f859e2fc74f5eab3105ed9d8ff6f975c9e55642e2e497935
MD5 c3e27141e319424865e5119c4624490d
BLAKE2b-256 4db25dbce73c7403ebf43e8cebfba9523187129375b55a1666faf0120be1270c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page