Open Lio101 opened 2 years ago
@Lio101 is there any update on this? I am running into almost the same issue when trying to run it in simulation mode
@AdelinaFilip its not working in simulation mode. I am only able to build it in Azure Confidential Computing VM.
Hi, Is it possible to run the server on Linux machine with SGX support? (Not ACC VM)
I am trying to run it on Linux machine : OS: Ubuntu 20.04 CPU: Intel i5 7200U SGX SDK: 2.15
I was able to complete the setup, but getting this error when trying to start the server:
sudo docker run --rm --name model-server-test --device=/dev/sgx/provision -p 8888:8888 model-server [2022-01-21 09:47:43.469] [ServerApp] [info] Enclave path: /root/confonnx_server_enclave.signed [2022-01-21 09:47:43.469] [ServerApp] [info] Model path: /root/model.onnx [2022-01-21 09:47:43.469] [ServerApp] [info] Creating enclave [get_driver_type /home/sgx/jenkins/linux-ubuntuServer-release-build-trunk-215.1/build_target/PROD/label/Builder-UbuntuSrv18/label_exp/ubuntu64/linux-trunk-opensource/psw/urts/linux/edmm_utility.cpp:111] Failed to open Intel SGX device. 2022-01-21T09:47:43.000000Z [(H)ERROR] tid(0x7f8a50504f40) | enclave_create with ENCLAVE_TYPE_SGX1 type failed (err=0x1) (oe_result_t=OE_PLATFORM_ERROR) [../host/sgx/sgxload.c:oe_sgx_create_enclave:480] 2022-01-21T09:47:43.000000Z [(H)ERROR] tid(0x7f8a50504f40) | :OE_PLATFORM_ERROR [../host/sgx/create.c:oe_sgx_build_enclave:812] 2022-01-21T09:47:43.000000Z [(H)ERROR] tid(0x7f8a50504f40) | :OE_PLATFORM_ERROR [../host/sgx/create.c:oe_create_enclave:960] [2022-01-21 09:47:43.494] [ServerApp] [critical] ERROR (N11onnxruntime6server15EnclaveSDKErrorE): OE_PLATFORM_ERROR