You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
Initial Checks
Description
I have found an issue with the following sequence:
Object
SubIndiceObject with an attribute Optional[AnyEmbedding]
I am running an operation on GPU and storing the TorchEmbedding on that attribute
Then I am converting the value back into a NDArrayEmbedding on CPU and storing in the same attribute.
When indexing the data into weaviate, it still tracks that attribute as a TorchTensor on GPU and tries to convert to a NDArrayEmbedding.
In order to fix it, I ran the cpu() operation prior to saving that tensor on the attribute.
I don't know if it is a bug or by design but logging the scenario nonetheless.
Example Code
No response
Python, DocArray & OS Version
Affected Components