Repository navigation
Unpinned the libjpeg version and fixed jpeg_mem_dest's size type Wind… - #4288
Conversation
|
Hi @zzk1st! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
|
Thanks for working on this @zzk1st ! We'll also need to make sure everything works on the fbcode side before merging this. Is there a corresponding diff on fbcode? If not let us know and we'll help you import the changes from GH to fbcode. |
There was a problem hiding this comment.
Thanks for your PR.
I think the approach of defining a type conditionally will work. I like that you avoid using the preprocessor. I left one comment concerning windows, let me know what you think.
Before merging we should:
- Check that this patch works with both pinned and unpinned JPEG. This will help us ensure the solution works across different platforms and versions. A quick and dirty way to do this is to run the CI tests twice with the pinned and without it and confirm that all is green.
- Port this on FBcode and confirm that everything works there too.
The CI is currently a bit broken but based on what I see on master, it's only the cmake_windows_gpu job that should be failing. Worth checking that the current CI failures as I see they are related. Check the attached log file binary_linux_wheel_py3.6_cpu.log
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
4a45060 to
ddadf4b
Compare
ddadf4b to
1605654
Compare
|
@zzk1st Looks like the patch works also with 9b. :) Remove the pinning again and let's test this on FBcode. |
|
Thanks for the contribution @zzk1st! |
…type Wind… (#4288) Summary: * Unpinned the libjpeg version and fixed jpeg_mem_dest's size type Windows BC issue * Temporarily get back pinned jpeg lib in order to run tests on CircleCI * Revert "Temporarily get back pinned jpeg lib in order to run tests on CircleCI" This reverts commit ab18a35. * Used using instead of typedef and Fixed comment typo Reviewed By: fmassa Differential Revision: D30525893 fbshipit-source-id: bae9830e2d2212b9575a9ba6b4cc8313ba91e395 Co-authored-by: Zhongkai Zhu <zhongkai@fb.com> Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
|
Hi @datumbox @zzk1st - Since this commit relaxes dependency constraints on the conda packages, I wanted to ask if there any chance you'd consider re-building/releasing the conda packages for |
|
Thanks @cprobert-insitro The releases are coordinated along with PyTorch core, so it's something we can look into. I think if a revision is within the plans to be released (TBD) we can cherrypick this PR and fix the jpeg version issues. Edit: We cherrypicked it here #4344 it should land in 0.10.1 but we don't have dates yet. |
Fixes #4181