-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[GraphBolt] CachedFeature
can handle hetero features now.
#7731
Conversation
To trigger regression tests:
|
CachedFeature
can handle hetero features.CachedFeature
now can handle hetero features.
CachedFeature
now can handle hetero features.CachedFeature
can handle hetero features now.
ref = a[feature_key].read(ids) | ||
val = cached_a[feature_key].read(ids) | ||
torch.testing.assert_close(ref, val, rtol=0, atol=0) | ||
assert cached_a[feature_key].miss_rate < 0.69 |
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.
why is 0.69
? should we add comment here?
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.
It is just how it is. I tested both the cpu and the gpu and less than 0.69 miss rate is expected.
Description
Checklist
Please feel free to remove inapplicable items for your PR.
Changes