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

Uploaded Source

File details

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

File metadata

  • Download URL: install_k2-0.0.6.tar.gz
  • Upload date:
  • Size: 9.6 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.6.tar.gz
Algorithm Hash digest
SHA256 d898ad58bba14aeaf17fd191156561e333d74aa7fec9cbe4cd1d6fe3fa3878f1
MD5 ae09a631cb90cab01f3fe8c7c748e4de
BLAKE2b-256 e45e57bb33a3322ebdb8253ed1aa17d887083285a67b76490a4b3c724749e889

See more details on using hashes here.

Provenance

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