-
Notifications
You must be signed in to change notification settings - Fork 233
feat: support milvus #1681
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
feat: support milvus #1681
Conversation
Signed-off-by: jupyterjazz <[email protected]>
Signed-off-by: maxwelljin2 <[email protected]> Co-authored-by: Saba Sturua <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Signed-off-by: jupyterjazz <[email protected]>
Signed-off-by: jupyterjazz <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1681 +/- ##
==========================================
+ Coverage 85.51% 85.68% +0.17%
==========================================
Files 132 133 +1
Lines 8303 8566 +263
==========================================
+ Hits 7100 7340 +240
- Misses 1203 1226 +23
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Signed-off-by: jupyterjazz <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Signed-off-by: jupyterjazz <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Signed-off-by: jupyterjazz <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Signed-off-by: jupyterjazz <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Signed-off-by: jupyterjazz <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Signed-off-by: jupyterjazz <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Signed-off-by: jupyterjazz <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Signed-off-by: jupyterjazz <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Signed-off-by: jupyterjazz <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Signed-off-by: jupyterjazz <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Signed-off-by: jupyterjazz <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
type_map = { | ||
int: DataType.INT64, | ||
float: DataType.FLOAT, | ||
str: DataType.VARCHAR, | ||
bytes: DataType.VARCHAR, | ||
np.ndarray: DataType.FLOAT_VECTOR, | ||
list: DataType.FLOAT_VECTOR, | ||
AnyTensor: DataType.FLOAT_VECTOR, | ||
AbstractTensor: DataType.FLOAT_VECTOR, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can move this dict away from the function imo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm but all other backends have it inside
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added one minor comments
Signed-off-by: jupyterjazz <[email protected]>
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
📝 Docs are deployed on https://ft-feat-support-milvus--jina-docs.netlify.app 🎉 |
@@ -198,7 +198,7 @@ jobs: | |||
python -m pip install --upgrade pip | |||
python -m pip install poetry | |||
poetry install --all-extras | |||
poetry run pip install protobuf==3.19.0 # we check that we support 3.19 | |||
poetry run pip install protobuf==3.20.0 # we check that we support 3.19 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
poetry run pip install protobuf==3.20.0 # we check that we support 3.19 | |
poetry run pip install protobuf==3.20.0 # we check that we support 3.20 |
Taking over from here #1666
Functionality-wise everything's ready, only thing left is to make the execution faster (milvus job takes 13 mins on CI)
Docs will be done in a separate PR
Note:
I had to bump protobuf and tensorflow versions