Skip to main content

Scaffold for experienced Machine Learning Researchers

Project description

DanLing

Introduction

DanLing (丹灵) is a high-level library to help with running neural networks flexibly and transparently.

DanLing is meant to be a scaffold for experienced researchers and engineers who know how to define a training loop, but are bored of writing the same boilerplate code, such as DDP, logging, checkpointing, etc., over and over again.

Therefore, DanLing does not feature complex Runner designs with many pre-defined methods and complicated hooks. Instead, the Runner of DanLing just initialise the essential parts for you, and you can do whatever you want, however you want.

Although many attributes and properties are pre-defined and are expected to be used in DanLing, you have full control over your code.

DanLing also provides some utilities, such as [Registry][danling.Registry], [NestedTensor][danling.NestedTensor], [catch][danling.utils.catch], etc.

Installation

Install the most recent stable version on pypi:

pip install danling

Install the latest version from source:

pip install git+https://github.com/ZhiyuanChen/DanLing

It works the way it should have worked.

License

DanLing is multi-licensed under the following licenses:

  • Unlicense
  • GNU GPL 2.0 (or any later version)
  • MIT
  • Apache 2.0
  • BSD 2-Clause
  • BSD 3-Clause

You can choose any (one or more) of them if you use this work.

SPDX-License-Identifier: Unlicense OR GPL-2.0-or-later OR MIT OR Apache-2.0 OR BSD-2-Clause OR BSD-3-Clause

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

danling-0.1.3.tar.gz (6.3 MB view hashes)

Uploaded Source

Built Distribution

danling-0.1.3-py3-none-any.whl (42.1 kB view hashes)

Uploaded Python 3

Supported by

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