GitXplorerGitXplorer
z

concrete-ml-processing-rs

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
22673cd899c38d19c191c66c3434efe68ab1d80d

chore: fix path

jjfrery committed 2 months ago
Verified
0f65994b93709b90e065a76030e2a9d52515bff2

chore: fix test float input values

jjfrery committed 2 months ago
Verified
0e0ba9a036cc24fa38dad199230f74be7fdcfd3f

feat: refacto + add logistic regression quantizer support

jjfrery committed 2 months ago
Unverified
f1c973873d0bda27f523dfa18f086ad8ac6e25d6

add readme

jjfrery committed 4 months ago
Unverified
4d10057e4c1c7c7c735f0b5139a17e53e64c5c37

initial commit

jjfrery committed 4 months ago

README

The README file for this repository.

Concrete Quantizer

A Rust implementation of a quantizer compatible with Concrete ML's quantization scheme.

Overview

This project provides a Rust-based quantizer that can load quantization parameters generated by Concrete ML's Python implementation. It allows for quantization and dequantization of values using the same logic as the Concrete ML python version.

Features

  • Load quantizer parameters from JSON files generated by Concrete ML
  • Quantize floating-point values to integers
  • Dequantize integer values back to floating-point
  • Compatibility testing with Python-generated results

Development Setup

Python Dependencies

To generate test data, you'll need Python with Concrete ML:

pip install -r requirements.txt

Then generate the test data for the logistic regression quantizer:

python scripts/generate_logistic_regression_quantizer_params.py