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

Add Dockerfile and instructions for vscode and google cloud #58

Merged
merged 28 commits into from
Jul 18, 2022

Conversation

gcattan
Copy link
Collaborator

@gcattan gcattan commented Jun 28, 2022

This PR enables building a docker image after each pull request or push.
This allows seamless integration with cloud providers such as IBM Cloud Engine or Google Cloud Run.
I am pushing the vs code environment script too, for local use with Remote - Container vs code extension, and I completed the readme with steps on how to configure google cloud environment to run a pyriemann-qiskit container.

@gcattan
Copy link
Collaborator Author

gcattan commented Jun 29, 2022

Working as expected in google cloud:

image

@gcattan gcattan changed the title Gc/docker Add Dockerfile and instruction for vscode and google cloud Jun 29, 2022
@gcattan gcattan marked this pull request as ready for review June 29, 2022 14:23
@gcattan gcattan changed the title Add Dockerfile and instruction for vscode and google cloud Add Dockerfile and instructions for vscode and google cloud Jun 29, 2022
@toncho11
Copy link
Collaborator

So what are the advantages of running on Google Cloud?

  1. Quantum emulation will be faster compared to a local computer?

  2. Is Google cloud free?

  3. We can leave our application running there for days until the results from a real quantum computer are completed?

  4. Can the space on google cloud accommodate the automatic download of the training data?

@gcattan
Copy link
Collaborator Author

gcattan commented Jul 17, 2022

Hi :)

  1. It will be faster it you set up a better configuration than your local machine.
  2. They have a trial period of about 3 months. After this, only some services are free, within specified usage limit.
  3. Yes, but your cloud run service might be restarted if there is no request. Here I provided an example with Cloud Run. If you intend to run it for days, we will probably interested in the Compute Engine solution.
  4. Yes. The price depends on the types and quantity of the storage.

@gcattan gcattan merged commit e24bb6f into pyRiemann:main Jul 18, 2022
@gcattan
Copy link
Collaborator Author

gcattan commented Jul 18, 2022

Thx for the review @toncho11 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants