lc0_dart 0.1.2 copy "lc0_dart: ^0.1.2" to clipboard
lc0_dart: ^0.1.2 copied to clipboard

LC0 (Leela Chess Zero) classical CNN inference in pure Dart with a PUCT / virtual-loss MCTS and a UCI shell. Loads a .pb.gz LC0 network (LINEAR16 / FLOAT16 / BFLOAT16), folds BatchNorm at load time, r [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add lc0_dart

With Flutter:

 $ flutter pub add lc0_dart

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  lc0_dart: ^0.1.2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:lc0_dart/lc0_dart.dart';
1
likes
120
points
134
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

LC0 (Leela Chess Zero) classical CNN inference in pure Dart with a PUCT / virtual-loss MCTS and a UCI shell. Loads a .pb.gz LC0 network (LINEAR16 / FLOAT16 / BFLOAT16), folds BatchNorm at load time, runs an SE-aware residual tower on CPU or CUDA, and emits WDL + policy logits or a full search result.

Repository (GitHub)
View/report issues

Topics

#chess #leela-chess-zero #mcts #uci #inference

License

MIT (license)

Dependencies

dart_pytorch, dartchess

More

Packages that depend on lc0_dart