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

fix: optimize images size #603

Merged
merged 1 commit into from
Oct 8, 2024
Merged

fix: optimize images size #603

merged 1 commit into from
Oct 8, 2024

Conversation

Borda
Copy link
Contributor

@Borda Borda commented Oct 8, 2024

The image on the landing page is about 4.4MB which with some slower internet connections takes too long also keeping this large file in git is not ideal.

So I just used tinypng.com to do its job and it reduced about 77%
I think that there shall also be argument to always check all files

- id: check-added-large-files
args: ['--maxkb=500']

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 8, 2024
@awgu
Copy link
Contributor

awgu commented Oct 8, 2024

looks good to me, going to merge

@awgu awgu merged commit 25ec560 into pytorch:main Oct 8, 2024
5 checks passed
@Borda Borda deleted the asset/img branch October 8, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants