Skip to content

jiaaom/pyTFHE-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTFHE Rust Support Library

This is the support library (Graph, IR, Scheduler) optimized for performance in Rust.

Install Python Binding

Prepare Environment

sudo apt install patchelf # or sudo dnf install patchelf
conda create -n pytfhe python=3.9.13 # 3.12 is also supported
conda activate pytfhe
pip install maturin

Build and Install clone this repo

cd pyTFHE-rs

cd ..
# under tnfs directory
cargo build --release

# Install maturin
uv tool install maturin

# Install binding, make sure conda env is activated
maturin develop

Test binding is working

import tnfs
print(tnfs.py_greedy_scheduler)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors