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 [NestedTensor][danling.NestedTensor], [LRScheduler][danling.optim.LRScheduler], [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:

  • The Unlicense
  • GNU Affero General Public License v3.0 or later
  • GNU General Public License v2.0 or later
  • BSD 4-Clause "Original" or "Old" License
  • MIT License
  • Apache License 2.0

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

SPDX-License-Identifier: Unlicense OR AGPL-3.0-or-later OR GPL-2.0-or-later OR BSD-4-Clause OR MIT OR Apache-2.0

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.3.17.tar.gz (6.6 MB view details)

Uploaded Source

Built Distribution

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

danling-0.3.17-py3-none-any.whl (311.6 kB view details)

Uploaded Python 3

File details

Details for the file danling-0.3.17.tar.gz.

File metadata

  • Download URL: danling-0.3.17.tar.gz
  • Upload date:
  • Size: 6.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for danling-0.3.17.tar.gz
Algorithm Hash digest
SHA256 c62ba29a8ef5927e81409151f6f1b58c4579eaa8294e3613ecd1ef45294a800d
MD5 3ab771c73e5c754cd115bbded23f57c7
BLAKE2b-256 3c8e2992584bc02e008a4a7761b31cc36dcf06a4e9c9bef7069da6e73be2f3fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for danling-0.3.17.tar.gz:

Publisher: push.yaml on ZhiyuanChen/DanLing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file danling-0.3.17-py3-none-any.whl.

File metadata

  • Download URL: danling-0.3.17-py3-none-any.whl
  • Upload date:
  • Size: 311.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for danling-0.3.17-py3-none-any.whl
Algorithm Hash digest
SHA256 96b08773781bc838f1d9879d129d03be3eefc954f026bf9caa1265a3a965cd02
MD5 7440c4d2fad88a423d5770c9a87d5079
BLAKE2b-256 f85a2f5bf1a958b203c7470e2711289f763c8ba745914f924da046c910ef92a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for danling-0.3.17-py3-none-any.whl:

Publisher: push.yaml on ZhiyuanChen/DanLing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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