File size: 1,165 Bytes
40b248a
89cb5bf
40b248a
89cb5bf
40b248a
 
 
89cb5bf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164d1e6
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
title: BigMac PP Simulator
sdk: docker
app_port: 7860
pinned: false
---

# BigMac PP Simulator

This Hugging Face Space packages the BigMac pipeline-parallel schedule simulator
as a standalone Docker app.

The Space contains sibling checkouts:

```text
pp-scheduler/    Schedule generation logic
pp-simulator/    Simulation library and web UI
```

The web UI serves:

- single-scheduler simulation
- fair scheduler comparison
- SVG timeline visualization
- Chrome Trace and Perfetto trace export
- configuration error feedback through modal dialogs

## Local Docker Run

```bash
docker build -t bigmac-pp-simulator .
docker run --rm -p 7860:7860 bigmac-pp-simulator
```

Open:

```text
http://127.0.0.1:7860
```

## Local Python Run

```bash
cd pp-simulator
python web/app.py --host 0.0.0.0 --port 7860
```

## Notes

Hugging Face Docker Spaces route traffic to the configured app port. The
container therefore starts the existing `pp-simulator` web server on
`0.0.0.0:7860`.

The Space sets `PP_SIMULATOR_MAX_MICROBATCHES=64` to keep simulations within
the available Hugging Face compute budget. Local deployments can raise or unset
this environment variable.