onnxruntime/tools/ci_build/github/linux
Thiago Crepaldi 83be3759bc
Add post-install command to build PyTorch CPP extensions from within onnxruntime package (#8027)
ORTModule requires two PyTorch CPP extensions that are currently JIT compiled. The runtime compilation can cause issues in some environments without all build requirements or in environments with multiple instances of ORTModule running in parallel

This PR creates a custom command to compile such extensions that must be manually executed before ORTModule is executed for the first time. When users try to use ORTModule before the extensions are compiled, an error with instructions are raised

PyTorch CPP Extensions for ORTModule can be compiled by running:
python -m onnxruntime.training.ortmodule.torch_cpp_extensions.install

Full build environment is needed for this
2021-06-28 18:11:58 -07:00
..
docker Add post-install command to build PyTorch CPP extensions from within onnxruntime package (#8027) 2021-06-28 18:11:58 -07:00
ort_minimal Validate that the conversion script from the python package can be used to convert models. (#7517) 2021-05-04 16:25:04 +10:00
build_yocto.sh Initiate the build scripts for ARM ACL (#2652) 2019-12-16 09:44:19 -08:00
copy_strip_binary.sh add missing provider_options.h in packages (#7995) 2021-06-08 16:37:05 -07:00
create_package.sh Pull the latest image before running docker build 2019-11-22 13:48:37 -08:00
java_copy_strip_binary.sh fixes for cuda centos/manylinux (#7830) 2021-05-25 19:38:59 -07:00
java_linux_final_test.sh Delete Dockerfile.centos6_gpu (#4851) 2020-08-28 09:56:52 -07:00
run_build.sh Add TRT 7.1 Pipeline (#8073) 2021-06-21 20:57:04 -07:00
run_dockerbuild.sh Update run_dockerbuild.sh: set default python version based on OS version (#8136) 2021-06-23 15:50:03 -07:00
test_custom_ops_pytorch_export.sh Change "Export PyTorch CustomOp" build pipeline to use Ubuntu 20.04 (#8158) 2021-06-28 16:13:55 -07:00
upload_ortsrv_binaries.sh Refactor Onnx runtime Server to only use public APIs (#1271) 2019-07-04 01:08:14 -07:00
yocto_build_toolchain.sh Initiate the build scripts for ARM ACL (#2652) 2019-12-16 09:44:19 -08:00