Unfortunately, I don’t know how cudnn logging can be enabled in Jupyter notebooks or Google Colab and also don’t know if it’s a limitation of the former of latter.
One common issue users are seeing when trying to set env variables inside a notebook is the order:
e.g. setting CUDA_VISIBLE_DEVICES or CUDA_LAUNCH_BLOCKING after creating the CUDA context wouldn’t have any effect. Maybe you are facing a similar issue and could move the os.environ calls to the very beginning of the notebook.