5151 fail-fast : false
5252 with :
5353 runner : linux.2xlarge
54- docker-image : ci-image:executorch-ubuntu-22.04-gcc9
54+ docker-image : ci-image:executorch-ubuntu-22.04-gcc11
5555 submodules : ' recursive'
5656 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
5757 timeout : 90
@@ -391,7 +391,7 @@ jobs:
391391 fail-fast : false
392392 with :
393393 runner : linux.2xlarge
394- docker-image : ci-image:executorch-ubuntu-22.04-gcc9
394+ docker-image : ci-image:executorch-ubuntu-22.04-gcc9-nopytorch
395395 submodules : ' recursive'
396396 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
397397 timeout : 90
@@ -400,15 +400,16 @@ jobs:
400400 CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
401401 conda activate "${CONDA_ENV}"
402402
403- ./install_requirements.sh --use-pt-pinned-commit
403+ ./install_requirements.sh
404404 # build module for executorch.extension.pybindings.portable_lib
405405 bash test/build_size_test.sh
406406 strip cmake-out/test/size_test
407407 output=$(ls -la cmake-out/test/size_test)
408408 arr=($output)
409409 size=${arr[4]}
410- # threshold=48120 on devserver with gcc11.4
410+ # threshold=48120 on devserver with gcc9
411411 # todo(lfq): update once binary size is below 50kb.
412+ # Note: using gcc9-nopytorch container with pinned nightly PyTorch
412413 threshold="63776"
413414 if [[ "$size" -le "$threshold" ]]; then
414415 echo "Success $size <= $threshold"
@@ -793,7 +794,7 @@ jobs:
793794 fail-fast : false
794795 with :
795796 runner : linux.2xlarge
796- docker-image : ci-image:executorch-ubuntu-22.04-gcc9
797+ docker-image : ci-image:executorch-ubuntu-22.04-gcc11
797798 submodules : ' recursive'
798799 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
799800 timeout : 90
0 commit comments