nnstreamer / nntrainer

NNtrainer is Software Framework for Training Neural Network Models on Devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `-Denable-fp16=true` build to CI

heka1024 opened this issue · comments

commented

Some code could break build with -Denable-fp16=true option, like #2545. I think it would be helpful to add this build to CI to ease the burden on reviewers.

:octocat: cibot: Thank you for posting issue #2560. The person in charge will reply soon.

commented

@skykongkong8 What do you think?

Good point.
As far as I am concerned, Reason why -Denable-fp16 is not included in current CI is because it is relatively newer option than the others.
Even for now, I personally think that it is not really matured to be checked for every PR, because we have multiple plans to refactorize the structure of half-precision formats or related codes.. I need more opinions about this. @jijoongmoon

You may add enable-fp16 build test in CI.
You may limit test coverage or error reporting mechanisms for enable-fp16, too. (you can let github-action gracefully ignore failed TCs, too, so that we can see the number of failed cases but the CI says "OK".)

Anyone needing this may add it. (@heka1024 ?)

commented

@skykongkong8 @myungjoo I'll add this to CI. (As non-required test) Thanks for comment!

Great! Thanks for pointing this issue out :)