Skip to main content

install-k2

PyPI version

A simple utility to automatically install the correct k2 wheel for your platform and environment.

Installation

pip install install-k2

Usage

After installation, you can run the installer using either command:

# Using hyphen (recommended)
install-k2

# Or using underscore
install_k2

Options

  • --dry-run: Show what would be installed without making changes
install-k2 --dry-run

What It Does

The installer automatically:

  • Detects your operating system (Linux, macOS, Windows)
  • Identifies your Python version
  • Detects CUDA version (if available on Linux)
  • Finds the appropriate PyTorch version
  • Downloads and installs the compatible k2 wheel from official sources

Supported Platforms

  • Linux: CPU and CUDA wheels
  • macOS: CPU wheels (Intel and Apple Silicon)
  • Windows: CPU wheels

Wheel Sources

The installer fetches wheels from official k2 repositories:

Requirements

  • Python 3.9 or higher
  • PyTorch (automatically detected)

License

Apache License 2.0

Author

The Lattifai Development Team

Metadata

Release files for install-k2 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for install-k2 0.1.0
File Size Uploaded
install_k2-0.1.0.tar.gz 9.8 kB Details

Release files / install_k2-0.1.0.tar.gz

Download URL install_k2-0.1.0.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
31b9deb044a58b8469779da6cf667972e870c864dbc186babf7861e33d1e887b
BLAKE2b-256 checksum
How to use checksums
90ed35e2239b1763f01a195d27126a8038d4146a7a2fa2ad1ee97a9d6458ce62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

0.0.6

1 release file

0.0.4

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page