Skip to content

Commit

Permalink
Merge pull request #118 from amd/pr-117
Browse files Browse the repository at this point in the history
Updates to merge latest changes for the RyzenAI-SW from the development branch (PR-117)
  • Loading branch information
cyndwith authored Aug 28, 2024
2 parents b4c2411 + a059a19 commit c8c889b
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:
pull_request:
branches: [ "main" ]
types: [opened, synchronize, reopened, ready_for_review]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
test-initial:
runs-on: Ubuntu-22.04
steps:
- name: Initial testing
run: |
echo This is testing
echo This is testing
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.swp
__pycache__
*node_modules*
*.yml
4 changes: 4 additions & 0 deletions example/transformers/models/llm_onnx/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ Use "prepare_model.py" script to export, optimize and quantize the LLMs. You can

Check script usage

```powershell
cd %TRANSFORMERS_ROOT%\models\llm_onnx
python prepare_model.py --help
```python prepare_model.py --help```
#### Export, Optimize and quantize the model
Expand Down
17 changes: 17 additions & 0 deletions onnx-benchmark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,23 @@ https://github.com/onnx/onnx/issues/6267
pip install onnx==1.16.1
```

In case of PHOENIX device:
```
conda env config vars set XCLBINHOME="C:\Program Files\RyzenAI\1.2.0\voe-4.0-win_amd64\xclbins\phoenix"
conda env config vars set XLNX_VART_FIRMWARE="C:\Program Files\RyzenAI\1.2.0\voe-4.0-win_amd64\xclbins\phoenix\1x4.xclbin"
conda env config vars set XLNX_TARGET_NAME=AMD_AIE2_Nx4_Overlay
conda env config vars set VAIP_CONFIG_HOME="C:\Program Files\RyzenAI\1.2.0\voe-4.0-win_amd64"
conda deactivate
conda activate ryzen-ai-1.2.0
conda env config vars list
```

Downgrade onnx to 1.16.1 to resolve an issue with the 1.16.2 release
https://github.com/onnx/onnx/issues/6267
```
pip install onnx==1.16.1
```


---

Expand Down

0 comments on commit c8c889b

Please sign in to comment.