Skip to main content

A Python library for FP-Quant

Project description

fp_quant

A library that wraps qutlass kernels with linear layer wrappers for integrations into training and inference engines.

Installation

pip install .

Usage

from fp_quant import replace_with_fp_quant_linear, FPQuantConfig

# Replace nn.Linear layers with fp_quant.FPQuantLinear
replace_with_fp_quant_linear(
    model,
    fp_quant_linear_config=FPQuantConfig(),
)

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

fp_quant-0.1.2.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fp_quant-0.1.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file fp_quant-0.1.2.tar.gz.

File metadata

  • Download URL: fp_quant-0.1.2.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fp_quant-0.1.2.tar.gz
Algorithm Hash digest
SHA256 69ededa2ca16ab34ceb945440f67a8c22e3d55a76c132c144c269953b8d3fefb
MD5 e2436e733241c04549b2b07ce60b52e0
BLAKE2b-256 297e7a252c8de5c90eacbb22929f5466ecfde01deba20d0385fe0f5bef7b51ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for fp_quant-0.1.2.tar.gz:

Publisher: python-publish.yml on IST-DASLab/FP-Quant

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

File details

Details for the file fp_quant-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: fp_quant-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fp_quant-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 69b568a35e0f73a05034906085ba54f593d82aee9f473023187521158452ddfb
MD5 8cc4055672ea36bc3e2ac0013df7b7bb
BLAKE2b-256 585e00c6da8a14074d953a211a8bc2606b1142edf4751a522459d9f22508ceca

See more details on using hashes here.

Provenance

The following attestation bundles were made for fp_quant-0.1.2-py3-none-any.whl:

Publisher: python-publish.yml on IST-DASLab/FP-Quant

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