GPU error at the last version

I got issue about “check_gpu_available” when run concrete at the last version, when I disable GPU just use CPU but sudden error “check_gpu_available”

Could you please post the error message you are getting ?

here you are “Traceback (most recent call last):
File “/home/hotuan/Documents/vscode/lung_disease_FHE_moi.py”, line 8, in
from concrete.ml.sklearn import LogisticRegression, RandomForestClassifier
File “/home/hotuan/.local/lib/python3.10/site-packages/concrete/ml/sklearn/init.py”, line 5, in
from …common.debugging.custom_assert import assert_true
File “/home/hotuan/.local/lib/python3.10/site-packages/concrete/ml/common/init.py”, line 3, in
from . import check_inputs, debugging, utils
File “/home/hotuan/.local/lib/python3.10/site-packages/concrete/ml/common/utils.py”, line 13, in
from concrete.compiler import check_gpu_available, check_gpu_enabled
ImportError: cannot import name ‘check_gpu_available’ from ‘concrete.compiler’ (/home/hotuan/.local/lib/python3.10/site-packages/concrete/compiler/init.py)”

Could you please give the output of pip freeze | grep concrete in your virtual environment where you run this code?

Could you ensure you have the latest Concrete ML and Concrete ?

I tried checking the library and found no such file: check_gpu_available, check_gpu_enable, and mlir._mlir_libs._concretelang._compiler
i tried downloading and redownloading the concrete library, concrete-ml 3 times but still can’t find it
output of pip freeze | grep concreteconcrete==4.18.2 concrete-compiler==0.24.0rc5 concrete-ml==1.8.0 concrete-ml-extensions==0.1.4 concrete-python==2.9.0

you should remove concrete-complier and concrete. there might be a conflict. you only need concrete-python, concrete-ml and concrete-ml-extensions

oh, let me try and report later for you
Thanks for your help <3