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

Uploaded Source

File details

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

File metadata

  • Download URL: install_k2-0.0.2.tar.gz
  • Upload date:
  • Size: 8.9 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.2.tar.gz
Algorithm Hash digest
SHA256 70c2492a42b605f970056b8bc6aaa02f0322b76449dc2e079e8d04263d163273
MD5 394834abd05e6cb5709d5e60601d3b85
BLAKE2b-256 a4b836ae523bf5a3b0c4d0ebc803f0add70dbe2a7cab32de7153ffc2b3004117

See more details on using hashes here.

Provenance

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