Commit Graph

4 Commits

Author SHA1 Message Date
generatedunixname89002005232357
1f7f85c0a3 Revert D107142434: Enable Pyrefly in fbcode/vision/fair
Differential Revision:
D107142434

Original commit changeset: 25929bb3d5a3

Original Phabricator Diff: D107142434

fbshipit-source-id: 0aecaeba28d7d8db8f9273406a080e41aa77c4a7
2026-06-02 16:19:57 -07:00
generatedunixname89002005307016
05025bf005 Enable Pyrefly in fbcode/vision/fair
Summary:
Automated migration to enable Pyrefly type checking for `fbcode/vision/fair`.

- Added `python.set_pyrefly(True)` to PACKAGE file
- Suppressed pre-existing type errors

Pyrefly is Meta's next-generation Python type checker, replacing Pyre.

If you encounter issues, you can revert the PACKAGE change by removing
the `python.set_pyrefly(True)` line.
#pyreupgrade

Differential Revision: D107142434

fbshipit-source-id: 25929bb3d5a310d00dab11a46c5395df94357feb
2026-06-02 06:18:19 -07:00
Conner Nilsen
a27755db41 Pyre Configurationless migration for] [batch:85/112] [shard:6/N]
Reviewed By: inseokhwang

Differential Revision: D54438157

fbshipit-source-id: a6acfe146ed29fff82123b5e458906d4b4cee6a2
2024-03-04 18:30:37 -08:00
David Novotny
80fc0ee0b6 Better seeding of random engines
Summary: Currently, seeds are set only inside the train loop. But this does not ensure that the model weights are initialized the same way everywhere which makes all experiments irreproducible. This diff fixes it.

Reviewed By: bottler

Differential Revision: D38315840

fbshipit-source-id: 3d2ecebbc36072c2b68dd3cd8c5e30708e7dd808
2022-08-01 10:03:09 -07:00