NNCore
A lightweight machine learning toolkit for researchers.
NNCore is a library that provides common functionalities for Machine Learning and Deep Learning researchers. This project aims at helping users focus more on science but not engineering during research. The essential functionalities include but are not limited to:
- Universal I/O APIs
- Efficient implementations of layers and losses that are not included in PyTorch
- Extended methods for distributed training
- More powerful data loading techniques
- An engine that can take over the whole training and testing process, with all the baby-sitting works (stage control, optimizer configuration, lr scheduling, checkpoint management, metrics & tensorboard writing, etc.) done automatically. See an example for details.
Note that some methods in the library work with PyTorch 2.0+, but the installation of PyTorch is not necessary.
Continuous Integration
| Platform / Python Version | 3.9 | 3.10 | 3.11 | 3.12 |
|---|---|---|---|---|
| Ubuntu 22.04 | ||||
| Ubuntu 24.04 | ||||
| macOS 14.x | ||||
| macOS 15.x | ||||
| Windows Server 2025 |
Installation
You may install nncore directly from PyPI
pip install nncore
or manually from source
git clone https://github.com/yeliudev/nncore.git
cd nncore
pip install -e .
Getting Started
Please refer to our documentation for how to incorporate nncore into your projects.
Acknowledgements
This library is licensed under the MIT License. Part of the code in this project is modified from mmcv and fvcore with many thanks to the original authors.
Metadata
Release files for nncore 0.4.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nncore-0.4.7.tar.gz | 80.2 kB | Without provenance | Details for nncore-0.4.7.tar.gz |
Release files / nncore-0.4.7.tar.gz
| Download URL | nncore-0.4.7.tar.gz |
|---|---|
| Size | 80.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7bbba910377d387a7bdde1332065601bffd665a25b46ed5b0d74c9ec51ca80c3
|
|
BLAKE2b-256 checksum How to use checksums |
22aa038e5cf592b451e782254f1a2bf09a5c0ab8f7e01765d3d9346238138cd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Security for nncore 0.4.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.