onnxruntime/tools/ci_build/github/linux/docker/scripts
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
..
manylinux Add post-install command to build PyTorch CPP extensions from within onnxruntime package (#8027) 2021-06-28 18:11:58 -07:00
training Add post-install command to build PyTorch CPP extensions from within onnxruntime package (#8027) 2021-06-28 18:11:58 -07:00
install_deps_android.sh Update manylinux build scripts and GPU CUDA version from 11.0 to 11.1 (#7632) 2021-06-02 23:36:49 -07:00
install_ninja.sh Liqun/training pkg to run tests (#7662) 2021-05-16 09:10:57 -07:00
install_openmpi.sh Synchronize training dependency versions between Docker image and Python wheel. (#5261) 2020-09-23 19:03:42 -07:00
install_os_deps.sh Add graphviz into Dockerfile images for Python API documentation (#7819) 2021-06-02 16:12:54 -07:00
install_protobuf.sh Update protobuf to 3.16 (#7616) 2021-05-07 14:09:23 -07:00
install_python_deps.sh make pipelines to support torch1.8.1 and torch1.9.0 (#8084) 2021-06-25 14:55:49 -07:00
install_server_deps.sh Update protobuf to 3.16 (#7616) 2021-05-07 14:09:23 -07:00
install_ubuntu.sh Delete some unused code in run_dockerbuild.sh and Enable Nuget CUDA tests (#8089) 2021-06-22 18:43:33 -07:00
requirements.txt Adding optional ops in contrib ops (#7946) 2021-06-24 13:16:31 -07:00