Skip to content

Commit dce0fd4

Browse files
committed
debug shit
1 parent f53425d commit dce0fd4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/tests_pytorch/run_standalone_tasks.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,9 @@ MASTER_ADDR="localhost" MASTER_PORT=1234 LOCAL_RANK=0 python examples/convert_fr
4242

4343
# test that ddp can launched as a module (-m option)
4444
echo "Running ddp example as module"
45-
export PYTHONPATH="${PYTHONPATH}:$(python -c "import pytorch_lightning; print(pytorch_lightning.__file__)")"
45+
export PYTHONPATH="${PYTHONPATH}:$(python -c "import pytorch_lightning; print(pytorch_lightning.examples.convert_from_pt_to_pl.image_classifier_5_lightning_datamodule.__file__)")"
46+
export PYTHONPATH="${PYTHONPATH}:$(pwd)/examples"
47+
export PYTHONPATH="${PYTHONPATH}:$(pwd)/examples/convert_from_pt_to_pl"
48+
49+
echo $PYTHONPATH
4650
python -m examples.convert_from_pt_to_pl.image_classifier_5_lightning_datamodule ${args}

0 commit comments

Comments
 (0)