ultravioletrs / cocos

Cocos AI - Confidential Computing System for AI
https://ultraviolet.rs/cocos.html
Apache License 2.0
25 stars 9 forks source link

NOISSUE - Enable WASM Support and FileSystem Support #189

Closed rodneyosodo closed 3 months ago

rodneyosodo commented 3 months ago

What type of PR is this?

This PR is a feature because it adds support of running wasm algorithms and also adds support for using filesystem to store results for the different algorithms

What does this do?

This pull request introduces support for WebAssembly (Wasm) as a new algorithm type, refactors algorithm creation functions, enhances error handling and logging, updates the CLI for result file path specification, changes the agent build configuration, and updates the Protobuf compiler version in the CI workflow.

Which issue(s) does this PR fix/relate to?

No issue

Have you included tests for your changes?

Tested manually for binary and wasm targets for https://github.com/ultravioletrs/ai/tree/main/burn-algorithms

Did you document any new/modified feature?

To be updated on https://github.com/ultravioletrs/cocos-docs

Notes

SammyOina commented 3 months ago

also add a wasm example for the lin reg example, in the test directory

SammyOina commented 3 months ago

datasets should be stored in datatsets directory and results in results dir

SammyOina commented 3 months ago

datasets should be stored in datatsets directory and results in results dir

also modify the lin_reg example here