From 3c72d4be6726ba868bb032a0ba84b778265d422b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Eric=20M=C3=BCller?= <mueller@kip.uni-heidelberg.de>
Date: Tue, 24 May 2022 10:30:33 +0200
Subject: [PATCH] Fix py-torch: Enable tensorpipe
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Importing torch yields an ImportError caused by some mismatch between
build options (distributed is enabled, but tensorpipe is not →
this seems unsupported → enable tensorpipe).

Related to: https://support.humanbrainproject.eu/#ticket/zoom/14319
---
 spack.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spack.yaml b/spack.yaml
index 0bd507e2..2c92e597 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -43,7 +43,7 @@ spack:
     - py-hippounit@1.3.6
     - py-efel@4.0.4
     - py-hbp-neuromorphic-platform@0.10.1
-    - py-torch~cuda~rocm~valgrind~mkldnn~mpi~gloo~tensorpipe~onnx_ml@1.9.1 ^protobuf@:3.17.999
+    - py-torch~cuda~rocm~valgrind~mkldnn~mpi~gloo+tensorpipe~onnx_ml@1.9.1 ^protobuf@:3.17.999
     - py-lfpy@2.2.6
     #- biobb-common
     # demo for codejam12
-- 
GitLab