mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Skip more tests on s390x (#155210)
Make CI for s390x green before fixing and restoring tests. Pull Request resolved: https://github.com/pytorch/pytorch/pull/155210 Approved by: https://github.com/seemethere
This commit is contained in:
committed by
PyTorch MergeBot
parent
402ae09e41
commit
c11888e7a6
@ -120,11 +120,13 @@ RUN python3 -mpip install cmake==3.28.0
|
||||
# so just build it from upstream repository.
|
||||
# h5py is dependency of onnxruntime_training.
|
||||
# h5py==3.11.0 builds with hdf5-devel 1.10.5 from repository.
|
||||
# h5py 3.11.0 doesn't build with numpy >= 2.3.0.
|
||||
# install newest flatbuffers version first:
|
||||
# for some reason old version is getting pulled in otherwise.
|
||||
# packaging package is required for onnxruntime wheel build.
|
||||
RUN pip3 install flatbuffers && \
|
||||
pip3 install h5py==3.11.0 && \
|
||||
pip3 install cython 'pkgconfig>=1.5.5' 'setuptools>=77' 'numpy<2.3.0' && \
|
||||
pip3 install --no-build-isolation h5py==3.11.0 && \
|
||||
pip3 install packaging && \
|
||||
git clone https://github.com/microsoft/onnxruntime && \
|
||||
cd onnxruntime && git checkout v1.21.0 && \
|
||||
|
@ -1137,6 +1137,12 @@ test_custom_backend() {
|
||||
|
||||
test_custom_script_ops() {
|
||||
echo "Testing custom script operators"
|
||||
|
||||
if [[ "$BUILD_ENVIRONMENT" == *s390x* ]]; then
|
||||
echo "Skipping custom script operators until it's fixed"
|
||||
return 0
|
||||
fi
|
||||
|
||||
CUSTOM_OP_BUILD="${CUSTOM_TEST_ARTIFACT_BUILD_DIR}/custom-op-build"
|
||||
pushd test/custom_operator
|
||||
cp -a "$CUSTOM_OP_BUILD" build
|
||||
|
1
.github/workflows/_linux-test.yml
vendored
1
.github/workflows/_linux-test.yml
vendored
@ -386,6 +386,7 @@ jobs:
|
||||
|
||||
- name: Upload the benchmark results
|
||||
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@main
|
||||
if: inputs.build-environment != 'linux-s390x-binary-manywheel'
|
||||
with:
|
||||
benchmark-results-dir: test/test-reports
|
||||
dry-run: false
|
||||
|
@ -241,6 +241,16 @@ S390X_BLOCKLIST = [
|
||||
"test_fx",
|
||||
# some false errors
|
||||
"doctests",
|
||||
# new failures to investigate and fix
|
||||
"cpp_extensions/libtorch_agnostic_extension/test/test_libtorch_agnostic",
|
||||
"test_tensorboard",
|
||||
# onnx + protobuf failure, see
|
||||
# https://github.com/protocolbuffers/protobuf/issues/22104
|
||||
"dynamo/test_backends",
|
||||
"dynamo/test_modules",
|
||||
"inductor/test_config",
|
||||
"test_public_bindings",
|
||||
"test_testing",
|
||||
]
|
||||
|
||||
XPU_BLOCKLIST = [
|
||||
|
Reference in New Issue
Block a user