From cc400c9fa5d067e4facd1951f8b0a64929473b9b Mon Sep 17 00:00:00 2001 From: Eugene Brodsky Date: Mon, 26 Jun 2023 12:54:48 -0400 Subject: [PATCH] (ci) temporarily comment out end-to-end tests --- .github/workflows/test-invoke-pip.yml | 68 +++++++++++++-------------- 1 file changed, 33 insertions(+), 35 deletions(-) diff --git a/.github/workflows/test-invoke-pip.yml b/.github/workflows/test-invoke-pip.yml index 723e805800..40be0a529e 100644 --- a/.github/workflows/test-invoke-pip.yml +++ b/.github/workflows/test-invoke-pip.yml @@ -86,40 +86,38 @@ jobs: id: run-pytest run: pytest - - name: run invokeai-configure - id: run-preload-models - env: - HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGINGFACE_TOKEN }} - run: > - invokeai-configure - --yes - --default_only - --full-precision - # can't use fp16 weights without a GPU + # - name: run invokeai-configure + # env: + # HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGINGFACE_TOKEN }} + # run: > + # invokeai-configure + # --yes + # --default_only + # --full-precision + # # can't use fp16 weights without a GPU - - name: run invokeai - id: run-invokeai - env: - # Set offline mode to make sure configure preloaded successfully. - HF_HUB_OFFLINE: 1 - HF_DATASETS_OFFLINE: 1 - TRANSFORMERS_OFFLINE: 1 - INVOKEAI_OUTDIR: ${{ github.workspace }}/results - run: > - invokeai - --no-patchmatch - --no-nsfw_checker - --precision=float32 - --always_use_cpu - --use_memory_db - --outdir ${{ env.INVOKEAI_OUTDIR }}/${{ matrix.python-version }}/${{ matrix.pytorch }} - --from_file ${{ env.TEST_PROMPTS }} + # - name: run invokeai + # id: run-invokeai + # env: + # # Set offline mode to make sure configure preloaded successfully. + # HF_HUB_OFFLINE: 1 + # HF_DATASETS_OFFLINE: 1 + # TRANSFORMERS_OFFLINE: 1 + # INVOKEAI_OUTDIR: ${{ github.workspace }}/results + # run: > + # invokeai + # --no-patchmatch + # --no-nsfw_checker + # --precision=float32 + # --always_use_cpu + # --use_memory_db + # --outdir ${{ env.INVOKEAI_OUTDIR }}/${{ matrix.python-version }}/${{ matrix.pytorch }} + # --from_file ${{ env.TEST_PROMPTS }} - - name: Archive results - id: archive-results - env: - INVOKEAI_OUTDIR: ${{ github.workspace }}/results - uses: actions/upload-artifact@v3 - with: - name: results - path: ${{ env.INVOKEAI_OUTDIR }} + # - name: Archive results + # env: + # INVOKEAI_OUTDIR: ${{ github.workspace }}/results + # uses: actions/upload-artifact@v3 + # with: + # name: results + # path: ${{ env.INVOKEAI_OUTDIR }}