Giter VIP home page Giter VIP logo

Comments (8)

weimingma avatar weimingma commented on July 29, 2024 2

@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

@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.

weimingma avatar weimingma commented on July 29, 2024 1

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.

@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.

fd0r avatar fd0r commented on July 29, 2024

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.

weimingma avatar weimingma commented on July 29, 2024

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.

fd0r avatar fd0r commented on July 29, 2024

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.

fd0r avatar fd0r commented on July 29, 2024

Alright so that's probably not an issue with glibc, could you link us or send directly the full traceback please? 🙏🏼

from concrete-ml.

weimingma avatar weimingma commented on July 29, 2024

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.

youben11 avatar youben11 commented on July 29, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.