mirror of https://github.com/llvm/torch-mlir
Bring back tools/torchscript_e2e_test.sh
Accidentally deleted it in the last commit.pull/326/head
parent
81a9cf7800
commit
e291aa688f
|
@ -0,0 +1,12 @@
|
|||
#!/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 e2e_testing.torchscript.main "$@"
|
Loading…
Reference in New Issue