Skip to content
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

Make CowClipDefinition and CounterBasedRegularizationDefinition hashable #2539

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

csmiler
Copy link

@csmiler csmiler commented Apr 27, 2024

Differential Revision: D56643198

Copy link

netlify bot commented Apr 27, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 04ef3e1
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/662d6ae1d9af39000814ceca
😎 Deploy Preview https://deploy-preview-2539--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Summary:
Mutable dataclass fails at https://fburl.com/code/dksx3yjo due to
```
TypeError: unhashable type: 'CowClipDefinition'
```
https://www.internalfb.com/mlhub/pipelines/runs/mast/aps-350x_eb6_64_2560_0311_optim_eps_cowclip-a653e81151?job_attempt=0&version=0&env=PRODUCTION

Making these definitions `frozen` fixes the problem.

Differential Revision: D56643198
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants