ultravioletrs / cocos

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

NOISSUE - Allow Computation With Empty Dataset #185

Closed rodneyosodo closed 2 months ago

rodneyosodo commented 2 months ago

What type of PR is this?

This is a bug fix because it fixes the computation server failing to run if there is an empty dataset

What does this do?

This pull request fixes an issue where computations would fail if an empty dataset was provided. The fix involves skipping empty data paths during the computation process. Additionally, tests have been added to verify the correct handling of empty datasets.

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

No issue

Have you included tests for your changes?

Tested manually

Did you document any new/modified feature?

No documentation needed

Notes

Needed for https://github.com/ultravioletrs/ai/tree/main/burn-algorithms