|
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
src_dir="$(realpath $(dirname $0)/..)"
|
|
|
|
cd "$src_dir"
|
|
|
|
# Ensure PYTHONPATH is set for export to child processes, even if empty.
|
|
export PYTHONPATH=${PYTHONPATH-}
|
|
source .env
|
|
|
|
python -m frontends.pytorch.e2e_testing.torchscript.main "$@"
|