Jupyter kernal crash in vscode while using tensorflow GPU

I am tryping to train a deeplearning model and when i start the training process the kernal crashes

note that tensorflow is able to detect nvidia GPU

GTX 1650 4gb ram
16gb ram
ryzen 5 4600h

environmrnt config:
conda environment with python 3.9.19 and tensorflow 2.10.1


i tried the solution given here: Kernel crashes when using tensorflow · microsoft/vscode-jupyter Wiki · GitHub