diff multimodal_learner.xml @ 4:de753cf07008 draft default tip

planemo upload for repository https://github.com/goeckslab/gleam.git commit 528178a2b2ca39924fd596859fe658aeaf984e6d
author goeckslab
date Thu, 22 Jan 2026 22:41:21 +0000
parents 25bb80df7c0c
children
line wrap: on
line diff
--- a/multimodal_learner.xml	Sat Jan 17 22:53:42 2026 +0000
+++ b/multimodal_learner.xml	Thu Jan 22 22:41:21 2026 +0000
@@ -43,6 +43,14 @@
 ln -sf '$test_dataset_conditional.input_test' 'test_input.csv';
 #end if
 
+#set $TORCH_HOME = "./torch_cache"
+#set $HF_HOME = "./hf_cache"
+#set $HUGGINGFACE_HUB_CACHE = "./hf_cache/hub"
+export TORCH_HOME="$TORCH_HOME" &&
+export HF_HOME="$HF_HOME" &&
+export HUGGINGFACE_HUB_CACHE="$HUGGINGFACE_HUB_CACHE" &&
+mkdir -p "$TORCH_HOME" "$HUGGINGFACE_HUB_CACHE" &&
+
   python '$__tool_directory__/multimodal_learner.py'
   --input_csv_train 'train_input.csv'
   #if $test_dataset_conditional.has_test_dataset == "yes"