From dff25eb5f014500547bd98238cc128ab2c0560aa 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 723e8058003..40be0a529e9 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 }}