-
Notifications
You must be signed in to change notification settings - Fork 37
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
Fix/skip trie_attention_cache_test on Windows. #645
Conversation
def __lt__(self, other): | ||
"""Sort nodes by their memory address.""" | ||
return id(self) < id(other) |
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.
If the tests passed on Linux without this and they still fail on Windows with it... maybe this isn't the right implementation 🤔
Could leave this off and just keep the test skipped.
Ping? |
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.
Sry! missed this. On it now. I think we don't need lt because the heapq is relying on the timestamp instead of the nodes. Will see what' the windows failure is once rebase CI completes.
5479a28
to
d6cbf27
Compare
So are you okay with merging this as-is, or do you want some changes to the heapq code? |
Context: #632 (comment)