[BUG] Homomorphic encryption with simulator #1994
-
Describe the bug This workflow was executed on a Bert based model on NLP dataset, and I did encounted error message. I have attached the error message (screen capture), also I have uploaded the error logs for the server and both sites. To Reproduce
Expected behavior Logs Versions - Dependencies
|
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 3 replies
-
@Sahilnalawade thanks for reporting this issue. We will take a look. @holgerroth is this related to : #1959 ? |
Beta Was this translation helpful? Give feedback.
-
Yes, this is a related issue as HE is not supported in simulator. @Sahilnalawade, please follow the example here to run an HE experiment with local provisioning: https://github.com/NVIDIA/NVFlare/tree/main/examples/advanced/cifar10/cifar10-real-world#31-secure-fl-workspace |
Beta Was this translation helpful? Give feedback.
-
Hi Holgerroth,
|
Beta Was this translation helpful? Give feedback.
-
Just to add to the above point, I have updated the nvflare package to version 2.3.1, Do let me know, if you want me to test with a different version. |
Beta Was this translation helpful? Give feedback.
-
HE is not directly supported in the simulator at this point (see #1959). You'll need to use the admin console to monitor jobs and download results. The results will be available after download in your admin folder inside the secure workspace that you created. |
Beta Was this translation helpful? Give feedback.
-
Hi Holgerroth, I did run the the workflow as per the instructions,
Attachments -- Regards |
Beta Was this translation helpful? Give feedback.
-
Hi Holgerroth, I tried running the nvflare example and it failed due to the error message, I am attaching the logs for server and client and also I am attaching the server and client json files. To run few clients on the nvflare, I have selected only 2 clients instead of 8. I have modified the meta.json and config_fed_server.json to have only 2 clients. The error message seems to be for a module, nvflare.app_common.executors.model_learner_executor, this module seems to be missing in the latest version of nvflare package. Attachments --- Regards |
Beta Was this translation helpful? Give feedback.
-
Hi Holgerroth, I was able to to execute the Homomorphic encryption run after upgrading the nvflare package to the development version of nvflare (version – 2.4.0rc2). Reagrds |
Beta Was this translation helpful? Give feedback.
-
Model learner is new 2.4.x not in 2.3 release
…________________________________
From: Sahil Nalawade ***@***.***>
Sent: Wednesday, October 11, 2023 10:37 AM
To: NVIDIA/NVFlare ***@***.***>
Cc: Chester Chen ***@***.***>; Comment ***@***.***>
Subject: Re: [NVIDIA/NVFlare] [BUG] Homomorphic encryption with simulator (Discussion #1994)
Hi Holgerroth,
I was able to to execute the Homomorphic encryption run after upgrading the nvflare package to the development version of nvflare (version – 2.4.0rc2).
I tried using the 2.3.5 version but looks like that was not compatible as some of the files were missing.
Specifically - 'nvflare.app_common.executors.model_learner_executor'
Reagrds
Sahil Nalawade
—
Reply to this email directly, view it on GitHub<#1994 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAD5FQ4EPHNXVJMDPS3SRFTX63KPJANCNFSM6AAAAAA5DKGZMU>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Hi Holgerroth,
I was able to to execute the Homomorphic encryption run after upgrading the nvflare package to the development version of nvflare (version – 2.4.0rc2).
I tried using the 2.3.5 version but looks like that was not compatible as some of the files were missing.
Specifically - 'nvflare.app_common.executors.model_learner_executor'
Reagrds
Sahil Nalawade