Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Make fairscale not a hard dependecy and more robust imports #172

Closed
wants to merge 3 commits into from

Conversation

prigoyal
Copy link
Contributor

@prigoyal prigoyal commented Feb 4, 2021

Summary: while packaging vissl, we observed that fairscale didn't have latest conda packages. The only hard dependency on fairscale is using ShardedGradScalar. We move this import to inline where it's actually used and add asserts :) this helps to make fairscale not a hard dependency for vissl especially if some users may not want to do scaling in vissl

Reviewed By: min-xu-ai

Differential Revision: D26230353

Differential Revision: D26102068

fbshipit-source-id: 52575b44df09dd83c1c74ffecd5d1318fcda4e1f
Differential Revision: D26147504

fbshipit-source-id: 5db2d7e9157d6c567ef778c0dd2083848a0069b7
Summary: while packaging vissl, we observed that fairscale didn't have latest conda packages. The only hard dependency on fairscale is using ShardedGradScalar. We move this import to inline where it's actually used and add asserts :) this helps to make fairscale not a hard dependency for vissl especially if some users may not want to do scaling in vissl

Reviewed By: min-xu-ai

Differential Revision: D26230353

fbshipit-source-id: dc45adcac6cfde80f471dc3bd9341bb53b847a7f
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Feb 4, 2021
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a68220f.

facebook-github-bot pushed a commit that referenced this pull request Jul 19, 2021
…usion (#172)

Summary: Pull Request resolved: fairinternal/ssl_scaling#172

Reviewed By: iseessel

Differential Revision: D29767202

Pulled By: QuentinDuval

fbshipit-source-id: 60a36921963776bb5b25f9391af15c4c884d764f
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