-
Notifications
You must be signed in to change notification settings - Fork 372
fix: Fix sparse slice bug in hello_model.py(#2414) #2417
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
Conversation
Signed-off-by: jinjuan zhou <[email protected]>
/assign @czs007 |
/assign |
/lgtm |
@wxywb: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wxywb, XuanYang-cn, zjjzyl The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
- fix: type annotation in Hits and docs in Collection (milvus-io#2387) - enhance: update float16/bfloat16 examples (milvus-io#2388) - fix: sparse slice bug in hello_model.py(milvus-io#2414) (milvus-io#2417) - fix: pkg_resources api deprecated warning (milvus-io#2438) - enhance: Use new model pkg (milvus-io#2595) See also: milvus-io/milvus#37448 Co-authored-by: Yinzuo Jiang <[email protected]> Co-authored-by: Yinzuo Jiang <[email protected]> Co-authored-by: jinjuan zhou <[email protected]> Co-authored-by: jinjuan zhou <[email protected]> Co-authored-by: zhuwenxing <[email protected]> Co-authored-by: junjie.jiang <[email protected]> Signed-off-by: yangxuan <[email protected]>
- fix: type annotation in Hits and docs in Collection (#2387) - enhance: update float16/bfloat16 examples (#2388) - fix: sparse slice bug in hello_model.py(#2414) (#2417) - fix: pkg_resources api deprecated warning (#2438) - enhance: Use new model pkg (#2595) See also: milvus-io/milvus#37448 Signed-off-by: yangxuan <[email protected]> Co-authored-by: Yinzuo Jiang <[email protected]> Co-authored-by: Yinzuo Jiang <[email protected]> Co-authored-by: jinjuan zhou <[email protected]> Co-authored-by: zhuwenxing <[email protected]> Co-authored-by: junjie.jiang <[email protected]>
What this PR does:
Fixes a bug in
examples/milvus_model/hello_model.py
where indexing a sparse matrix withx[0]
caused aNotImplementedError
.Changes made:
x[0]
tox[:, [0]]
to use explicit 2D indexing, which is supported.