Skip to main content

Install k2 package

Project description

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

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

install_k2-0.1.0.tar.gz (9.8 kB view details)

Uploaded Source

File details

Details for the file install_k2-0.1.0.tar.gz.

File metadata

  • Download URL: install_k2-0.1.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for install_k2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 31b9deb044a58b8469779da6cf667972e870c864dbc186babf7861e33d1e887b
MD5 ededc29876e70e8ce31032377c983ea8
BLAKE2b-256 90ed35e2239b1763f01a195d27126a8038d4146a7a2fa2ad1ee97a9d6458ce62

See more details on using hashes here.

Provenance

The following attestation bundles were made for install_k2-0.1.0.tar.gz:

Publisher: publish-wheels.yml on lattifai/install-k2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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