[New-Feature]Adding Docker Support to Pennylane
See original GitHub issueIssue description
Just wanted to know if Docker-Support is in Check-list, I would be able to add Docker-Support for Pennylane.
Adding Dockerfile to Build penylane using Docker.
- Expected behavior: Build and entire system using Docker.
To build from source
docker build -t pennylane:docke_build .
To Run Python script using pennylane
docker run -it --rm -v $PWD:/tmp -w /tmp pennylane/pennylane python ./script.py
To Run pennylane as-Service using jupyter.
docker run -it -p 8888:8888 pennylane/pennylane:nightly-jupyter
Additional information
Other Libraries doing it:
Pytorch: https://github.com/pytorch/pytorch/blob/master/Dockerfile
Tensorflow: https://www.tensorflow.org/install/docker
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
Installation and dependencies - PennyLane Documentation
Dependencies¶. PennyLane requires the following libraries be installed: ... Docker support exists for building using CPU and GPU (Nvidia CUDA 11.1+) images.
Read more >Docker Support
Find answers to your questions with Docker Support. Open a new case, view Docker Docs, visit our community forums, or join our Slack...
Read more >Developers | Docker
The world's leading service for finding and sharing container images with your team and the Docker community. For developers and those experimenting with ......
Read more >Introducing the Docker+Wasm Technical Preview
Learn more about the Docker+Wasm Technical Preview that enables all developers to quickly & easily build applications that target Wasm ...
Read more >Docker Engine post-installation steps
On Debian and Ubuntu, the Docker service starts on boot by default. To automatically start Docker and containerd on boot for other Linux...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@albi3ro Well I have completed pennylane-plain, Pennylane-TF and Pennylane-Torch docker images, Will be able to share those by tomorrow for review.
As I can see Qchem has script for dependencies installation(https://github.com/PennyLaneAI/pennylane/blob/master/qchem/install-dependencies.sh) which could be easily reused for creation of Dockerfile for pennylane-Qchem.
Thanks @arshpreetsingh, we have linked https://github.com/PennyLaneAI/pennylane/pull/1391 so that it will automatically close this issue once merged 😄