From 602c6faf8ada3bfd13c97fa4d3915dc3aae98172 Mon Sep 17 00:00:00 2001 From: pgardratzama Date: Wed, 1 Oct 2025 19:06:54 +0200 Subject: [PATCH] chore(hpu): update hpu-backend dependencies, fix pcc --- backends/tfhe-hpu-backend/src/ffi/v80/ami.rs | 6 +++++- tfhe/Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/backends/tfhe-hpu-backend/src/ffi/v80/ami.rs b/backends/tfhe-hpu-backend/src/ffi/v80/ami.rs index d8e99483a..05a957f8e 100644 --- a/backends/tfhe-hpu-backend/src/ffi/v80/ami.rs +++ b/backends/tfhe-hpu-backend/src/ffi/v80/ami.rs @@ -377,7 +377,11 @@ impl AmiDriver { if ack_str.is_empty() { 0 } else { - let ack_nb = ack_str.as_str().lines().map(|line| line.trim_ascii().parse::().unwrap()).sum(); + let ack_nb = ack_str + .as_str() + .lines() + .map(|line| line.trim_ascii().parse::().unwrap()) + .sum(); tracing::trace!("Get value {ack_str} from {ami_proc_path} => {ack_nb}",); ack_nb } diff --git a/tfhe/Cargo.toml b/tfhe/Cargo.toml index 19495dc9e..257fd0d09 100644 --- a/tfhe/Cargo.toml +++ b/tfhe/Cargo.toml @@ -91,7 +91,7 @@ serde-wasm-bindgen = { version = "0.6.0", optional = true } getrandom = { workspace = true, optional = true } bytemuck = { workspace = true } -tfhe-hpu-backend = { version = "0.2", path = "../backends/tfhe-hpu-backend", optional = true } +tfhe-hpu-backend = { version = "0.3", path = "../backends/tfhe-hpu-backend", optional = true } [features] boolean = []