-
Notifications
You must be signed in to change notification settings - Fork 24
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
TEEC_InvokeCommand(forward) failed when running fl_tee_layerwise.sh on HiKey 960 #3
Comments
Hi @HenryHu2000 , the |
The |
Hi @mofanv, thanks for your reply. Yes, I used the cfg files in |
I followed the exactly same configuration as in the paper. I tried the following 3 configurations on
However, other scripts like fl_tee_standard_noss.sh and fl_tee_standard_ss.sh do run correctly. It seems that changing the flag |
Hello @mofanv,
I attempted to run fl_tee_layerwise.sh on an HiKey 960, the same board used in the original PPFL paper PPFL: Privacy-preserving Federated Learning with Trusted Execution Environments. However, I'm getting
TEEC_InvokeCommand(forward) failed 0xffff3024 origin 0x3
when runningfl_tee_layerwise.sh
, the same error in mofanv/darknetz#14 and mofanv/darknetz#29. Other scripts likefl_tee_standard_noss.sh
andfl_tee_standard_ss.sh
can run correctly.Since under tz_datasets/cfg folder there don't exist
greedy-cnn-aux.cfg
,greedy-cnn-layer1.cfg
,greedy-cnn-layer2.cfg
,greedy-cnn-layer3.cfg
andmnist_greedy-cnn.cfg
files that are required byfl_tee_layerwise.sh
, I manually copy-pasted them fromPPFL/server_side_sgx/cfg
.Error log:
I checked mofanv/darknetz#14 and mofanv/darknetz#29 and attempted to increase
TA_STACK_SIZE
andTA_DATA_SIZE
in ta/include/user_ta_header_defines.h I have the following values, but am still getting the error. I cannot increase them further because that would cause aTEEC_Opensession failed with code 0xffff000c origin 0x3
error as from mofanv/darknetz#32.I isolated the command
darknetp classifier train -pp_start_f 0 -pp_end 4 -ss 2 "cfg/mnist.dataset" "cfg/mnist_greedy-cnn.cfg" "/root/models/mnist/mnist_greedy-cnn_global.weights"
that failed and tried to run it manually on the client.-pp_start_f 0 -pp_end 4
fails but-pp_start_f 0 -pp_end 3
can run. It seems that layer 4 is the one that cannot fit into TEE memory.Do you know what the original configuration used in PPFL: Privacy-preserving Federated Learning with Trusted Execution Environments was? Thank you!
The text was updated successfully, but these errors were encountered: