TFHE-rs v0.8: Encrypted Arrays and Improved Multi-GPU Support
Blog post from Zama
TFHE-rs v0.8 introduces significant enhancements with the addition of array types and improved multi-GPU computing capabilities, enabling more efficient operations on encrypted data. This update allows developers to work seamlessly with vectors and tensors, facilitating operations like element-wise arithmetic and bitwise functions on encrypted arrays. The improved multi-GPU support eliminates previous limitations, enabling the use of all Nvidia GPUs, including those connected via PCIe, and optimizing inter-GPU communication, which significantly speeds up computation, particularly for arithmetic operations like 64-bit integer multiplication. The release also includes features such as post-homomorphic computation ciphertext compression on GPUs to reduce memory usage, new GPU-based homomorphic operations, and improved bootstrapping performance. Additionally, enhancements in CPU operations have been made, along with the introduction of new operations like parity detection and encrypted random FheBool generation. This version focuses on improving code stability and introduces various features, with future releases set to bring new data types and continued performance enhancements.