diff --git a/finetuning/specialists/resource-efficient/run_resource_efficient_finetuning.py b/finetuning/specialists/resource-efficient/run_resource_efficient_finetuning.py index d7c0a79ac..8bd30f04d 100644 --- a/finetuning/specialists/resource-efficient/run_resource_efficient_finetuning.py +++ b/finetuning/specialists/resource-efficient/run_resource_efficient_finetuning.py @@ -23,7 +23,7 @@ def base_slurm_script(env_name, partition, cpu_mem, cpu_cores, gpu_name=None): if partition.startswith("grete"): base_script += "#SBATCH -A gzz0001 \n" - base_script += "\n" + f"source activate {env_name}" + "\n" + base_script += "\n" + "source ~/.bashrc" + "\n" + f"mamba activate {env_name}" + "\n" return base_script