Dmitrii Kuvaiskii
Dmitrii Kuvaiskii
@asim29 Have you installed the PCCS service? See https://www.intel.com/content/www/us/en/developer/articles/guide/intel-software-guard-extensions-data-center-attestation-primitives-quick-install-guide.html Context: You need some service that constructs the Intel certificate chain for DCAP SGX Quotes. You can either install the PCCS...
> Is it possible to use n_jobs inside SGX with Gramine? Yes, of course, it is possible. Gramine fully supports multi-threaded workloads. > Am I doing something wrong in the...
Something is definitely broken in your setup. Could you please show us two things: 1. The contents of your `manifest.template` file. 2. Please set `loader.log_level = "all"` in the manifest-template...
I don't see anything suspicios in the logs. Where do you run this workload? Is this a bare metal machine, or some VM?
Can you set the number of threads programatically in your script? Just to experiment, because I see no reason for `OMP_NUM_THREADS` to be ignored...
> > Can you set the number of threads programatically in your script? > > Sure, just did it with > > `loader.env.OMP_NUM_THREADS = "8"` No, sorry, that's not what...
I find it weird. Unfortunately, at this point you'll need to go very deep in what happens in `gramine-direct` and `gramine-sgx`. For this, you'll have to use GDB and/or `perf`...
@Camelliavin At which step exactly does it fail? Did you do this step: https://gramine.readthedocs.io/en/latest/tutorials/pytorch/index.html#preparing-input-files Did you do this step: https://gramine.readthedocs.io/en/latest/tutorials/pytorch/index.html#preparing-manifest-file It's important to (a) download the file `alexnet-pretrained.pt` and to...
Did you encrypt `alexnet-pretrained.pt` after you downloaded it? In other words, did you run this exactly: https://gramine.readthedocs.io/en/latest/tutorials/pytorch/index.html#preparing-input-files
> Yes How did you encrypt it? The binary form you copy-pasted doesn't look like proper Gramine FS encryption... (It should start with `GRAFS` in the first 5 bytes.)