From f44ae0718f2868b367ee609410a6cecaad36e9b8 Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Tue, 22 Oct 2024 11:15:49 +0400 Subject: [PATCH] [GHA] Fixed stable diffusion CI (#1040) See https://github.com/openvinotoolkit/openvino.genai/actions/runs/11452059530/job/31862295374 --- .github/workflows/lcm_dreamshaper_cpp.yml | 2 +- .github/workflows/stable_diffusion_1_5_cpp.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lcm_dreamshaper_cpp.yml b/.github/workflows/lcm_dreamshaper_cpp.yml index f22722c19e..8d0af7a032 100644 --- a/.github/workflows/lcm_dreamshaper_cpp.yml +++ b/.github/workflows/lcm_dreamshaper_cpp.yml @@ -136,9 +136,9 @@ jobs: run: | . "./openvino_lcm_cpp/Scripts/Activate.ps1" . "${{ env.OV_INSTALL_DIR }}/setupvars.ps1" + $env:Path += "${{ env.build_dir }}\openvino_genai" python .\samples\python\text2image\main.py .\models\lcm_dreamshaper_v7\FP16 "cyberpunk cityscape like Tokyo New York with tall buildings at dusk golden hour cinematic lighting" env: - PATH: ${{ env.build_dir }}\openvino_genai PYTHONPATH: ${{ env.build_dir }} Overall_Status: diff --git a/.github/workflows/stable_diffusion_1_5_cpp.yml b/.github/workflows/stable_diffusion_1_5_cpp.yml index 40cda2cc19..3f42f67a76 100644 --- a/.github/workflows/stable_diffusion_1_5_cpp.yml +++ b/.github/workflows/stable_diffusion_1_5_cpp.yml @@ -160,18 +160,18 @@ jobs: run: | . "./openvino_sd_cpp/Scripts/Activate.ps1" . "${{ env.OV_INSTALL_DIR }}/setupvars.ps1" + $env:Path += "${{ env.build_dir }}\openvino_genai" python .\samples\python\text2image\main.py .\models\dreamlike-art-dreamlike-anime-1.0\FP16 "cyberpunk cityscape like Tokyo New York with tall buildings at dusk golden hour cinematic lighting" env: - PATH: ${{ env.build_dir }}\openvino_genai PYTHONPATH: ${{ env.build_dir }} - name: Run Python LoRA app run: | . "./openvino_sd_cpp/Scripts/Activate.ps1" . "${{ env.OV_INSTALL_DIR }}/setupvars.ps1" + $env:Path += "${{ env.build_dir }}\openvino_genai" python .\samples\python\text2image\lora.py .\models\dreamlike-art-dreamlike-anime-1.0\FP16 "curly-haired unicorn in the forest, anime, line" .\models\soulcard.safetensors 0.7 env: - PATH: ${{ env.build_dir }}\openvino_genai PYTHONPATH: ${{ env.build_dir }} Overall_Status: