diff --git a/.github/workflows/causal_lm_cpp.yml b/.github/workflows/causal_lm_cpp.yml index 6ceb2f162..bae20634f 100644 --- a/.github/workflows/causal_lm_cpp.yml +++ b/.github/workflows/causal_lm_cpp.yml @@ -203,7 +203,7 @@ jobs: echo "Multi prompt" passed cpp-greedy_causal_lm-windows: - runs-on: windows-2019-16-core + runs-on: windows-latest env: PYTHONIOENCODING: "utf8" defaults: @@ -216,10 +216,6 @@ jobs: - uses: actions/setup-python@v4 with: python-version: 3.9 - - name: Configure Developer Command Prompt for Microsoft Visual C++ - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 - with: - toolset: 14.29 - run: curl --output ov.zip ${{ env.w_ov_link }} - run: unzip -d ov ov.zip - run: dirs=(ov/*) && mv ov/*/* ov && rmdir "${dirs[@]}" @@ -760,7 +756,7 @@ jobs: timeout 200s ./build/samples/cpp/continuous_batching_benchmark/continuous_batching_benchmark -n 10 --dynamic_split_fuse --max_batch_size 256 --max_input_len 256 -m ./TinyLlama-1.1B-Chat-v1.0/ --dataset ./ShareGPT_V3_unfiltered_cleaned_split.json --cache_size 1 cpp-continuous-batching-windows: - runs-on: windows-2019-16-core + runs-on: windows-latest env: PYTHONIOENCODING: "utf8" defaults: @@ -773,10 +769,6 @@ jobs: - uses: actions/setup-python@v4 with: python-version: 3.9 - - name: Configure Developer Command Prompt for Microsoft Visual C++ - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 - with: - toolset: 14.29 - name: Install OpenVINO run: | curl --output ov.zip ${{ env.w_ov_link }} diff --git a/.github/workflows/lcm_dreamshaper_cpp.yml b/.github/workflows/lcm_dreamshaper_cpp.yml index a5c057a0a..8fab023bd 100644 --- a/.github/workflows/lcm_dreamshaper_cpp.yml +++ b/.github/workflows/lcm_dreamshaper_cpp.yml @@ -70,7 +70,7 @@ jobs: ./build/samples/cpp/text2image/stable_diffusion ./models/lcm_dreamshaper_v7/FP16 "cyberpunk cityscape like Tokyo New York with tall buildings at dusk golden hour cinematic lighting" lcm_dreamshaper_v7_cpp-windows: - runs-on: windows-2019-16-core + runs-on: windows-latest defaults: run: shell: pwsh @@ -88,11 +88,6 @@ jobs: mv ./tmp/*/* . popd - - name: Configure Developer Command Prompt for Microsoft Visual C++ - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 - with: - toolset: 14.29 - - name: Build app run: | . "${{ env.OV_INSTALL_DIR }}/setupvars.ps1" diff --git a/.github/workflows/stable_diffusion_1_5_cpp.yml b/.github/workflows/stable_diffusion_1_5_cpp.yml index ae6b7ce57..6840321d9 100644 --- a/.github/workflows/stable_diffusion_1_5_cpp.yml +++ b/.github/workflows/stable_diffusion_1_5_cpp.yml @@ -76,7 +76,7 @@ jobs: ./build/samples/cpp/text2image/lora_stable_diffusion ./models/dreamlike-art-dreamlike-anime-1.0/FP16 "curly-haired unicorn in the forest, anime, line" ./models/soulcard.safetensors 0.7 stable_diffusion_1_5_cpp-windows: - runs-on: windows-2019-16-core + runs-on: windows-latest defaults: run: shell: pwsh @@ -94,11 +94,6 @@ jobs: mv ./tmp/*/* . popd - - name: Configure Developer Command Prompt for Microsoft Visual C++ - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 - with: - toolset: 14.29 - - name: Build app run: | . "${{ env.OV_INSTALL_DIR }}/setupvars.ps1" diff --git a/src/cpp/CMakeLists.txt b/src/cpp/CMakeLists.txt index 20b547052..435a122d5 100644 --- a/src/cpp/CMakeLists.txt +++ b/src/cpp/CMakeLists.txt @@ -15,8 +15,8 @@ endif() function(ov_genai_build_jinja2cpp) FetchContent_Declare(jinja2cpp - URL https://github.com/jinja2cpp/Jinja2Cpp/archive/b32fbde7d98d13c34784c332c4a24a6f92c76e38.tar.gz - URL_HASH SHA256=7cc25ddbc438a5c874d404e100b4eccd8a331c195417f5487c48aebcf4b9e7fb) + URL https://github.com/ilya-lavrenov/Jinja2Cpp/archive/04073b62ec950eab6cdcb2c563c1c9bb7698f1ea.tar.gz + URL_HASH SHA256=9f2a346eec91a6a381fe8fd631e9c952fe7087882bbca7f0e4e42e75e680fc1b) FetchContent_GetProperties(jinja2cpp) if(NOT jinja2cpp_POPULATED)