Jupyter notebook operating on M1 Pro: kernel died often!

https://betterdatascience.com/install-tensorflow-2-7-on-macbook-pro-m1-pro/

I installed tensorflow following the above link. However, when I use tensorflow in Jupyter notebook, the kernel dies randomly! And it happens often. I use the newest anaconda which supports M1.

I wonder how to solve this problem. It's quit annoying.

I've tried the same code on Mac Pro 2019 and the code runs well.

Replies

Hi @LeiLeiEmily0320

Thanks for raising the issue! Will you be able to provide a sample code that fails for you, please? Would also be helpful to get a .yml file of your exported conda environment, that way we can fully mimic the setup you have.