-
Notifications
You must be signed in to change notification settings - Fork 25
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
Feature check is prohibiting calling ml-api from ml-train api side which is at another repo. #110
Comments
|
Pulling comment here @jaeyun-jung
|
You may keep using _ml_set_feature_check for unit-test. You are not doing integration test; thus, you are not supposed to test other operating system (Tizen) features with your unit tests. _ml_set_feature_check is not a workaround for unit-test, although you are NOT supposed to use it in integration test or tests in an actual target devices. Comments on the "Long term solutions" If you want to test feature-checks correctly, you need to add integration test cases (look at "ITC" of Tizen) |
Cool, thanks for the comment! As per comment, I guess nnstreamer/nntrainer#1715 is sufficient to close this issue :)
@jaeyun-jung could you once review nnstreamer/nntrainer#1715 for the completeness? Thank you! |
Resolved with nnstreamer/nntrainer#1715 :) |
Problem
ml_train_api(nntrainer) unittest fails after recent SR
Cause
First call to ml_tensors_info_create(info) fails in below line(https://github.com/nnstreamer/nntrainer/blob/24a7738539cadd9d6ce5c0ee479eade373f8ea6f/api/capi/src/nntrainer.cpp#L1101-L1104)
check feature fails at
https://github.com/nnstreamer/api/blob/main/c/src/ml-api-common.c#L29
I am not sure how earlier versions made it possible to pass the given function available at gbs at this point.
Emergency measures
api/c/src/ml-api-internal.h
Line 302 in 46875e4
emergency PR will be updated soon.nnstreamer/nntrainer#1715Long term solutions (maybe more)
The text was updated successfully, but these errors were encountered: