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

Add contribution guide. #309

Merged
merged 2 commits into from
Feb 9, 2024
Merged

Add contribution guide. #309

merged 2 commits into from
Feb 9, 2024

Conversation

rom1504
Copy link
Collaborator

@rom1504 rom1504 commented Feb 8, 2024

Should help merging PR without introducing issues

Should help merging PR without introducing issues
@rom1504
Copy link
Collaborator Author

rom1504 commented Feb 8, 2024

any thought @iejMac @MattUnderscoreZhang ?

@rom1504 rom1504 merged commit 059f844 into main Feb 9, 2024
2 checks passed
@rom1504 rom1504 deleted the contribute branch February 9, 2024 17:41
@MattUnderscoreZhang
Copy link
Contributor

Yeah this sounds great. The 14.4 videos/s/core probably depends on your system though. I think it may be better to specify that the number on your system should be identical before and after your commit. I also think running just a subset of results_2M_val should be default, if your only intention is to check the speed. Otherwise the comparison would take many hours for each commit.

@MattUnderscoreZhang
Copy link
Contributor

It may also be good to specify what kind of environment to test on. For example, one with at least 16 cores. And it would be difficult for most people to test that e.g. Slurm is still working correctly.

@MattUnderscoreZhang
Copy link
Contributor

Unfortunately it's hard to specify a general test, because sometimes you also want to check that whatever subsampler you touched didn't reduce the speed. The webvid config specified basically only does video download, but e.g. if you touch the resolution subsampler you'd want to test with a config that included resolution downscaling in its processing pipeline. Thus it may make sense to test with your specific use case, as I did. Doing so would make the 14.4 videos/s/core benchmark even less relevant.

@rom1504
Copy link
Collaborator Author

rom1504 commented Feb 9, 2024

Yes we can add these details.

The correct way to address this is many automated tests, see #310

But a manual test of that kind is better than nothing

@rom1504
Copy link
Collaborator Author

rom1504 commented Feb 9, 2024

The 14.4 videos/s/core probably depends on your system though

I bet it doesn't depend that much. It may vary .5-2x but not much more

@MattUnderscoreZhang
Copy link
Contributor

Is it possible to set up a runner on an environment you guys have access to? You'd have to be ok with it running each time someone does a pull request, but it would make it easier to compare numbers on a standard setup.

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.

2 participants