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.4.tar.gz (6.8 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.4-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fp_quant-0.1.4.tar.gz
  • Upload date:
  • Size: 6.8 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.4.tar.gz
Algorithm Hash digest
SHA256 b39ebcb5308b584fae9483f88b43a81ee13da2edbb39c3dc11e085b5f4dd0a31
MD5 7a111f780e9ff2c6faa28232e6e340c0
BLAKE2b-256 6a856f3d035dfbbc53701cdb2e14ff843fa6b5a82b1310751ea0eb09831fbd76

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fp_quant-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bb600b0e1de04787041a74073ec1c070deb71bc2af00bddf65bc675567aeb490
MD5 46bd77bbe0cd7084b076564b14752c37
BLAKE2b-256 7a4919fed936625ab38b96fdc72667c1dcfdeb1c2c83e802a1cf218471f438dc

See more details on using hashes here.

Provenance

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