-
Notifications
You must be signed in to change notification settings - Fork 3
Add tests for supporting video and audio modalities #92
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
base: mainline
Are you sure you want to change the base?
Conversation
| self.assertEqual(1, len(tensor_search_res['hits'])) | ||
| index_settings = self.client.index(self.index_name).get_settings() | ||
|
|
||
| expected_settings = { |
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.
Do we need add_documents tests?
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
| assert doc_res['_tensor_facets'][0]['_embedding'] == [1.0 for _ in range(DEFAULT_DIMENSIONS)] | ||
| assert doc_res['_tensor_facets'][0]['_embedding'] == [1.0 for _ in range(DEFAULT_DIMENSIONS)] | ||
|
|
||
| @pytest.mark.skipif(is_cuda_available() is True, reason="GPU test to be investigated") |
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 should skipif is_cua_available() is False?
| from tests.marqo_test import MarqoTestCase | ||
|
|
||
|
|
||
| def is_cuda_available(): |
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.
use
| @pytest.mark.cuda_test |
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature
What is the current behavior? (You can also link to an open issue here)
No tests for languagebind index creation
What is the new behavior (if this is a feature change)?
Added tests for languagebind index creation
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No
Other information: