You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing shaders using mx.fast.metal_kernal in Jupyter. When I change the shader code it doesn't update without first quitting the Jupyter Kernel (not to be confused with the Metal Kernel!). The Metal Kernel must be cached (or similar) somewhere.
Does anyone know how to delete the old Metal Kernel and replace it with the new one in Jupyter?
Run above and it will produce an array of all 1's - as expected. But, uncomment out[elem] = input[elem] and run again without quitting the Jupyter Kernel and you get the same result!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm writing shaders using mx.fast.metal_kernal in Jupyter. When I change the shader code it doesn't update without first quitting the Jupyter Kernel (not to be confused with the Metal Kernel!). The Metal Kernel must be cached (or similar) somewhere.
Does anyone know how to delete the old Metal Kernel and replace it with the new one in Jupyter?
EG
Run above and it will produce an array of all 1's - as expected. But, uncomment
out[elem] = input[elem]
and run again without quitting the Jupyter Kernel and you get the same result!Beta Was this translation helpful? Give feedback.
All reactions