mirror of
https://github.com/zama-ai/concrete.git
synced 2026-01-22 11:18:09 -05:00
committed by
Benoit Chevallier
parent
5041e42978
commit
bcc146bd6e
2
.github/ISSUE_TEMPLATE/refactor.md
vendored
2
.github/ISSUE_TEMPLATE/refactor.md
vendored
@@ -16,4 +16,4 @@ List all files/modules/projects impacted by this refactor.
|
||||
<p>
|
||||
file.py
|
||||
</p>
|
||||
</details>
|
||||
</details>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Concrete Framework Python API - collection of tools to FHE all the things
|
||||
|
||||
## Installing
|
||||
## Installing
|
||||
|
||||
Installation steps are described in [INSTALLING.md](docs/install/INSTALLING.md).
|
||||
|
||||
|
||||
3
docs/README.md
Normal file
3
docs/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# What is ConcreteFHE
|
||||
|
||||
To be done
|
||||
@@ -54,7 +54,7 @@ Once the MLIR is prepared, the rest of the stack, which you can learn more about
|
||||
|
||||
Here is the visual representation of the pipeline:
|
||||
|
||||

|
||||

|
||||
|
||||
## Tracing
|
||||
|
||||
@@ -67,7 +67,7 @@ def f(x):
|
||||
|
||||
the goal of tracing is to create the following operation graph without needing any change from the user.
|
||||
|
||||

|
||||

|
||||
|
||||
(Note that the edge labels are for non-commutative operations. To give an example, a subtraction node represents `(predecessor with edge label 0) - (predecessor with edge label 1)`)
|
||||
|
||||
@@ -140,7 +140,7 @@ After the entire dataset is evaluated, we assign a data type to each node using
|
||||
|
||||
Here is an example, given this operation graph where `x` is encrypted:
|
||||
|
||||

|
||||

|
||||
|
||||
and this dataset:
|
||||
|
||||
@@ -218,7 +218,7 @@ x = EncryptedScalar(UnsignedInteger(2))
|
||||
|
||||
#### Corresponding Operation Graph
|
||||
|
||||

|
||||

|
||||
|
||||
### Topological Transforms
|
||||
|
||||
@@ -268,7 +268,7 @@ y = EncryptedScalar(UnsignedInteger(1))
|
||||
|
||||
#### Corresponding Operation Graph
|
||||
|
||||

|
||||

|
||||
|
||||
### Topological Transforms
|
||||
|
||||
@@ -24,15 +24,15 @@ Any computation where there is a single variable integer input and a single inte
|
||||
|
||||
The `quantized_sin` graph of operations:
|
||||
|
||||

|
||||

|
||||
|
||||
The float subgraph that was detected:
|
||||
|
||||

|
||||

|
||||
|
||||
The simplified graph of operations with the float subgraph condensed in an `ArbitraryFunction` node:
|
||||
|
||||

|
||||

