s390x: use qemu issue workaround for runner registration too (#154030)

s390x: use qemu issue workaround for runner registration too.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/154030
Approved by: https://github.com/seemethere
This commit is contained in:
Aleksei Nikiforov 2025-05-21 18:30:25 +00:00 committed by PyTorch MergeBot
parent bb7e30c165
commit d23f4ae7b5

View File

@ -27,6 +27,9 @@ unset ACCESS_TOKEN
# it does one job, stops and unregisters
registration_token=$(jq --raw-output .token "$token_file")
# workaround for https://gitlab.com/qemu-project/qemu/-/issues/2600
export DOTNET_EnableWriteXorExecute=0
./config.sh \
--unattended \
--ephemeral \
@ -44,8 +47,5 @@ rm -f "$token_file"
# and it doesn't work for non-root user
source venv/bin/activate
# workaround for https://gitlab.com/qemu-project/qemu/-/issues/2600
export DOTNET_EnableWriteXorExecute=0
# Run one job.
./run.sh