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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file danling-0.3.16.tar.gz.
File metadata
- Download URL: danling-0.3.16.tar.gz
- Upload date:
- Size: 6.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa6bffadc96ea7f7f26d07bf627b572476e7a67ef7f7c8a2201ef6432bedd69d
|
|
| MD5 |
1e839ad2d8f0516f594c890491ddafae
|
|
| BLAKE2b-256 |
b22bdee25508b80fdd9f6df13f535a5a9c8bb88fa831cf553db2d9597046ca5e
|
Provenance
The following attestation bundles were made for danling-0.3.16.tar.gz:
Publisher:
push.yaml on ZhiyuanChen/DanLing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
danling-0.3.16.tar.gz -
Subject digest:
fa6bffadc96ea7f7f26d07bf627b572476e7a67ef7f7c8a2201ef6432bedd69d - Sigstore transparency entry: 1193342174
- Sigstore integration time:
-
Permalink:
ZhiyuanChen/DanLing@77626c69d4ba6a5e5da0e7bd7c700b8366ce72c5 -
Branch / Tag:
refs/tags/v0.3.16 - Owner: https://github.com/ZhiyuanChen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
push.yaml@77626c69d4ba6a5e5da0e7bd7c700b8366ce72c5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file danling-0.3.16-py3-none-any.whl.
File metadata
- Download URL: danling-0.3.16-py3-none-any.whl
- Upload date:
- Size: 253.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54ad92c5d6040b3e910e3e3e57d004a8ad87aeb7cb6cf2c17661619b756f605a
|
|
| MD5 |
b2549ba3165de1b5695e06af6f246588
|
|
| BLAKE2b-256 |
b2dbec33b6c79679efff5c8459497f21b5afde67386eaf7e806a4e701e3a1ebe
|
Provenance
The following attestation bundles were made for danling-0.3.16-py3-none-any.whl:
Publisher:
push.yaml on ZhiyuanChen/DanLing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
danling-0.3.16-py3-none-any.whl -
Subject digest:
54ad92c5d6040b3e910e3e3e57d004a8ad87aeb7cb6cf2c17661619b756f605a - Sigstore transparency entry: 1193342176
- Sigstore integration time:
-
Permalink:
ZhiyuanChen/DanLing@77626c69d4ba6a5e5da0e7bd7c700b8366ce72c5 -
Branch / Tag:
refs/tags/v0.3.16 - Owner: https://github.com/ZhiyuanChen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
push.yaml@77626c69d4ba6a5e5da0e7bd7c700b8366ce72c5 -
Trigger Event:
push
-
Statement type: