Giter Site home page Giter Site logo

bullet's Introduction

bullet

A CUDA/CPU NN Trainer, used to train NNUE-style networks for akimbo.

Also used by many other engines, including:

Currently Supported Games:

  • Chess
  • Ataxx

Raise an issue for support of a new game.

Usage

Import the crate with

bullet = { package = "bullet_lib", version = "1.0.0", features = ["cuda"] }

Check out the wiki and examples to see how to use the crate.

Utilities

You can build bullet-utils with cargo b -r --package bullet-utils, to do the following:

  • Convert Data
  • Interleave Multiple Data Files
  • Shuffle Data Files
  • Validate Data Files

Use ./target/release/bullet-utils[.exe] help to see specific usage.

Currently Supported Backends:

Default

CPU backend not intended for serious training use. It is suitable for training small networks or various utilities, such as loading nets to requantise them or test their output on specific positions.

CUDA

The "first class" supported backend. To compile to target CUDA you need to enable the cuda feature, as demonstrated in the wiki.

HIP

Mainly directed toward users with AMD GPUs. To compile to target HIP you need to enable the hip feature, as demonstrated in the wiki. You will need to install the HIP SDK.

Note

If you are on Windows, you must also add %HIP_PATH%\bin\ to the PATH variable in your system environment variables.

Warning

Due to what appears to be a bug in RoCM, some tests will sometimes fail due to missed synchronisation between device and host in a multithreaded context. As the trainer only calls kernels from one thread, this should not be an issue in training.

bullet's People

Contributors

jw1912 avatar cosmobobak avatar ciekce avatar liamt19 avatar jeff-pow avatar xu-shawn avatar aronpetko 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.