Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

auto-format binarize.py (black + isort) - #1671

Closed
jhcross wants to merge 1 commit into
facebookresearch:masterfrom
jhcross:export-D19701981
Closed

auto-format binarize.py (black + isort)#1671
jhcross wants to merge 1 commit into
facebookresearch:masterfrom
jhcross:export-D19701981

Conversation

@jhcross

@jhcross jhcross commented Feb 3, 2020

Copy link
Copy Markdown
Contributor

Summary: Formatting changes for uniformity and to make subsequent changes more clear.

Differential Revision: D19701981

Summary: Formatting changes for uniformity and to make subsequent changes more clear.

Differential Revision: D19701981

fbshipit-source-id: 76aa3aa4b2670f9686a69c1a463ebd8ef0b668b7
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D19701981

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 8185722.

moussaKam pushed a commit to moussaKam/language-adaptive-pretraining that referenced this pull request Sep 29, 2020
Summary:
Pull Request resolved: facebookresearch#1671

Formatting changes for uniformity and to make subsequent changes more clear.

Reviewed By: cndn

Differential Revision: D19701981

fbshipit-source-id: a40021c2361bef3e30dd58882322dbf9a9cf976a
yzpang pushed a commit to yzpang/gold-off-policy-text-gen-iclr21 that referenced this pull request Feb 19, 2021
Summary:
Pull Request resolved: facebookresearch/fairseq#1671

Formatting changes for uniformity and to make subsequent changes more clear.

Reviewed By: cndn

Differential Revision: D19701981

fbshipit-source-id: a40021c2361bef3e30dd58882322dbf9a9cf976a
yzpang pushed a commit to yzpang/gold-off-policy-text-gen-iclr21 that referenced this pull request Feb 19, 2021
Summary:
Pull Request resolved: facebookresearch/fairseq#1671

Formatting changes for uniformity and to make subsequent changes more clear.

Reviewed By: cndn

Differential Revision: D19701981

fbshipit-source-id: a40021c2361bef3e30dd58882322dbf9a9cf976a
facebook-github-bot pushed a commit that referenced this pull request Mar 4, 2021
Summary:
there are a few changes here:
- convert config persisted in checkpoints into a plain dict when saving and back to omegaconf config when loading: this helps avoid compatibility issues between different versions of python, omegaconf, etc
- update checkpoints that have old print_alignment saved
- add lr_float to composite optimizer to enable sweeping on lr with auto sweepers like ax
- fixing some edge cases for config loading

Pull Request resolved: fairinternal/fairseq-py#1671

Reviewed By: myleott

Differential Revision: D26791583

Pulled By: alexeib

fbshipit-source-id: 124dec74932052925c43b6a93130f4428803cb46
sshleifer pushed a commit that referenced this pull request Apr 7, 2021
Summary:
there are a few changes here:
- convert config persisted in checkpoints into a plain dict when saving and back to omegaconf config when loading: this helps avoid compatibility issues between different versions of python, omegaconf, etc
- update checkpoints that have old print_alignment saved
- add lr_float to composite optimizer to enable sweeping on lr with auto sweepers like ax
- fixing some edge cases for config loading

Pull Request resolved: fairinternal/fairseq-py#1671

Reviewed By: myleott

Differential Revision: D26791583

Pulled By: alexeib

fbshipit-source-id: 124dec74932052925c43b6a93130f4428803cb46
Harleen8118 pushed a commit to Harleen8118/IBERT that referenced this pull request Jun 26, 2025
Summary:
Pull Request resolved: facebookresearch/fairseq#1671

Formatting changes for uniformity and to make subsequent changes more clear.

Reviewed By: cndn

Differential Revision: D19701981

fbshipit-source-id: a40021c2361bef3e30dd58882322dbf9a9cf976a
caltia pushed a commit to caltia/fairseq that referenced this pull request Jul 8, 2025
Summary:
Pull Request resolved: facebookresearch/fairseq#1671

Formatting changes for uniformity and to make subsequent changes more clear.

Reviewed By: cndn

Differential Revision: D19701981

fbshipit-source-id: a40021c2361bef3e30dd58882322dbf9a9cf976a
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants