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