Skip to content
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

01-data-scientist-submit-code.ipynb have some problem #8782

Closed
amostsai opened this issue May 4, 2024 · 4 comments
Closed

01-data-scientist-submit-code.ipynb have some problem #8782

amostsai opened this issue May 4, 2024 · 4 comments
Labels
Awaiting Response Needs Triage Type: Documentation 📚 Improvements or additions in documentation for some file, feature, or codebase

Comments

@amostsai
Copy link

amostsai commented May 4, 2024

Where?

01-data-scientist-submit-code.ipynb

What?

  1. Executing "new_project.create_code_request(obj=mnist_3_linear_layers, client=ds_client)" results in "SyftError: The code to be submitted (name and content) already exists."
  2. Executing "project = new_project.start()" results in "Creating default worker image with tag='local-dev' Building default worker image with tag=local-dev Setting up worker poolname=default-pool workers=0 image_uid=e56eaccabde64b5ab89db5c92cb29113 in_memory=True Default worker pool error. Invalid number of workers: 0."

Is there any missing code in this example program?

Additional Context

Ubuntu 23.10
python 3.11.6
syft 0.8.7b7

@amostsai amostsai added the Type: Documentation 📚 Improvements or additions in documentation for some file, feature, or codebase label May 4, 2024
@amostsai
Copy link
Author

amostsai commented May 4, 2024

image

@IrinaMBejan
Copy link
Contributor

Hi @amostsai, thanks a lot for reporting the issue! Would you mind sharing your notebook so we can replicate the issue?

@madhavajay
Copy link
Collaborator

@amostsai the Orchestra constructor takes params that allow you to specify additional settings:

node = sy.orchestra.launch(
  ...,
  create_producer=True,
  n_consumers=1
)

Are you able to share the code you created so we can understand the issue more?

It looks like its saying you have submitted your code already (which is fine, it just means you need to have it approved and then use it), and the second issue is that if you start a python server without consumers it won't do any of the background work.

@madhavajay
Copy link
Collaborator

I will close this for now as there has been no response @amostsai if you can supply the steps you took I can re-open the issue and address it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Response Needs Triage Type: Documentation 📚 Improvements or additions in documentation for some file, feature, or codebase
Projects
None yet
Development

No branches or pull requests

3 participants