Skip to content

Commit 417c22b

Browse files
authored
Merge eb6552d into 9385d00
2 parents 9385d00 + eb6552d commit 417c22b

39 files changed

+3182
-1327
lines changed

.github/workflows/development.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,11 @@ jobs:
263263
with:
264264
fetch-depth: 0
265265

266+
- name: Set up Node.js 22
267+
uses: actions/setup-node@v4
268+
with:
269+
node-version: '22'
270+
266271
- name: Check if UI-related files changed
267272
id: check-changes
268273
run: |

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ src/guidellm/version.py
66
benchmarks.json
77
benchmarks.yaml
88
benchmarks.csv
9+
benchmarks.html
910

1011
# Byte-compiled / optimized / DLL files
1112
__pycache__/
@@ -227,4 +228,5 @@ src/ui/next-env.d.ts
227228
!tsconfig.*.json
228229
!src/ui/lib
229230
!src/ui/public/manifest.json
231+
!src/ui/serve.json
230232
.eslintcache

DEVELOPING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,16 @@ Reference [https://www.npmjs.com/package/jest-runner-groups](jest-runner-groups)
267267
*/
268268
```
269269

270+
### 🧪 UI Development Notes
271+
272+
During development, it can be helpful to view sample data. We include a sample benchmark run wired into the Redux store under:
273+
274+
```
275+
src/ui/lib/store/[runInfo/workloadDetails/benchmarks]WindowData.ts
276+
```
277+
278+
In the future this will be replaced by a configurable untracked file for dev use.
279+
270280
## Additional Resources
271281

272282
- [CONTRIBUTING.md](https://github.com/neuralmagic/guidellm/blob/main/CONTRIBUTING.md): Guidelines for contributing to the project.

README.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -157,17 +157,19 @@ The `guidellm benchmark` command is used to run benchmarks against a generative
157157

158158
GuideLLM UI is a companion frontend for visualizing the results of a GuideLLM benchmark run.
159159

160-
### 🛠 Running the UI
160+
### 🛠 Generating an HTML report with a benchmark run
161161

162-
1. Use the Hosted Build (Recommended for Most Users)
163-
164-
After running a benchmark with GuideLLM, a report.html file will be generated (by default at guidellm_report/report.html). This file references the latest stable version of the UI hosted at:
162+
Set the output to benchmarks.html for your run:
165163

164+
```base
165+
--output-path=benchmarks.html
166166
```
167-
https://neuralmagic.github.io/guidellm/ui/dev/
168-
```
169167

170-
Open the file in your browser and you're done—no setup required.
168+
1. Use the Hosted Build (Recommended for Most Users)
169+
170+
This is preconfigured. The latest stable version of the hosted UI (https://neuralmagic.github.io/guidellm/ui/latest) will be used to build the local html file.
171+
172+
Open benchmarks.html in your browser and you're done—no setup required.
171173

172174
2. Build and Serve the UI Locally (For Development) This option is useful if:
173175

@@ -180,20 +182,16 @@ Open the file in your browser and you're done—no setup required.
180182
```bash
181183
npm install
182184
npm run build
183-
npx serve out
185+
npm run serve
184186
```
185187

186-
This will start a local server (e.g., at http://localhost:3000). Then, in your GuideLLM config or CLI flags, point to this local server as the asset base for report generation.
187-
188-
### 🧪 Development Notes
188+
This will start a local server (e.g., at http://localhost:3000). Then set the Environment to LOCAL before running your benchmarks.
189189

190-
During UI development, it can be helpful to view sample data. We include a sample benchmark run wired into the Redux store under:
190+
```bash
191+
export GUIDELLM__ENV=local
191192

193+
Alternatively, in config.py update the ENV_REPORT_MAPPING used as the asset base for report generation to the LOCAL option.
192194
```
193-
src/lib/store/[runInfo/workloadDetails/benchmarks]WindowData.ts
194-
```
195-
196-
In the future this will be replaced by a configurable untracked file for dev use.
197195

198196
## Resources
199197

0 commit comments

Comments
 (0)