Increase timeout for hub tests (#20764)

This commit is contained in:
Maxim Vafin 2023-10-30 15:27:00 +01:00 committed by GitHub
parent 061d6b5b62
commit bc9b52ef7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1203,7 +1203,7 @@ jobs:
run:
shell: bash
runs-on: ${{ github.event_name == 'schedule' && 'ubuntu-20.04-16-cores' || 'ubuntu-20.04-8-cores'}}
timeout-minutes: ${{ github.event_name == 'schedule' && 300 || 5 }}
timeout-minutes: ${{ github.event_name == 'schedule' && 400 || 5 }}
# TODO: Switch back to self-hosted runners
# container:
# image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
@ -1280,7 +1280,7 @@ jobs:
PyTorch_Models_Tests:
name: PyTorch Models tests
needs: Build
timeout-minutes: ${{ github.event_name == 'schedule' && 300 || 30 }}
timeout-minutes: ${{ github.event_name == 'schedule' && 400 || 30 }}
defaults:
run:
shell: bash

View File

@ -53,7 +53,7 @@ class TestTransformersModel(TestConvertModel):
from PIL import Image
import requests
self.infer_timeout = 1200
self.infer_timeout = 800
url = "http://images.cocodataset.org/val2017/000000039769.jpg"
self.image = Image.open(requests.get(url, stream=True).raw)