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.3.2.tar.gz (11.0 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.3.2-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fp_quant-0.3.2.tar.gz
Algorithm Hash digest
SHA256 a8ac368aab3ad924ffe975ad9119e859e97c10c25fdd8e6d5c6be64c7c60921e
MD5 77b88a6c619449fa7d3d94f3963ce761
BLAKE2b-256 26fa79842f3a65df80970ec33c6c9cdaa610e2521e47e82e0a64bd213a543528

See more details on using hashes here.

Provenance

The following attestation bundles were made for fp_quant-0.3.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.3.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for fp_quant-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a2bb659a85c8e97db7e3b7bd606102199f9460705c8cb9eeb834d5b153b549e1
MD5 1265cd07568e5a12e27ff5fd16242ef5
BLAKE2b-256 82f907b1a420132bcaefffbecd911db832bbcb8c95e213c6dc77372270f0ba5b

See more details on using hashes here.

Provenance

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