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 - Fix Algo Path #216

Closed rodneyosodo closed 1 month ago

rodneyosodo commented 1 month ago

What type of PR is this?

This is a bug fix since it fixes the path for algorithms to be absolute

What does this do?

Fix the execution of the binary algorithm by correctly handling file paths using the current working directory. Enhance the file path management for various algorithm types to ensure proper file access.

Bug Fixes:

Enhancements:

Documentation:

Chores:

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

When running binary algorithms

error starting algorithm: exec: "algorithm": executable file not found in $PATH

Have you included tests for your changes?

Tests manually using https://github.com/ultravioletrs/ai/tree/main/burn-algorithms

Did you document any new/modified feature?

No documentation needed

Notes