mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
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
9 lines
91 B
Text
9 lines
91 B
Text
cerberus
|
|
flatbuffers
|
|
h5py
|
|
numpy >= 1.16.6
|
|
onnx
|
|
packaging
|
|
protobuf
|
|
sympy
|
|
setuptools>=41.4.0
|