Skip to content

Conversation

zjjzyl
Copy link
Contributor

@zjjzyl zjjzyl commented Dec 6, 2024

What this PR does:

Fixes a bug in examples/milvus_model/hello_model.py where indexing a sparse matrix with x[0] caused a NotImplementedError.

Changes made:

  • Updated the sparse matrix indexing from x[0] to x[:, [0]] to use explicit 2D indexing, which is supported.

@zjjzyl
Copy link
Contributor Author

zjjzyl commented Dec 8, 2024

/assign @czs007

@XuanYang-cn
Copy link
Contributor

/assign

@wxywb
Copy link
Contributor

wxywb commented Dec 23, 2024

/lgtm

@sre-ci-robot
Copy link

@wxywb: changing LGTM is restricted to collaborators

In response to this:

/lgtm

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.

@wxywb
Copy link
Contributor

wxywb commented Dec 23, 2024

/approve

@XuanYang-cn
Copy link
Contributor

/lgtm
/approve

@sre-ci-robot
Copy link

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@XuanYang-cn XuanYang-cn added the PR | need to cherry-pick to 2.x This PR need to be cherry-picked to 2.x branch label Dec 23, 2024
@sre-ci-robot sre-ci-robot merged commit 6da8631 into milvus-io:master Dec 23, 2024
11 checks passed
@XuanYang-cn XuanYang-cn added PR | cherry-picked to 2.x PR already cherry-picked to branch 2.x and removed PR | need to cherry-pick to 2.x This PR need to be cherry-picked to 2.x branch labels Feb 21, 2025
XuanYang-cn pushed a commit to XuanYang-cn/pymilvus that referenced this pull request Feb 21, 2025
- 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]>
sre-ci-robot pushed a commit that referenced this pull request Mar 4, 2025
- 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants