Skip to content

Commit

Permalink
Merge pull request #211 from gizatechxyz/develop
Browse files Browse the repository at this point in the history
Merge Develop into Main
  • Loading branch information
raphaelDkhn authored Sep 18, 2023
2 parents 0ce49cb + f893a0f commit 3523bed
Show file tree
Hide file tree
Showing 2,360 changed files with 36,154 additions and 40,979 deletions.
24 changes: 19 additions & 5 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@
"profile": "https://github.com/BemTG",
"contributions": [
"code",
"doc",
]
"doc"
]
},
{
"login": "danilowhk",
Expand All @@ -98,7 +98,7 @@
"contributions": [
"code"
]
},
},
{
"login": "Falco90",
"name": "Falco R",
Expand All @@ -108,20 +108,34 @@
"code"
]
},
{
"login": "dincerguner",
"name": "dincerguner",
"avatar_url": "https://avatars.githubusercontent.com/u/32523713?v=4",
"profile": "https://github.com/dincerguner",
"contributions": [
"code"
]
},
{
"login": "richwarner",
"name": "Rich Warner",
"avatar_url": "https://avatars.githubusercontent.com/u/1719742?v=4",
"profile": "https://github.com/richwarner",
"contributions": [
"code"
]
]
},
{
"login": "dbejarano820",
"name": "Daniel Bejarano",
"avatar_url": "https://avatars.githubusercontent.com/u/58019353?v=4",
"profile": "https://github.com/dbejarano820",
"contributions": [
"doc"
]
},
{
"login": "vikkydataseo",
"name": "vikkydataseo",
"avatar_url": "https://avatars.githubusercontent.com/u/65757691?v=4",
Expand All @@ -138,4 +152,4 @@
"projectName": "orion",
"projectOwner": "gizatechxyz",
"commitType": "docs"
}
}
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ jobs:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: "0.6.2"
scarb-version: "0.7.0"
- run: scarb test
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"starkware.cairo1"
]
}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<div align="center">
<img src="docs/images/orion-banner.jpeg" height="256">
<img src="docs/images/orion-banner.jpeg" style="width: 70%; height: auto;">
</div>


<div align="center">
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
Expand All @@ -22,7 +23,7 @@

# Orion: An Open-source Framework for Validity and ZK ML ✨
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-14-orange.svg?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-15-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

Orion is an open-source, community-driven framework dedicated to Provable Machine Learning. It provides essential components and a new ONNX runtime for building verifiable Machine Learning models using [STARKs](https://starkware.co/stark/).
Expand Down
3 changes: 2 additions & 1 deletion Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ homepage = "https://github.com/gizatechxyz/orion"

[dependencies]
alexandria_data_structures = { git = "https://github.com/keep-starknet-strange/alexandria.git" }
cubit = { git = "https://github.com/influenceth/cubit.git" }

[scripts]
sierra = "cairo-compile . -r"
docgen = "cd docgen && cargo run"
nodegen = "python3 nodegen/node/__init__.py"
nodegen = "python3 nodegen/node/__init__.py"
8 changes: 0 additions & 8 deletions docgen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,6 @@ fn main() {
let trait_name: &str = "IntegerTrait";
doc_trait(trait_path, doc_path, label);
doc_functions(trait_path, doc_path, trait_name, label);

// PERFORMANCE DOC
let trait_path = "src/performance/core.cairo";
let doc_path = "docs/framework/performance";
let label = "performance";
let trait_name = "PerfomanceTrait";
doc_trait(trait_path, doc_path, label);
doc_functions(trait_path, doc_path, trait_name, label);
}

fn doc_trait(trait_path: &str, doc_path: &str, label: &str) {
Expand Down
Binary file added docs/.gitbook/assets/gitbook_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/orion_gitbook_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased] - 2023-09-03

## Changed
- Add FP64x64 and FP32x32 fixed points (from cubit library).
- Implement Tensor FP64x64 and FP3x32.
- Implement NN FP64x64 and FP3x32.

## [Unreleased] - 2023-09-01

## Changed
Refactored Orion to support generic types.

## [Unreleased] - 2023-08-24

## Changed
Expand All @@ -16,6 +28,19 @@ Use only LUTs for trigonometric functions.

## [Unreleased] - 2023-08-15

### Added

- Concat for tensors with tests
- Added i8 tensor helper for tests.

## [Unreleased] - 2023-08-09

### Added

- Onehot encoding for tensors with tests

## [Unreleased] - 2023-08-15

### Added
Add FixedType implementation of NNTrait.

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: An Open-source ecosystem for Validity and ZK ML.

Orion is an open-source, community-driven framework dedicated to Provable Machine Learning. It provides essential components and a new ONNX runtime for building verifiable Machine Learning models using [STARKs](https://starkware.co/stark/).

<figure><img src=".gitbook/assets/Orion.png" alt="" width="563"><figcaption></figcaption></figure>
<figure><img src=".gitbook/assets/orion_gitbook_banner.png" alt=""><figcaption></figcaption></figure>

### 🤔 What is ONNX Runtime?

Expand Down
8 changes: 4 additions & 4 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
* [fp.new](framework/numbers/fixed-point/fp.new.md)
* [fp.new\_unscaled](framework/numbers/fixed-point/fp.new\_unscaled.md)
* [fp.from\_felt](framework/numbers/fixed-point/fp.from\_felt.md)
* [fp.from\_unscaled\_felt](framework/numbers/fixed-point/fp.from\_unscaled\_felt.md)
* [fp.abs](framework/numbers/fixed-point/fp.abs.md)
* [fp.ceil](framework/numbers/fixed-point/fp.ceil.md)
* [fp.floor](framework/numbers/fixed-point/fp.floor.md)
Expand Down Expand Up @@ -75,6 +74,10 @@
* [tensor.or](framework/operators/tensor/tensor.or.md)
* [tensor.xor](framework/operators/tensor/tensor.xor.md)
* [tensor.onehot](framework/operators/tensor/tensor.onehot.md)
* [tensor.slice](framework/operators/tensor/tensor.slice.md)
* [tensor.concat](framework/operators/tensor/tensor.concat.md)
* [tensor.quantize\_linear](framework/operators/tensor/tensor.quantize\_linear.md)
* [tensor.dequantize\_linear](framework/operators/tensor/tensor.dequantize\_linear.md)
* [Neural Network](framework/operators/neural-network/README.md)
* [nn.relu](framework/operators/neural-network/nn.relu.md)
* [nn.leaky\_relu](framework/operators/neural-network/nn.leaky\_relu.md)
Expand All @@ -84,9 +87,6 @@
* [nn.softsign](framework/operators/neural-network/nn.softsign.md)
* [nn.softplus](framework/operators/neural-network/nn.softplus.md)
* [nn.linear](framework/operators/neural-network/nn.linear.md)
* [Performance](framework/performance/README.md)
* [performance.quantize\_linear](framework/performance/performance.quantize\_linear.md)
* [performance.dequantize\_linear](framework/performance/performance.dequantize\_linear.md)

## 🏛 Hub

Expand Down
Loading

0 comments on commit 3523bed

Please sign in to comment.