WIP: v3.0.0 #18

Draft
juniper wants to merge 54 commits from experimental-rewrite into main
Owner

Full rewrite of the API in C and replacing as much floating-point arithmetic with integer math for performance reasons, as well as moving away from the sigmoid to a modified version of ReLU.

Full rewrite of the API in C and replacing as much floating-point arithmetic with integer math for performance reasons, as well as moving away from the sigmoid to a modified version of ReLU.
WIP: Astra v3.0.0 initial setup
All checks were successful
/ build-amd64 (push) Successful in 27s
/ build-aarch64 (push) Successful in 6m17s
2680fd6df7
Refactor
Some checks failed
/ build-amd64 (push) Successful in 33s
/ build-aarch64 (push) Has been cancelled
2f7b09a312
Update CMakeLists
All checks were successful
/ build-amd64 (push) Successful in 50s
/ build-aarch64 (push) Successful in 6m13s
955ece5845
It work
All checks were successful
/ build-amd64 (push) Successful in 39s
/ build-aarch64 (push) Successful in 6m15s
b47116ba9f
Add ReLU-based derivative and activation functions
All checks were successful
/ build-amd64 (push) Successful in 30s
/ build-aarch64 (push) Successful in 6m39s
860d7cfd45
Add mat_mul_8i function
All checks were successful
/ build-amd64 (push) Successful in 41s
/ build-aarch64 (push) Successful in 6m38s
895777a0fc
Update headers and tests to reflect new activation and derivative functions
All checks were successful
/ build-amd64 (push) Successful in 39s
/ build-aarch64 (push) Successful in 6m43s
48cbbd56da
Add random_neurons function and free_neurons
All checks were successful
/ build-amd64 (push) Successful in 33s
/ build-aarch64 (push) Successful in 6m29s
a45fbb0bce
Change weights and biases to int8_t, call activation after mat_mul call, refactor derivative and activation name
All checks were successful
/ build-amd64 (push) Successful in 35s
/ build-aarch64 (push) Successful in 6m41s
96e4877b43
Change weights to int8_t for mat_mul_8i fn
Some checks failed
/ build-amd64 (push) Successful in 37s
/ build-aarch64 (push) Has been cancelled
9e6b0c93f6
Update comments
All checks were successful
/ build-amd64 (push) Successful in 48s
/ build-aarch64 (push) Successful in 6m29s
54ff0a8e19
Clean up compute_layer function
All checks were successful
/ build-amd64 (push) Successful in 45s
/ build-aarch64 (push) Successful in 6m33s
d48a6799af
WIP: NeuralNetwork8i compute
All checks were successful
/ build-amd64 (push) Successful in 37s
/ build-amd64 (pull_request) Successful in 29s
/ build-aarch64 (push) Successful in 6m50s
/ build-aarch64 (pull_request) Successful in 6m33s
c6810f0c76
juniper self-assigned this 2026-05-16 01:24:38 +01:00
Fix: Memory leak
All checks were successful
/ build-amd64 (push) Successful in 42s
/ build-amd64 (pull_request) Successful in 42s
/ build-aarch64 (push) Successful in 6m34s
/ build-aarch64 (pull_request) Successful in 6m24s
596a65b267
Remove neural network struct, update buildscript and change tests
Some checks failed
/ build-amd64 (push) Successful in 3m0s
/ build-aarch64 (push) Has been cancelled
/ build-amd64 (pull_request) Has been cancelled
/ build-aarch64 (pull_request) Has been cancelled
a5005fd71a
Add valgrind to workflows
Some checks failed
/ build-aarch64 (pull_request) Waiting to run
/ build-amd64 (push) Successful in 2m44s
/ build-amd64 (pull_request) Successful in 1m44s
/ build-aarch64 (push) Has been cancelled
df773990f3
Fix memory allocation for neural network layers
Some checks failed
/ build-aarch64 (push) Has started running
/ build-amd64 (push) Successful in 2m17s
/ build-amd64 (pull_request) Successful in 2m8s
/ build-aarch64 (pull_request) Has been cancelled
7d9268e6ad
Remove activation_8i_ptr and reformat activation function
Some checks failed
/ build-amd64 (pull_request) Waiting to run
/ build-aarch64 (pull_request) Waiting to run
/ build-amd64 (push) Has been cancelled
/ build-aarch64 (push) Has been cancelled
7f67634cb6
Re-add valgrind
Some checks failed
/ build-amd64 (push) Successful in 1m45s
/ build-amd64 (pull_request) Successful in 1m57s
/ build-aarch64 (push) Successful in 14m9s
/ build-aarch64 (pull_request) Has been cancelled
89d41e07dd
Add neural network struct test
All checks were successful
/ build-amd64 (push) Successful in 1m41s
/ build-amd64 (pull_request) Successful in 1m33s
/ build-aarch64 (push) Successful in 10m7s
/ build-aarch64 (pull_request) Successful in 10m6s
ed7e916282
Neural network compute function
Some checks failed
/ build-amd64 (pull_request) Waiting to run
/ build-aarch64 (pull_request) Waiting to run
/ build-amd64 (push) Has been cancelled
/ build-aarch64 (push) Has been cancelled
aaea40f9d8
Temporary performance monitor for Neural Network compute
Some checks failed
/ build-amd64 (pull_request) Waiting to run
/ build-aarch64 (pull_request) Waiting to run
/ build-amd64 (push) Has been cancelled
/ build-aarch64 (push) Has been cancelled
1538c49864
Final tidy
All checks were successful
/ build-amd64 (push) Successful in 1m50s
/ build-amd64 (pull_request) Successful in 2m0s
/ build-aarch64 (push) Successful in 10m52s
/ build-aarch64 (pull_request) Successful in 10m14s
a3cf0b97e7
Work on training memory management
All checks were successful
/ build-amd64 (push) Successful in 1m12s
/ build-amd64 (pull_request) Successful in 1m14s
/ build-aarch64 (push) Successful in 10m9s
/ build-aarch64 (pull_request) Successful in 10m20s
c6560c725f
All checks were successful
/ build-amd64 (push) Successful in 1m12s
/ build-amd64 (pull_request) Successful in 1m14s
/ build-aarch64 (push) Successful in 10m9s
/ build-aarch64 (pull_request) Successful in 10m20s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin experimental-rewrite:experimental-rewrite
git switch experimental-rewrite

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff experimental-rewrite
git switch experimental-rewrite
git rebase main
git switch main
git merge --ff-only experimental-rewrite
git switch experimental-rewrite
git rebase main
git switch main
git merge --no-ff experimental-rewrite
git switch main
git merge --squash experimental-rewrite
git switch main
git merge --ff-only experimental-rewrite
git switch main
git merge experimental-rewrite
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
juniper/astra-api!18
No description provided.