-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Currently the hashing of generic objects is a bit brittle, for example torch.Tensor objects don't have an empty __dict__
so they all get hashed to the same value. An option is to iterate through all the attributes in __dir__
and find all the non-method/property attributes to make a hash out of, this could be quite difficult to do generically though...
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
v1.0
Milestone
Relationships
Development
Select code repository
Activity
tclose commentedon Apr 29, 2025
Also see PR #762, that attempts to address "numpylike" objects
tclose commentedon May 8, 2025
Related to #767