Skip to main content

Small utility functions for machine learning

Project description

nanoml

A collection of nano utility functions to make the ML code cleaner

[!IMPORTANT] This project is under active development. Feel free to open an issue or submit a pull request.

pip install nanoml

Documentation

Example

from nanoml.dtype import is_bf16_supported

print(is_bf16_supported())
# True if bfloat16 is supported, False otherwise

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Contribution Steps:

  1. Fork the repository
  2. Create a new branch
  3. Run uv sync or pip install -e . to install the dependencies
  4. Run pre-commit install to install the pre-commit hooks
  5. Make your changes and commit them
  6. Push to your fork
  7. Open a PR

License

MIT

Project details


Download files

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

Source Distribution

nanoml-0.1.2.tar.gz (171.1 kB view details)

Uploaded Source

Built Distribution

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

nanoml-0.1.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file nanoml-0.1.2.tar.gz.

File metadata

  • Download URL: nanoml-0.1.2.tar.gz
  • Upload date:
  • Size: 171.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.8

File hashes

Hashes for nanoml-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ffc386e77e4d74a7fb11859f6ffe133026e73b133dc020353834308758455dc7
MD5 98c82cd70a13cee12325df48a2d04df1
BLAKE2b-256 8c7cf91b5f5dfc9f85d9b2166e38be8bcd3bf3b4ba51c004445ddb62d412d342

See more details on using hashes here.

File details

Details for the file nanoml-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: nanoml-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.8

File hashes

Hashes for nanoml-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d663d17b7bad060baeb25da0594744faaa2c373a980ca092824409a5f54312f8
MD5 b8ed315ae657578b5ef3590e9f8b8d87
BLAKE2b-256 b4178ca0721fb027edb5cfc2e52051fd7cd79d008c911c35b758e14a9dfa7506

See more details on using hashes here.

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