Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Conversation

@ayushidalmia
Copy link

Summary:
In this diff we make changes to ensure we can control reproducibility in d2go:

  • update setup.py to enforce deterministic performance if set via config
  • set lightning parameters if deterministic is passed:
 {
                "sync_batchnorm": True,
                "deterministic": True,
                "replace_sampler_ddp": False,
 }
  • allow passing prefetch_factor, pin_memory, persistent_memory as args to batch dataloader.
  • minor fix in training sampler

Differential Revision: D55767128

Summary:
In this diff we make changes to ensure we can control reproducibility in d2go:

- update setup.py to enforce deterministic performance if set via config
- set lightning parameters if deterministic is passed:

```
 {
                "sync_batchnorm": True,
                "deterministic": True,
                "replace_sampler_ddp": False,
 }
```
- allow passing prefetch_factor, pin_memory, persistent_memory as args to batch dataloader.
- minor fix in training sampler

Differential Revision: D55767128
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 2, 2024
@facebook-github-bot
Copy link
Contributor

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

facebook-github-bot pushed a commit to facebookresearch/detectron2 that referenced this pull request May 2, 2024
Summary:
X-link: facebookresearch/d2go#661

X-link: fairinternal/detectron2#603

Pull Request resolved: #5273

In this diff we make changes to ensure we can control reproducibility in d2go:

- update setup.py to enforce deterministic performance if set via config
- set lightning parameters if deterministic is passed:

```
 {
                "sync_batchnorm": True,
                "deterministic": True,
                "replace_sampler_ddp": False,
 }
```
- allow passing prefetch_factor, pin_memory, persistent_memory as args to batch dataloader.
- minor fix in training sampler

Differential Revision: D55767128

fbshipit-source-id: eeab50c95969a91c58f1773473b6fc666494cc16
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in aa7716b.

jackhhao pushed a commit to mimic-labs/detectron2 that referenced this pull request May 7, 2024
Summary:
X-link: facebookresearch/d2go#661

X-link: https://github.com/fairinternal/detectron2/pull/603

Pull Request resolved: facebookresearch#5273

In this diff we make changes to ensure we can control reproducibility in d2go:

- update setup.py to enforce deterministic performance if set via config
- set lightning parameters if deterministic is passed:

```
 {
                "sync_batchnorm": True,
                "deterministic": True,
                "replace_sampler_ddp": False,
 }
```
- allow passing prefetch_factor, pin_memory, persistent_memory as args to batch dataloader.
- minor fix in training sampler

Differential Revision: D55767128

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants