Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelDkhn committed Jun 24, 2024
1 parent 0cc5102 commit e199182
Show file tree
Hide file tree
Showing 27 changed files with 21 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/orion-graph/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Orion2 - A scalable and modular ZKML framework
# Orion-Graph - A ZKML framework for graph-based models

Orion2 is a ZKML frameworks that uses composable ZK compilers to achieve modularity and scalability.
Orion-Graph is a ZKML frameworks that uses composable ZK compilers to achieve modularity and scalability.

With Orion2 you only need to add 11 primitive operations (primops) to support a new ZK backend:
With Orion-Graph you only need to add 11 primitive operations (primops) to support a new ZK backend:
- **Unary** - Log2, Exp2, Sin, Sqrt, Recip
- **Binary** - Add, Mul, Mod, LessThan
- **Other** - SumReduce, MaxReduce, Contiguous
Expand All @@ -13,4 +13,4 @@ Once the graph is built, iterative ZK compiler passes can modify it to replace p

This approach leads to a simple library, and performance is only limited by the creativity of the compiler programmer, not the model programmer.

![Orion2](https://github.com/gizatechxyz/orion2/assets/113879115/75320a2f-336f-49c8-a40e-7538aee50f9d)
![Orion Diagram](packages/orion-graph/imgs/Orion-Graph-Diagram.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions packages/orion-graph/tests/test_cairo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

def test_cairo():
"""
Test function for the zk-backend cairo.
Test function for the zk-backends cairo.
"""
zk_backend = 'cairo'

result = subprocess.run(['scarb', 'test'], cwd=f"zk-backend/{zk_backend}", capture_output=True, text=True)
result = subprocess.run(['scarb', 'test'], cwd=f"zk-backends/{zk_backend}", capture_output=True, text=True)

print(result.stdout)
print(result.stderr)
Expand Down
15 changes: 15 additions & 0 deletions packages/orion-numbers/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Orion-Numbers: A Cairo Numbers Library

## Fixed Points
A fixed point library, inspired by [Cubit lib](https://github.com/influenceth/cubit).

### Supported Implementations

| Implementations | Status |
| :-------------: | :----: |
| 16x16 ||
| 32x32 ||
| 64x64 ||


A signed 16.16-bit fixed point number is a fraction in which the numerator is a signed 32-bit integer and the denominator is 2^16. Since the denominator stays the same there is no need to store it (as in a floating point value).

0 comments on commit e199182

Please sign in to comment.