Kernel dies creating SummaryWriter

Dear Community,

I just started using pytorch and was following the tutorial from this link: https://pytorch.org/tutorials/intermediate/tensorboard_tutorial.html. However, whenever I ran
“writer = SummaryWriter(‘runs/fashion_mnist_experiment_1’)”
jupyter notebook will report “the kernel appears to have died. It will restart automatically”. I have no idea why such a simple command will cause the kernel to die, since I’m not even training a model. Information is also shown in the screen shot below.


The server I’m working on doesn’t have a GPU. Could this have been the reason?

I would really appreciate it for any help and hints.
Thank you so much

Hi,

This is quite surprising. Can you try to run the same command from a command line to see if you get a more useful error message?