I can confirm that every thing works OK, here is a screen shot from Google colab, Please check your CUDA installation using
using CUDA CUDA.versioninfo()