ml-commons
ml-commons copied to clipboard
fix predict issue
Description
We got a failure for the test case testPredictWithReadOnlyMLAccess which is blocking 3.0-alpha release and caused by a recent pr https://github.com/opensearch-project/ml-commons/pull/3597.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
- [ ] New functionality includes testing.
- [ ] New functionality has been documented.
- [ ] API changes companion pull request created.
- [ ] Commits are signed per the DCO using
--signoff. - [ ] Public documentation issue/PR created.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.