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

Only download CLIP on rank 0 when doing eval #135

Merged
merged 4 commits into from
Apr 15, 2024

Conversation

coryMosaicML
Copy link
Collaborator

This PR has a fix to avoid multiple downloads of the CLIP model used to compute CLIP-FID in cleanfid. Also included is an optional additional pass through of additional args to model.generate in the evaluator.

Copy link
Contributor

@Landanjs Landanjs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just 2 nits, feel free to ignore

diffusion/evaluation/clean_fid_eval.py Outdated Show resolved Hide resolved
diffusion/evaluation/clean_fid_eval.py Show resolved Hide resolved
@coryMosaicML coryMosaicML merged commit 41b13bc into mosaicml:main Apr 15, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants