nickeleres
03/27/2024, 3:17 PMtensorflow-metal
and tensorflow
to play nice, even using aarm64 Docker image.Yeray Pabon
03/28/2024, 1:35 PMimport os
os.environ['PYTORCH_ENABLE_MPS_FALLBACK'] = '1'
at the beginning of your script.Dimitris Floros
03/28/2024, 6:47 PM%env PYTORCH_ENABLE_MPS_FALLBACK=1
It looks like some functions still run on GPU and only fallback to CPU when they are not available with MPSnickeleres
03/28/2024, 9:33 PMDimitris Floros
03/29/2024, 12:00 AMnickeleres
03/29/2024, 12:12 AMDimitris Floros
03/29/2024, 12:14 AM[pip.deps]
juliapkg = ""
ipywidgets = ""
ipykernel = ""
neuralforecast = ""
mlforecast = ""
juliacall = ""
[deps]
scikit-learn = ""
pytorch = ""
pandas = ""
matplotlib = ""
statsmodels = ""
seaborn = ""
numpy = ""
You can probably skip the julia-related packages.Dimitris Floros
03/29/2024, 12:14 AMnickeleres
03/29/2024, 12:37 AMgpus=1
in your NF model definition and it automatically picks up the GPU with PYTORCH_ENABLE_MPS_FALLBACK=1
?Dimitris Floros
03/29/2024, 12:38 AMgpus
at all.nickeleres
03/29/2024, 12:46 AMDimitris Floros
03/29/2024, 12:47 AMDimitris Floros
03/29/2024, 12:48 AMnickeleres
03/29/2024, 12:51 AM