Desilo / liberate-fhe

A Fully Homomorphic Encryption (FHE) library for bridging the gap between theory and practice with a focus on performance and accuracy.
https://docs.desilo.ai/
BSD 3-Clause Clear License
104 stars 9 forks source link

something error #19

Open 1ofvc opened 3 months ago

1ofvc commented 3 months ago

Traceback (most recent call last): File "D:\work\capride-learning\liberate\test.py", line 1, in from src.liberate import fhe File "D:\work\capride-learning\liberate\src\liberate__init.py", line 1, in from . import csprng, fhe, utils File "D:\work\capride-learning\liberate\src\liberate\csprng__init__.py", line 1, in from .csprng import Csprng File "D:\work\capride-learning\liberate\src\liberate\csprng\csprng.py", line 7, in from . import ( ImportError: cannot import name 'chacha20_cuda' from partially initialized module 'src.liberate.csprng' (most likely due to a circular import) (D:\work\capride-learning\liberate\src\liberate\csprng\init__.py)

hanyul-ryu commented 3 months ago

sorry for late reply.

First of all, your symptom is generally a problem that occurs when the cuda file is not built properly.

I might be able to help you a little more if you tell me what version of python you are using and what version of cuda you have installed.

And I hope this documentation helps you.