|
||||
|
||||
## How is it done in concretefhe?
|
||||
|
||||
4
docs/dev/explanation/MLIR.md
Normal file
4
docs/dev/explanation/MLIR.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# MLIR
|
||||
|
||||
to be done
|
||||
|
||||
@@ -95,7 +95,7 @@ git checkout $YOUR_BRANCH
|
||||
# rebase on top of main branch
|
||||
git rebase main
|
||||
|
||||
# push the latest version of the local branch to remote
|
||||
# push the latest version of the local branch to remote
|
||||
git push --force
|
||||
```
|
||||
|
||||
@@ -4,30 +4,60 @@ Homomorphic Development Kit's documentation
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:caption: Installing
|
||||
:caption: Basics
|
||||
|
||||
README.md
|
||||
install/INSTALLING.md
|
||||
install/DOCKER.md
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:caption: User doc
|
||||
:caption: Tutorial
|
||||
|
||||
user/FIRST_USE.md
|
||||
user/tutorial/FIRST_TUTORIAL.md
|
||||
user/tutorial/SECOND_TUTORIAL.md
|
||||
user/tutorial/THIRD_TUTORIAL.md
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:caption: Developer doc
|
||||
:caption: How to
|
||||
|
||||
dev/TERMINOLOGY_AND_STRUCTURE.md
|
||||
dev/COMPILATION.md
|
||||
dev/FLOAT-FUSING.md
|
||||
dev/DOCUMENTING.md
|
||||
dev/CONTRIBUTING.md
|
||||
dev/RELEASING.md
|
||||
user/howto/COMPILE.md
|
||||
user/howto/REDUCE_NEEDED_PRECISION.md
|
||||
user/howto/DEBUG.md
|
||||
user/howto/SUBMIT_ISSUE.md
|
||||
user/howto/SUPPORT.md
|
||||
user/howto/FAQ.md
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:caption: Explanation
|
||||
|
||||
user/explanation/WHAT_IS_FHE.md
|
||||
user/explanation/FHE_LIMITS.md
|
||||
user/explanation/QUANTIZATION.md
|
||||
user/explanation/FUTURE_FEATURES.md
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 5
|
||||
:caption: Docs from sources
|
||||
:caption: Reference
|
||||
|
||||
_apidoc/modules.rst
|
||||
API <_apidoc/modules.rst>
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:caption: Developper - How To
|
||||
|
||||
dev/howto/DOCUMENTING.md
|
||||
Releasing on GitHub <dev/howto/RELEASING.md>
|
||||
dev/howto/CONTRIBUTING.md
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:caption: Developper - Explanation
|
||||
|
||||
dev/explanation/COMPILATION.md
|
||||
dev/explanation/TERMINOLOGY_AND_STRUCTURE.md
|
||||
dev/explanation/FLOAT-FUSING.md
|
||||
dev/explanation/MLIR.md
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
# First Use
|
||||
|
||||
To be continued
|
||||
2
docs/user/explanation/FHE_LIMITS.md
Normal file
2
docs/user/explanation/FHE_LIMITS.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# FHE Limits
|
||||
|
||||
2
docs/user/explanation/FUTURE_FEATURES.md
Normal file
2
docs/user/explanation/FUTURE_FEATURES.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# Future Features
|
||||
|
||||
2
docs/user/explanation/QUANTIZATION.md
Normal file
2
docs/user/explanation/QUANTIZATION.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# Quantization
|
||||
|
||||
1
docs/user/explanation/WHAT_IS_FHE.md
Normal file
1
docs/user/explanation/WHAT_IS_FHE.md
Normal file
@@ -0,0 +1 @@
|
||||
# What is FHE?
|
||||
1
docs/user/howto/COMPILE.md
Normal file
1
docs/user/howto/COMPILE.md
Normal file
@@ -0,0 +1 @@
|
||||
# Compiling
|
||||
1
docs/user/howto/DEBUG.md
Normal file
1
docs/user/howto/DEBUG.md
Normal file
@@ -0,0 +1 @@
|
||||
# Debugging
|
||||
3
docs/user/howto/FAQ.md
Normal file
3
docs/user/howto/FAQ.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# FAQ
|
||||
|
||||
to be done
|
||||
1
docs/user/howto/REDUCE_NEEDED_PRECISION.md
Normal file
1
docs/user/howto/REDUCE_NEEDED_PRECISION.md
Normal file
@@ -0,0 +1 @@
|
||||
# Having a Function Which Requires Less Precision
|
||||
1
docs/user/howto/SUBMIT_ISSUE.md
Normal file
1
docs/user/howto/SUBMIT_ISSUE.md
Normal file
@@ -0,0 +1 @@
|
||||
# Submitting Issues
|
||||
1
docs/user/howto/SUPPORT.md
Normal file
1
docs/user/howto/SUPPORT.md
Normal file
@@ -0,0 +1 @@
|
||||
# Support
|
||||
3
docs/user/tutorial/FIRST_TUTORIAL.md
Normal file
3
docs/user/tutorial/FIRST_TUTORIAL.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# First Tutorial
|
||||
|
||||
To be continued
|
||||
3
docs/user/tutorial/SECOND_TUTORIAL.md
Normal file
3
docs/user/tutorial/SECOND_TUTORIAL.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Second Tutorial
|
||||
|
||||
To be continued
|
||||
3
docs/user/tutorial/THIRD_TUTORIAL.md
Normal file
3
docs/user/tutorial/THIRD_TUTORIAL.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Third Tutorial
|
||||
|
||||
To be continued
|
||||
Reference in New Issue
Block a user