Files
tfhe-rs/mockups/tfhe-hpu-mockup/params/gaussian_44b_fast.toml
Baptiste Roux 9ee8259002 feat(hpu): Add Hpu backend implementation
This backend abstract communication with Hpu Fpga hardware.
It define it's proper entities to prevent circular dependencies with
tfhe-rs.
Object lifetime is handle through Arc<Mutex<T>> wrapper, and enforce
that all objects currently alive in Hpu Hw are also kept valid on the
host side.

It contains the second version of HPU instruction set (HIS_V2.0):
* DOp have following properties:
  + Template as first class citizen
  + Support of Immediate template
  + Direct parser and conversion between Asm/Hex
  + Replace deku (and it's associated endianess limitation) by
  + bitfield_struct and manual parsing

* IOp have following properties:
  + Support various number of Destination
  + Support various number of Sources
  + Support various number of Immediat values
  + Support of multiple bitwidth (Not implemented yet in the Fpga
    firmware)

Details could be view in `backends/tfhe-hpu-backend/Readme.md`
2025-05-16 16:30:23 +02:00

45 lines
805 B
TOML

[pbs_params]
lwe_dimension=20
glwe_dimension=2
polynomial_size=1024
lwe_noise_distribution={GaussianStdDev=0.0}
glwe_noise_distribution={GaussianStdDev=0.0}
pbs_base_log=20
pbs_level=1
ks_base_log=2
ks_level=7
message_width=2
carry_width=2
ciphertext_width=44
[ntt_params]
core_arch="WmmCompactPcg"
min_pbs_nb= 10
batch_pbs_nb= 16
total_pbs_nb= 32
ct_width= 44
radix= 2
stg_nb= 10
prime_modulus="Solinas2_44_14"
psi= 32
delta= 5
[ks_params]
width= 21
lbx= 2
lby= 32
lbz= 3
[pc_params]
ksk_pc= 4
ksk_bytes_w= 64
bsk_pc= 4
bsk_bytes_w= 64
pem_pc= 2
pem_bytes_w= 64
glwe_bytes_w= 64
[regf_params]
reg_nb= 64
coef_nb= 32
[isc_params]
min_iop_size= 4
depth= 64