Run script over ssh using torchrun

I tried to make the run/debug configuration so that it would execute

/home/user/miniconda3/bin/torchrun myscript.py

where torchrun is located on the server (I can connect it via ssh). I can't set "torchrun" as a new interpreter on ssh and shell script works only for the local machine. So I have no idea how to run my script over ssh using torchrun.

请先登录再写评论。