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.4.tar.gz (171.4 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.4-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nanoml-0.1.4.tar.gz
Algorithm Hash digest
SHA256 658663eafc8e406650f48f63db2d1a24d5ad2060d989698b573779ad35ab5323
MD5 e03265fcc6607013de7ecf6844f48074
BLAKE2b-256 443ba0c70dd45700be11d4918032b1fc4dcf2ccac878b1bf205378375ecc4dbb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nanoml-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 35a8ca951b4b72c0df86933ffc4d35508e2bcbd01b99e3a90b434080c37782ca
MD5 ddd71764ebbe42a4d4c6c2ce68908143
BLAKE2b-256 aad191681eea9e649ce05e3ce2fcd1b4d3ce0cdb0a08397df0b89e974f06767c

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