Comments (8)
@weimingma an Illegal instruction could mean your CPU isn't exposing aes cpu instructions to the VM. Could you run
lscpu
orcpuid
from the host and the vm andgrep -i aes
. If the instructions are available on the host and not on the VM, then you need to make them available through your hypervisor
@youben11 Followed your comments, I have confirmed that the compiling failure was due to lack of aes flag on the VM cpu. This issue is resolved after adding aes to my VM. I am closing this issue. Really apprecite your help~
from concrete-ml.
Hello again @weimingma , I discussed with my colleagues but we can't find an obvious explanation from the information we have now.
Could you please check your
glibc
version withldd --version
? Also we might need a full traceback if there is more information there and the hardware specifications of the system you are using to run the VM (any detail about your configuration would help 🙏🏼 ).We never tested Concrete in a VM afaik so that would allow us to replicate your issue and in the future add a test for it in our CI.
@fd0r The ldd version is: ldd (Ubuntu GLIBC 2.31-0ubuntu9.14) 2.31. I am trying to get HW related info and fulltrace and will get back to you later. Thanks!
from concrete-ml.
Hello @weimingma , sorry to hear your troubles using Concrete ML.
When you say:
Ubuntu 22.04 (virtual environment)
Do you mean a VM or docker container? Also are on an ARM system or x86?
from concrete-ml.
Hello @weimingma , sorry to hear your troubles using Concrete ML. When you say:
Ubuntu 22.04 (virtual environment)
Do you mean a VM or docker container? Also are on an ARM system or x86?
Hi @fd0r , Appreciate for your prompt reply. It's a VM and x86. Let me know if need more info. Thanks.
from concrete-ml.
Hello again @weimingma , I discussed with my colleagues but we can't find an obvious explanation from the information we have now.
Could you please check your glibc
version with ldd --version
? Also we might need a full traceback if there is more information there and the hardware specifications of the system you are using to run the VM (any detail about your configuration would help 🙏🏼 ).
We never tested Concrete in a VM afaik so that would allow us to replicate your issue and in the future add a test for it in our CI.
from concrete-ml.
Alright so that's probably not an issue with glibc
, could you link us or send directly the full traceback please? 🙏🏼
from concrete-ml.
Alright so that's probably not an issue with
glibc
, could you link us or send directly the full traceback please? 🙏🏼
Hi @fd0r I have tried several times in the case. Unfortunately, there is no Python traceback shown. There is only llvm logs shown after the model is compiled in my initial post. Also, the following shown at the end of the logs:
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Illegal instruction (core dumped)
Please let me know if you were requesting any other logs.
BTW, FYI. the CPU info: CPU: 16 x AMD EPYC 7232P 8-Core Processor (1 Socket).
Thanks.
from concrete-ml.
@weimingma an Illegal instruction could mean your CPU isn't exposing aes cpu instructions to the VM. Could you run lscpu
or cpuid
from the host and the vm and grep -i aes
. If the instructions are available on the host and not on the VM, then you need to make them available through your hypervisor
from concrete-ml.
Related Issues (20)
- Comparison over encrypted integers HOT 3
- Add a fhe or concrete-ml as a tag in HF compiled models HOT 2
- Test Hugging Face Endpoints on Azure HOT 2
- RuntimeError: Can't compile: Cannot find crypto parameters HOT 1
- Can not install concrete-ml on Linux system HOT 7
- ValueError: Please either set all three 'ordered_module_input_names', 'ordered_module_output_names' and 'quant_layers_dict' or none of them. HOT 4
- Feature Request: Add support for embedding layers HOT 4
- [Question] How exactly the HybridFHE functions HOT 1
- [Question] FHE inference over a single image time HOT 2
- installation error HOT 7
- [Question] Discord link in explanation HOT 2
- High accuracy variance during the training with SGDClassifier HOT 1
- Feature Request : Implement LogSoftmax, Softmax, ReduceMax HOT 3
- Performance Issues HOT 1
- Two consecutive Unsqueeze operations in QAT model throws error at compilation time HOT 2
- LLVM symbolizer error with LogisticRegression example HOT 15
- [Question] What HE algorithm is used? HOT 6
- [Question] AssertionError: Values must be float if value_is_float is set to True, got int64: [1] HOT 3
- AssertionError: Values must be float if value_is_float is set to True, got int64: [[[[102 14 188 ... 85 205 46] HOT 3
- RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from concrete-ml.