Here step by step:
- Create a new environment, example: re_gpu
- Activate environment re_gpu
- Create jupyter kernel
- Install package that related to gpu, example: pip install tensorflow-gpu
- Launch jupyter notebook or spyder as your need
- Finish, run your code and don’t forget to change kernel that related to gpu
Check GPU:
Check GPU Code:
Read more:
- https://www.techentice.com/how-to-make-jupyter-notebook-to-run-on-gpu/
- https://www.linkedin.com/pulse/embed-github-gist-code-snippet-medium-article-mazen-kilani/ (Link Belajar Embed Github Code to Medium)