docs: updating the doc a bit

refs #1050
This commit is contained in:
Benoit Chevallier-Mames
2021-12-02 16:46:45 +01:00
committed by Benoit Chevallier
parent 5c3950407c
commit 2f1e41e4fb
29 changed files with 977 additions and 26 deletions

View File

@@ -1,3 +1,9 @@
```{warning}
FIXME(umut): update with the new API
```
# Compilation Pipeline In Depth
## What is **concretefhe**?
@@ -54,6 +60,10 @@ Once the MLIR is prepared, the rest of the stack, which you can learn more about
Here is the visual representation of the pipeline:
```{warning}
FIXME(arthur): check the graph, update with what is missing, notably: torch to numpy, quantization. Maybe an independant graph for quantization may be clearer.
```
![Frontend Flow](../../_static/compilation-pipeline/frontend_flow.svg)
## Tracing

View File

@@ -1,3 +1,7 @@
```{warning}
FIXME(Arthur): explain recent updates on the fusing
```
# Fusing Floating Point Operations
## Why is it needed?

View File

@@ -0,0 +1,8 @@
```{warning}
FIXME(Jordan/Andrei): do this
```
# Quantization in Depth
(as a researcher)

View File

@@ -1,3 +1,7 @@
```{warning}
FIXME(Benoit): to check this is still valid
```
# Terminology and Structure
## Terminology

View File

@@ -1,6 +1,10 @@
# Contributing
```{warning}
FIXME(alex): to see if something here needs some update
```
```{important}
There are two ways to contribute to **concretefhe**:
- you can open issues to report bugs, typos and suggest ideas
@@ -51,6 +55,10 @@ The last requirement is to make sure you get a hundred percent code coverage. Yo
make coverage
```
```{warning}
FIXME(arthur): is this still valid? (that `make pytest` will not return an error)
```
Remark that only calling `make pytest` will give you information about the coverage, at the end of the execution, but the test will not return a failure if the coverage is not a hundred percent, as opposed to a call to `make coverage`.
Note that this will compare the coverage with `origin/main`. If you want to set a custom base branch, you can specify `BB` environment variable like so `BB=$YOUR_BASE_BRANCH make coverage`.
@@ -73,7 +81,7 @@ git commit -m "feat(debugging): add an helper function to draw intermediate repr
git commit -m "fix(tracing): fix a bug that crashed pytorch tracer"
```
To learn more about conventional commits, check [this](https://www.conventionalcommits.org/en/v1.0.0/) page.
To learn more about conventional commits, check [this](https://www.conventionalcommits.org/en/v1.0.0/) page. Remark that commit messages are checked in the comformance step, and rejected if they don't follow the rules.
## Before creating pull request

View File

@@ -1,3 +1,10 @@
```{warning}
FIXME(arthur): to update if needed
```
```{warning}
FIXME(arthur): to add a new .md about pypy if needed
```
# Docker
## Setting up docker and X forwarding

View File

@@ -1,3 +1,6 @@
```{warning}
FIXME(Arthur): to check what needs to be updated here
```
# Project Setup

View File

@@ -1,3 +1,7 @@
```{warning}
FIXME(arthur): to update with the new workflow
```
# Creating A Release On GitHub
## Release Candidate cycle

View File

@@ -19,3 +19,4 @@ Developer Guide
explanation/TERMINOLOGY_AND_STRUCTURE.md
explanation/FLOAT-FUSING.md
explanation/MLIR.md
explanation/QUANTIZATION.md