We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
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
The text was updated successfully, but these errors were encountered:
@Lio101 is there any update on this? I am running into almost the same issue when trying to run it in simulation mode
Sorry, something went wrong.
@AdelinaFilip its not working in simulation mode. I am only able to build it in Azure Confidential Computing VM.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: