@@ -199,43 +199,5 @@ jobs:
199199 Get-Process -Name "lemonade-server", "lemonade-router", "llama-server" -ErrorAction SilentlyContinue | Stop-Process -Force -ErrorAction SilentlyContinue
200200 Write-Host "Server stopped." -ForegroundColor Green
201201
202- test-oga-model-prep :
203- # This job requires Ryzen AI hardware with NPU support (e.g., RAI 160 SDK)
204- # It will only run if a self-hosted runner with the 'rai-160-sdk' label is available
205- env :
206- LEMONADE_CI_MODE : " True"
207- runs-on : [stx, Windows]
208- concurrency :
209- group : ${{ github.workflow }}-hybrid-model-prep-${{ github.ref }}
210- cancel-in-progress : true
211- steps :
212- - uses : actions/checkout@v3
213-
214- - name : Set up Python 3.12
215- uses : actions/setup-python@v5
216- with :
217- python-version : " 3.12"
218-
219- - name : Create virtual environment and install dependencies
220- shell : bash
221- run : |
222- python -m venv .venv
223- venvPython=".venv/Scripts/python"
224- venvPip=".venv/Scripts/pip"
225- $venvPython -m pip install --upgrade pip
226- $venvPython -m pip check
227- $venvPip install -e .[oga-ryzenai,model-generate] --extra-index-url=https://pypi.amd.com/simple
228-
229- - name : Test OGA Hybrid Model Prep
230- shell : bash
231- run : |
232- venvPython=".venv/Scripts/python"
233- venvLemonade=".venv/Scripts/lemonade-eval"
234-
235- echo "Testing OGA-Load with Hybrid model generation..."
236- $venvLemonade -i amd/Llama-3.2-1B-Instruct-awq-uint4-asym-g128-bf16-lmhead oga-load --device hybrid --dtype int4
237- echo "Running OGA Hybrid Model Prep API tests..."
238- $venvPython test/oga_hybrid_model_prep_api.py
239-
240202# This file was originally licensed under Apache 2.0. It has been modified.
241203# Modifications Copyright (c) 2025 AMD
0 commit comments