-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document gated model usage, add a check after install to see if user …
…needs to setup gated model access (#327) * Add gated command to help asking for permission to huggingface * Update documentation * Fix readthedocs builds * Fix readthedocs builds * Move documentation around --------- Co-authored-by: pierre.delaunay <[email protected]>
- Loading branch information
Showing
23 changed files
with
356 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: 2 | ||
|
||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
|
||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
python: | ||
install: | ||
- requirements: docs/requirements.txt |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Design | ||
====== | ||
|
||
Milabench aims to simulate research workloads for benchmarking purposes. | ||
|
||
* Performance is measured as throughput (samples / secs). | ||
For example, for a model like resnet the throughput would be image per seconds. | ||
|
||
* Single GPU workloads are spawned per GPU to ensure the entire machine is used. | ||
Simulating something similar to a hyper parameter search. | ||
The performance of the benchmark is the sum of throughput of each processes. | ||
|
||
* Multi GPU workloads | ||
|
||
* Multi Nodes | ||
|
||
|
||
Run | ||
--- | ||
|
||
* Milabench Manager Process | ||
* Handles messages from benchmark processes | ||
* Saves messages into a file for future analysis | ||
|
||
* Benchmark processes | ||
* run using ``voir`` | ||
* voir is configured to intercept and send events during the training process | ||
* This allow us to add models from git repositories without modification | ||
* voir sends data through a file descriptor that was created by milabench main process | ||
|
||
|
||
What milabench is | ||
----------------- | ||
|
||
* Training focused | ||
* milabench show candid performance numbers | ||
* No optimization beyond batch size scaling is performed | ||
* we want to measure the performance our researcher will see | ||
not the performance they could get. | ||
* pytorch centric | ||
* Pytorch has become the defacto library for research | ||
* We are looking for accelerator with good maturity that can support | ||
this framework with limited code change. | ||
|
||
|
||
What milabench is not | ||
--------------------- | ||
|
||
* milabench goal is not a performance show case of an accelerator. |
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
docs/new_benchmarks.rst → docs/Contributing/new_benchmarks.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Changelog | ||
========= | ||
|
||
TBD |
Oops, something went wrong.