Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to run models on ovms binary due to Memory Fault #2086

Open
adarshan-intel opened this issue Jan 21, 2025 · 1 comment
Open

Failure to run models on ovms binary due to Memory Fault #2086

adarshan-intel opened this issue Jan 21, 2025 · 1 comment

Comments

@adarshan-intel
Copy link
Contributor

adarshan-intel commented Jan 21, 2025

Description

Please read gramineproject/gsc#229 for context

Downloaded OpenVINO Model Server on bare metal using the instructions from OpenVINO documentation.

Steps to Reproduce:

  1. Download precompiled package:

    wget https://github.com/openvinotoolkit/model_server/releases/download/v2024.5/ovms_ubuntu22.tar.gz
    tar -xzvf ovms_ubuntu22.tar.gz
  2. Or build it yourself:

    # Clone the model server repository
    git clone https://github.com/openvinotoolkit/model_server
    cd model_server
    # Build docker images (the binary is one of the artifacts)
    make docker_build PYTHON_DISABLE=1 RUN_TESTS=0
    # Unpack the package
    tar -xzvf dist/ubuntu22/ovms.tar.gz
  3. Install required libraries:

    sudo apt update -y && apt install -y libxml2 curl
  4. Set path to the libraries and add binary to the PATH:

    export LD_LIBRARY_PATH=${PWD}/ovms/lib
    export PATH=$PATH:${PWD}/ovms/bin
  5. Create a Makefile and manifest.template file. (attached in logs)

  6. Run the script runs.sh to execute the file. (attached in logs)

Issue:

Encountered a memory issue. Logs indicate the following error:

(libos_signal.c:351:memfault_upcall) [P1:T1:ovms] debug: memory fault at 0x73e13ed194f8 (IP = 0x73e1266fed2d)

Notes:

@adarshan-intel adarshan-intel changed the title Failure to run encrypted models on openvino/model_server:latest due to Memory Fault Failure to run models on ovms binary due to Memory Fault Jan 21, 2025
@anjalirai-intel
Copy link
Contributor

I am able to repro the issue with Gramine v1.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants