- 08 Jun, 2022 1 commit
-
-
Nicolas Hug authored
* [quant][core][better-engineering] Rename files in quantized directory to conform with non-quantized countertpart filenames (#77037) Summary: X-link: https://github.com/pytorch/pytorch/pull/77037 Names of analogous files in quantized directory (previously snake case) were inconsistent with their non-quantized filename counterparts (pascal case). This is the first of a series of PRs that changes all files in quantized (and sub-directories) dir to have pascal case. `aten/src/ATen/native/quantized/qconv_unpack.cpp` has not been renamed yet because (for reasons currently unknown) after making the name change, `import torch` produces the below error (`qlinear_unpack.cpp` renaming also seems to fail some phabricator CI tests for similar reasons). We suspect that these may be undefined errors and will revisit naming these files in a future PR. ``` terminate called after throwing an instance of 'c10::Error' what(): Type c10::intrusive_ptr<ConvPackedParamsBase<2> > could not be converted to any of the known types. Exception raised from operator() at ../aten/src/ATen/core/jit_type.h:1735 (most recent call first): frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) + 0x55 (0x7f26745c0c65 in /data/users/dzdang/pytorch/torch/lib/libc10.so) frame #1: c10::detail::torchCheckFail(char const*, char const*, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 0xb1 (0x7f26745bdcd1 in /data/users/dzdang/pytorch/torch/lib/libc10.so) frame #2: <unknown function> + 0x1494e24 (0x7f2663b14e24 in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #3: <unknown function> + 0xfed0bc (0x7f266366d0bc in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #4: c10::detail::infer_schema::make_function_schema(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, c10::ArrayRef<c10::detail::infer_schema::ArgumentDef>, c10::ArrayRef<c10::detail::infer_schema::ArgumentDef>) + 0x5a (0x7f266366d71a in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #5: c10::detail::infer_schema::make_function_schema(c10::ArrayRef<c10::detail::infer_schema::ArgumentDef>, c10::ArrayRef<c10::detail::infer_schema::ArgumentDef>) + 0x7b (0x7f266366e06b in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #6: <unknown function> + 0x1493f32 (0x7f2663b13f32 in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #7: <unknown function> + 0xe227dd (0x7f26634a27dd in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #8: <unknown function> + 0x14e0a (0x7f268c934e0a in /lib64/ld-linux-x86-64.so.2) ..........................truncated............. ``` Reviewed By: malfet Differential Revision: D36862332 Pulled By: dzdang fbshipit-source-id: 598c36656b4e71f906d940e7ff19ecf82d43031d * empty commit * empty commit * empty commit Co-authored-by:
dzdang <dzdang@umich.edu> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 30 May, 2022 1 commit
-
-
YosuaMichael authored
Differential Revision: D36671123 fbshipit-source-id: eb99f293978ed150bca60073115971586f0fa02a Co-authored-by:
Oleksandr Voietsa <ovoietsa@fb.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 19 Apr, 2022 1 commit
-
-
puhuk authored
To resolve issue #5815 Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 31 Mar, 2022 1 commit
-
-
Nicolas Hug authored
-
- 25 Mar, 2022 1 commit
-
-
Bruno Korbar authored
* fix for FFMPEG 5.0 * Attempt to fix memory leak * early stop when mem alloc fails * fix c lint error * fix bug * revert changes * remove incorrect av_packet_free * add `av_packet_free` to subtitle stream * Addressing subtitle stream comments * addressing decoder changes * nit * addressing datumbox concernsz * averror push * addressing comments * Apply suggestions from code review * add new error code to documentation * re-introducing timeout * fix c++ syntax Co-authored-by:
Bruno Korbar <bkorbar@quansight.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Joao Gomes <jdsgomes@fb.com> Co-authored-by:
Joao Gomes <joaopsgomes@gmail.com>
-
- 02 Mar, 2022 1 commit
-
-
Prabhat Roy authored
-
- 01 Mar, 2022 2 commits
-
-
Prabhat Roy authored
-
Prabhat Roy authored
-
- 25 Feb, 2022 1 commit
-
-
Nicolas Hug authored
-
- 15 Feb, 2022 1 commit
-
-
vfdev authored
* Removed custom ops for interp with AA * Fixed umft issues Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 11 Feb, 2022 1 commit
-
-
Joao Gomes authored
fbshipit-source-id: 85954dbb817fac16099a3b103b24defc1a8672f8 (cherry picked from commit 9642c8e710e8911c64b9878f51a30ecde95ac90a) Co-authored-by:Richard Barnes <rbarnes@fb.com>
-
- 08 Feb, 2022 1 commit
-
-
Philip Meier authored
* properly deprecate legacy implementation * cleanup * use warning over deprecation directive * remove patch version * fix link in Kinetics docstring * Some more * fix affine functional tests Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 01 Feb, 2022 1 commit
-
-
Prabhat Roy authored
-
- 27 Jan, 2022 1 commit
-
-
Prabhat Roy authored
-
- 24 Jan, 2022 2 commits
-
-
Prabhat Roy authored
* Add seek in GPU decoder * Merge the two tests * Refine unit test
-
Prabhat Roy authored
-
- 19 Jan, 2022 1 commit
-
-
Prabhat Roy authored
* Return RGB frames as output of GPU decoder * Move clamp to the conversion function * Cleaned up a bit * Remove utility functions from test * Use data member width directly * Fix linter error
-
- 17 Jan, 2022 1 commit
-
-
Daniel Falbel authored
* Conditionally include Python in the C++ builds. Added an option `USE_PYTHON` that allows users to decide to link to Python3 or not. * Also conditionally include this defintion. * Define `USE_PYTHON` for the Windows builds. * Remove Python3 reference in CMake test as it's no longer required. * Accidentally removed the closing > from the decl. * Also add `USE_PYTHON` when building the separate image library on Windows. * Also conditionally include this depening on USE_PYTHON. * Go back to require Python for this example. * Find Python in the hello world example. * Add a paragraph documenting the `USE_PYTHON` option. Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-
- 30 Dec, 2021 1 commit
-
-
Prabhat Roy authored
* [WIP] Add video GPU decoder * Expose use_dev_frame to python class and handle it internally * Fixed invalid argument CUDA error * Fixed empty and missing frames * Free remaining frames in the queue * Added nv12 to yuv420 conversion support for host frames * Added unit test and cleaned up code * Use CUDA_HOME inside if * Undo commented out code * Add Readme * Remove output_format and use_device_frame optional arguments from the VideoReader API * Cleaned up init() * Fix warnings * Fix python linter errors * Fix linter issues in setup.py * clang-format * Make reformat private * Member function naming * Add comments * Variable renaming * Code cleanup * Make return type of decode() void * Replace printing errors with throwing runtime_error * Replaced runtime_error with TORCH_CHECK in demuxer.h * Use CUDAGuard instead of cudaSetDevice * Remove printf * Use Tensor instead of uint8* and remove cuMemAlloc/cuMemFree * Use TORCH_CHECK instead of runtime_error * Use TORCHVISION_INCLUDE and TORCHVISION_LIBRARY to pass video codec location * Include ffmpeg_include_dir * Remove space * Removed use of runtime_error * Update Readme * Check for bsf.h * Change struct initialisation style * Clean-up get_operating_point * Make variable naming convention uniform * Move checking for bsf.h around * Fix linter error Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 22 Dec, 2021 1 commit
-
-
peterbell10 authored
* Fix missing Torch includes * Import op_registration directly
-
- 21 Dec, 2021 1 commit
-
-
Kai Zhang authored
* add api usage log for io * cover VideoReader * cover c++ APIs * add api usage log for io * cover VideoReader * cover c++ APIs * add _cpp suffix to c++ APIs * use new API and change cpp format * remove _cpp suffix * adopt new API * lint
-
- 16 Dec, 2021 1 commit
-
-
Kai Zhang authored
* log API v3 * make torchscript happy * make torchscript happy * add missing logs to constructor * log ops C++ API as well * fix type hint * check function with isinstance Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 14 Dec, 2021 1 commit
-
-
Zhiqiang Wang authored
-
- 22 Nov, 2021 1 commit
-
-
Joao Gomes authored
* change to stable sort in nms implementations
-
- 11 Nov, 2021 1 commit
-
-
Vasilis Vryniotis authored
-
- 10 Nov, 2021 2 commits
-
-
vfdev authored
Description: - Applied `contiguous` on decoded output tensor in decode_jpeg and decode_png ops - Updated tests and docs Related to #4880
- 05 Nov, 2021 1 commit
-
-
Prabhat Roy authored
-
- 03 Nov, 2021 1 commit
-
-
Bruno Korbar authored
* modify processPacket to support fast seek * add fastSeek to ProcessPacket decoder definition * add fastseek flag to DecoderParametersStruct * add fastseek flag to the process packet call * no default params in C++ implementation * enable flag in C++ implementation * make order of parameters more normal * register new seek with python api * [somewhat broken] test suite for keyframes using pyav * revert " changes * add type annotations to init * Adding tests * linter * Flake doesn't show up :| * Change from unitest to pytest syntax * add return type Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-
- 26 Oct, 2021 3 commits
-
-
Vasilis Vryniotis authored
-
Vasilis Vryniotis authored
Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/4620 Pull Request resolved: https://github.com/pytorch/nestedtensor/pull/455 Fixes missing kernel guards as identified by D30072495 Reviewed By: jingsh, xush6528 Differential Revision: D31553158 fbshipit-source-id: 80de017ba2ddc52e2a684df9b3eae5de84ed49f4 Co-authored-by:
Richard Barnes <rbarnes@fb.com>
-
Vasilis Vryniotis authored
Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/4571 Fixing windows build for `torchvision` when `MOBILE` is defined. In `csrc/vision.cpp`, since `PyMODINIT_FUNC` depends on `Python.h` I added the same condition for `PyMODINIT_FUNC` as the one for `import <PyTorch.h>`. Reviewed By: malfet Differential Revision: D31488734 fbshipit-source-id: fd52a9ab161288d9c8bf3b9e0ab9da856a4ebadb Co-authored-by:
Mengwei Liu <larryliu@fb.com>
-
- 25 Oct, 2021 1 commit
-
-
Nicolas Hug authored
-
- 21 Oct, 2021 1 commit
-
-
Nicolas Hug authored
* WIP * cleaner code * Add tests * Add docs * Assert dtype * put back check * Address comments Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 18 Oct, 2021 1 commit
-
-
Bruno Korbar authored
* initial commit * initial commit * flake8 * last nits Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-
- 27 Sep, 2021 1 commit
-
-
peterbell10 authored
* Update gpu atomics include path THC is being removed, and this header now lives in ATen. See pytorch/pytorch#65470. * Empty commit to trigger build Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 17 Sep, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Windows use size_t * Temporarily pin jpeg <=9b * Temporarily pin jpeg ==9c * Remove pinning.
-
- 10 Sep, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Add deprecation warnings on vision::models * Change the C++ example. * Chage readme. * Update deprecation warning.
-
- 06 Sep, 2021 1 commit
-
-
vfdev authored
* WIP on fixing index overflow issue * Fixed backward pass for large num_kernels * Fixed clang formatting * Fixed GET_BLOCKS int/int64_t types issue Co-authored-by:
vfdev-5 <vfdev-5@gmail.com> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 01 Sep, 2021 1 commit
-
-
Prabhat Roy authored
* Fixed a couple of typos and removed unnecessary bracket * Fixed clang error
-