Skip to content

Commit faed1c3

Browse files
fix layout
1 parent 1bbdd06 commit faed1c3

3 files changed

Lines changed: 28 additions & 26 deletions

File tree

README.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -135,31 +135,6 @@ curl -X POST http://localhost:30081/update_weights_from_disk \
135135
- `GET|POST|PUT|DELETE /{path}`: catch-all proxy forwarding.
136136
- `POST /update_weights_from_disk`: broadcast to all healthy workers.
137137

138-
## Benchmark Scripts
139-
140-
Benchmark scripts are available under `tests/benchmarks/diffusion_router/` and are intended for manual runs.
141-
They are not part of default unit test collection (`pytest tests/unit -v`).
142-
143-
Single benchmark:
144-
145-
```bash
146-
python tests/benchmarks/diffusion_router/bench_router.py \
147-
--model Qwen/Qwen-Image \
148-
--num-workers 2 \
149-
--num-prompts 20 \
150-
--max-concurrency 4
151-
```
152-
153-
Algorithm comparison:
154-
155-
```bash
156-
python tests/benchmarks/diffusion_router/bench_routing_algorithms.py \
157-
--model Qwen/Qwen-Image \
158-
--num-workers 2 \
159-
--num-prompts 20 \
160-
--max-concurrency 4
161-
```
162-
163138
## Project Layout
164139

165140
```text

development.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
Development install:
1+
# Development
2+
3+
## Development Install
24

35
```bash
46
pip install -e .
@@ -10,3 +12,28 @@ Run tests:
1012
pip install pytest
1113
pytest tests/unit -v
1214
```
15+
16+
## Benchmark Scripts
17+
18+
Benchmark scripts are available under `tests/benchmarks/diffusion_router/` and are intended for manual runs.
19+
They are not part of default unit test collection (`pytest tests/unit -v`).
20+
21+
Single benchmark:
22+
23+
```bash
24+
python tests/benchmarks/diffusion_router/bench_router.py \
25+
--model Qwen/Qwen-Image \
26+
--num-workers 2 \
27+
--num-prompts 20 \
28+
--max-concurrency 4
29+
```
30+
31+
Algorithm comparison:
32+
33+
```bash
34+
python tests/benchmarks/diffusion_router/bench_routing_algorithms.py \
35+
--model Qwen/Qwen-Image \
36+
--num-workers 2 \
37+
--num-prompts 20 \
38+
--max-concurrency 4
39+
```

output.png

133 KB
Loading

0 commit comments

Comments
 (0)