code: def test_distributed_run_py_torch_script(setup_cluster):
      sess = setup_cluster
      path = os.path.join(
          os.path.dirname(os.path.abspath(__file__)),
          "pytorch_sample.py",
      )
      assert (
          run_pytorch_script(
              path,
              n_workers=2,
              command_argv=["multiple"],
              port=9945,
              session=sess,
          ).fetch()["status"]
          == "ok"
      )
  
imports: import os
  import pytest
  from .....utils import lazy_import
  from ..None import run_pytorch_script
label_desc: Use image node_id 1 for calling a global function with example usage: test_distributed_run_py_torch_script(setup_cluster) without return types