Skip to content

Commit a8b8b6e

Browse files
authoredMar 20, 2025··
v0.7.4 (#8)
- Agent Welcome Message and Other Improvements - Add color to logger messages - CLI Fix Stats and Improve OGA Setup - CLI Download Transcript - Update Installer Documentation - GAIA CLI ASR - ASR Improvements - Use lemonade-install to install OGA AMD deps - Use the public hybrid install - Improve CLI - Installer and Github Workflows Updates - Update Driver Check - DeepSeek R1 Support via Ollama - Documentation Updates - Kokoro TTS - GAIA Version - Fix Tests
·
v0.9.0v0.7.4
1 parent 38a80cb commit a8b8b6e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+3616
-1037
lines changed
 

‎.github/actions/ui-testing/action.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright(C) 2024 Advanced Micro Devices, Inc. All rights reserved.
1+
# Copyright(C) 2024-2025 Advanced Micro Devices, Inc. All rights reserved.
22
# SPDX-License-Identifier: MIT
33

44
name: "Test GAIA UI"
@@ -133,11 +133,27 @@ runs:
133133
Stop-Job -Job $errorLogJob
134134
Remove-Job -Job $logJob
135135
Remove-Job -Job $errorLogJob
136-
Stop-Process -Id $gaiaProcess.Id
136+
taskkill /F /T /PID $gaiaProcess.Id
137137
Write-Host "GAIA process has been stopped."
138138
139139
# Show final logs
140140
Write-Host "=== Final GAIA Logs ==="
141-
if(Test-Path $logPath) { Get-Content $logPath }
141+
if(Test-Path $logPath) {
142+
Get-Content $logPath
143+
if (Select-String -Path $logPath -Pattern "ERROR" -CaseSensitive -Quiet) {
144+
Write-Error "Found ERROR messages in GAIA logs"
145+
$errorLines = Select-String -Path $logPath -Pattern "ERROR" -CaseSensitive
146+
Write-Error "Error lines found:`n$($errorLines | ForEach-Object { $_.Line })"
147+
exit 1
148+
}
149+
}
142150
Write-Host "=== Final GAIA Error Logs ==="
143-
if(Test-Path $errorLogPath) { Get-Content $errorLogPath }
151+
if(Test-Path $errorLogPath) {
152+
Get-Content $errorLogPath
153+
if (Select-String -Path $errorLogPath -Pattern "error|Error:|ERROR:|CRITICAL:" -CaseSensitive -Quiet) {
154+
Write-Error "Found errors in GAIA error logs"
155+
$errorLines = Select-String -Path $errorLogPath -Pattern "Error:|ERROR:|CRITICAL:" -CaseSensitive
156+
Write-Error "Error log content:`n$($errorLines | ForEach-Object { $_.Line })"
157+
exit 1
158+
}
159+
}

‎.github/workflows/test_gaia_cli.yml

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright(C) 2024 Advanced Micro Devices, Inc. All rights reserved.
1+
# Copyright(C) 2024-2025 Advanced Micro Devices, Inc. All rights reserved.
22
# SPDX-License-Identifier: MIT
33

44
# This workflow will install Python dependencies, run tests and lint with a single version of Python
@@ -51,7 +51,7 @@ jobs:
5151
5252
Write-Host "Step 2: Install dependencies"
5353
python -m pip install --upgrade pip
54-
pip install -e .[dml,dev,clip]
54+
pip install -e .[dml,dev,clip,talk]
5555
5656
Write-Host "Step 3: Verify installation"
5757
$gaiaPath = Get-Command gaia -ErrorAction SilentlyContinue
@@ -108,12 +108,12 @@ jobs:
108108
id: setup-ffmpeg
109109

110110
- name: Test GAIA
111-
timeout-minutes: 10
111+
timeout-minutes: 20
112112
env:
113113
HUGGINGFACE_ACCESS_TOKEN: ${{ secrets.HUGGINGFACE_ACCESS_TOKEN }}
114114
HF_TOKEN: ${{ secrets.HUGGINGFACE_ACCESS_TOKEN }}
115115
run: |
116-
Write-Host "Step 1: Activate and verify Conda environment"
116+
Write-Host "Activate and verify Conda environment"
117117
$env:Path = "$env:GITHUB_WORKSPACE\Miniconda3;$env:GITHUB_WORKSPACE\Miniconda3\Scripts;$env:Path"
118118
& "$env:GITHUB_WORKSPACE\Miniconda3\shell\condabin\conda-hook.ps1"
119119
conda activate gaiaenv
@@ -130,6 +130,26 @@ jobs:
130130
}
131131
Write-Host "Found gaia at: $($gaiaPath.Source)"
132132
133-
Write-Host "Step 2: Install and run GAIA tests"
134-
python tests/test_gaia.py
135-
python tests/test_asr.py
133+
Write-Host "Running test_gaia.py"
134+
python tests\test_gaia.py 2>&1 | Out-String -Stream
135+
if ($LASTEXITCODE -ne 0) {
136+
throw "test_gaia.py failed with exit code $LASTEXITCODE"
137+
}
138+
139+
Write-Host "Running test_llama_index.py"
140+
python tests\test_llama_index.py 2>&1 | Out-String -Stream
141+
if ($LASTEXITCODE -ne 0) {
142+
throw "test_llama_index.py failed with exit code $LASTEXITCODE"
143+
}
144+
145+
Write-Host "Running test_asr.py"
146+
python tests\test_asr.py 2>&1 | Out-String -Stream
147+
if ($LASTEXITCODE -ne 0) {
148+
throw "test_asr.py failed with exit code $LASTEXITCODE"
149+
}
150+
151+
Write-Host "Running test_tts.py"
152+
python tests\test_tts.py 2>&1 | Out-String -Stream
153+
if ($LASTEXITCODE -ne 0) {
154+
throw "test_tts.py failed with exit code $LASTEXITCODE"
155+
}

0 commit comments

Comments
 (0)
Please sign in to comment.