Is recommended to install dependencies and run the notebook with a virtual environment. For more information on how to create a virtual env, check the documentation: link
For 30 series GPUs is required to install a different version of pytorch, for more info access their documentation: link