Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tensor opt #177

Merged
merged 53 commits into from
May 23, 2023
Merged

Tensor opt #177

merged 53 commits into from
May 23, 2023

Conversation

leondavi
Copy link
Owner

No description provided.

@leondavi leondavi requested a review from halfway258 May 15, 2023 10:09
src_erl/erlBridge/nerlTests.erl Show resolved Hide resolved
-export([getdeviceIP/0]).

setup_logger(Module) ->
logger:add_handler(Module, Module, #{}),
Copy link
Owner Author

@leondavi leondavi May 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the configuration I used for single line logger format, please use it also for unified format:

logger:set_handler_config(default, formatter, {logger_formatter, #{}}),
logger:set_module_level(Module, all).

src_erl/erlBridge/nerlTests.erl Outdated Show resolved Hide resolved
@leondavi
Copy link
Owner Author

leondavi commented May 16, 2023

@halfway258
Please rebase this branch,
Moreover, the CI fails (although it shows that it is passed) look at "Run unitests" step log.
https://github.com/leondavi/NErlNet/actions/runs/4991966105/jobs/8939151121

halfway258 and others added 13 commits May 20, 2023 18:12
- Check get/weights methods
- update get_weights nif arity (to include type of nerltensor)
- update on erl return value of get/set weights
- update on erl return value of train_nif and predict_nif with new
returned atoms
Copy link
Collaborator

@halfway258 halfway258 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests passed on raspberries

@leondavi
Copy link
Owner Author

You need to sync this branch with master

@leondavi leondavi merged commit bfa9ea3 into master May 23, 2023
1 check passed
halfway258 added a commit that referenced this pull request May 30, 2023
* use nerlNIF tensor decode

* syntax

* use nerlNIF tensor decode

* syntax

* rebase into tensorOpt

* added nerl_tools for http_req

* use nerl_tools

* use nerl_tools

* tensor message pass

* clean

* clean

* decode clarafication

* use nerlNIF tensor decode

* syntax

* rebase into tensorOpt

* added nerl_tools for http_req

* use nerl_tools

* use nerl_tools

* tensor message pass

* clean

* clean

* decode clarafication

* rebase fix

* clean house

* erlang timer

* tools / logger refractoring

* logger cleaning

* logger and json config fix

* nerl_tools expansion

* organizing

* PR fix

* scaling comment

* tab format

* full tensor flow

* full tensor flow, prediction stats

* batch sync fix

* Implement get and set weights using nerltensor bins

- Check get/weights methods
- update get_weights nif arity (to include type of nerltensor)
- update on erl return value of get/set weights
- update on erl return value of train_nif and predict_nif with new
returned atoms

* get set weights

* fed

* comm fix

* multipart func

* multipart func

* read parts

* prints

* prints

* print

* no print

* json fix

---------

Co-authored-by: halfway258 <[email protected]>
Co-authored-by: leondavi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants