Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On GPU Computing with Python

You're reading from   Hands-On GPU Computing with Python Explore the capabilities of GPUs for solving high performance computational problems

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781789341072
Length 452 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Avimanyu Bandyopadhyay Avimanyu Bandyopadhyay
Author Profile Icon Avimanyu Bandyopadhyay
Avimanyu Bandyopadhyay
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Section 1: Computing with GPUs Introduction, Fundamental Concepts, and Hardware
2. Introducing GPU Computing FREE CHAPTER 3. Designing a GPU Computing Strategy 4. Setting Up a GPU Computing Platform with NVIDIA and AMD 5. Section 2: Hands-On Development with GPU Programming
6. Fundamentals of GPU Programming 7. Setting Up Your Environment for GPU Programming 8. Working with CUDA and PyCUDA 9. Working with ROCm and PyOpenCL 10. Working with Anaconda, CuPy, and Numba for GPUs 11. Section 3: Containerization and Machine Learning with GPU-Powered Python
12. Containerization on GPU-Enabled Platforms 13. Accelerated Machine Learning on GPUs 14. GPU Acceleration for Scientific Applications Using DeepChem 15. Other Books You May Enjoy Appendix A

Installing Jupyter Notebook and Jupyter Lab

The installation of Jupyter Notebook and Jupyter Lab is very simple, since we have already learned how to install Anaconda.

For a system-wide installation for both of them on Anaconda, open a Terminal and run the following command with conda:

$ conda install jupyter jupyterlab

For a separate installation, you can first create a virtual environment with conda and then use the preceding command. Here, we use jupyterworld as the name of the virtual environment. Enter y to proceed:

$ conda create --name jupyterworld
---
proceed ([y]/n)? y
$ conda activate jupyterworld
(jupyterworld)$ conda install jupyter jupyterlab

To run Jupyter Notebook, use the following command:

jupyter notebook

To run Jupyter Lab, use the following command:

jupyter lab

Your default web browser will launch it as soon as you enter the command.

Here is how the web-based IDE...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime