diff --git a/spack.yaml b/spack.yaml
index 09b4a798443c388be6b50f823e9562c867637569..47a402fde30a0adb30abafb2f02416bb16fc3df1 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -39,10 +39,11 @@ spack:
     - pythia8@8.306 +fastjet
     - python@3.10.8
     - py-boto3@1.18.12
-    - py-minkowskiengine@0.5.4 cflags="-Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict" cxxflags="-Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict" # https://github.com/pytorch/FBGEMM/issues/1094
+    - py-minkowskiengine@0.5.4
     - py-numpy@1.23.4
     - py-pip@22.2.2
     - py-toml@0.10.2
+    - py-torch@1.13.1 cflags="-Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict" cxxflags="-Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=restrict" # https://github.com/pytorch/FBGEMM/issues/1094
     - qt@5.15.5 +opengl
     - root@6.26.06 cxxstd=17 
           +fftw +fortran +gdml +http -ipo +mlp +pythia8