diff --git a/spack-environment/dev/spack.yaml b/spack-environment/dev/spack.yaml
index ec68fa681dbd63cab903f2209492d21430c82568..a925435e2e2ec62a73ebcf691b06a9d85c750849 100644
--- a/spack-environment/dev/spack.yaml
+++ b/spack-environment/dev/spack.yaml
@@ -69,6 +69,7 @@ spack:
     - py-scipy@1.9.3
     - py-seaborn@0.12.0
     - 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
     - py-uproot@4.3.5
     - py-yapf@0.30.0
     - qt@5.15.5 +opengl