Fix py-torch build
There are currently no pipelines.
To run a merge request pipeline, the jobs in the CI/CD configuration file must be configured to run in merge request pipelines and you must have sufficient permissions in the source project.
PyTorch 1.9.1 (fixed in versions >= 1.10.0) depends on an older onnx version that utilizes a deprecated function from Google's protobuf library that was removed in version 3.18.0 (see https://github.com/protocolbuffers/protobuf/pull/8794/).
Workaround by specifying an explicit version range for this dependency.
To run a merge request pipeline, the jobs in the CI/CD configuration file must be configured to run in merge request pipelines and you must have sufficient permissions in the source project.