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.0.4.tar.gz (9.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: install_k2-0.0.4.tar.gz
  • Upload date:
  • Size: 9.2 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.0.4.tar.gz
Algorithm Hash digest
SHA256 b2d1776546efb09d3ec1f19e7ec6480e16e40bab248b2b5945c8196f0bea5d90
MD5 41c819ecb89fb28b161a5d33d2f256cd
BLAKE2b-256 9358686ca18a99e9d3651b3420647593d293d559cb635cf1283ab7682e7c4ce3

See more details on using hashes here.

Provenance

The following attestation bundles were made for install_k2-0.0.4.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