1. 21 Oct, 2022 6 commits
    • Vasilis Vryniotis's avatar
      Add PermuteDimensions and TransposeDimensions transforms (#6800) · f88ab124
      Vasilis Vryniotis authored
      * Add PermuteDimensions and TransposeDimensions transforms
      
      * Strip Subclass info.
      
      * Apply changes from code review.
      f88ab124
    • Philip Meier's avatar
      Unwrap features before passing them into a kernel (#6807) · 37618552
      Philip Meier authored
      * unwrap features before calling the kernels
      
      * revert double unwrapping
      
      * cleanup
      
      * remove debug raise
      
      * more cleanup
      37618552
    • vfdev's avatar
      [proto] Enable GPU tests on prototype (#6665) · d0de55db
      vfdev authored
      * [proto][WIP] Enable GPU tests on prototype
      
      * Update prototype-tests.yml
      
      * tests on gpu as separate file
      
      * Removed matrix setup
      
      * Update prototype-tests-gpu.yml
      
      * Update prototype-tests-gpu.yml
      
      * Added --gpus=all flag
      
      * Added xfail for cuda vs cpu tolerance issue
      
      * Update prototype-tests-gpu.yml
      d0de55db
    • Philip Meier's avatar
      another round of perf improvements for equalize (#6776) · c0417987
      Philip Meier authored
      
      
      * perf improvements for equalize
      Co-authored-by: default avatarlezcano <lezcano-93@hotmail.com>
      
      * improve reference tests
      
      * add extensive comments and minor fixes to the kernel
      
      * improve comments
      Co-authored-by: default avatarlezcano <lezcano-93@hotmail.com>
      c0417987
    • vfdev's avatar
      [proto] Speed up adjust color ops (#6784) · 9f024a6e
      vfdev authored
      * WIP
      
      * _blend optim v1
      
      * _blend and color ops optims: v2
      
      * updated a/r tol and configs to make tests pass
      
      * Loose a/r tolerance in AA tests
      
      * Use custom rgb_to_grayscale
      
      * Renamed img -> image
      
      * nit code update
      
      * PR review
      
      * adjust_contrast convert to float32 earlier
      
      * Revert "adjust_contrast convert to float32 earlier"
      
      This reverts commit a82cf8c739d02acd9868ebee4b8b99d101c3e45e.
      9f024a6e
    • Joao Gomes's avatar
      Read video from memory newapi (#6771) · 06ad05fa
      Joao Gomes authored
      * add tensor as optional param
      
      * add init from memory
      
      * fix bug
      
      * fix bug
      
      * first working version
      
      * apply formatting and add tests
      
      * simplify tests
      
      * fix tests
      
      * fix wrong variable name
      
      * add path as optional parameter
      
      * add src as optional
      
      * address pr comments
      
      * Fix warning messages
      
      * address pr comments
      
      * make tests stricter
      
      * Revert "make tests stricter"
      
      This reverts commit 6c92e94e8372f381c9496c9f885c2c71b6a4356b.
      06ad05fa
  2. 20 Oct, 2022 2 commits
    • Omkar Salpekar's avatar
      [Nova] Migrate Linux CPU job to Generic Job (#6797) · 246de077
      Omkar Salpekar authored
      * [Nova] Migrate Linux CPU job to Generic Job
      
      * branch ref for composite action job
      
      * move checkout step to separate job
      
      * added runs-on
      
      * nit fixes
      
      * no need to run conda sheel script thing
      
      * Channel is set inside the script
      
      * add remaining env vars
      
      * nit env var fix
      
      * cleanup
      
      * simplify unneeded jobs
      
      * name of the conda env should be the path
      
      * remove main ref to use PR
      246de077
    • Philip Meier's avatar
      improve perf on convert_image_dtype and add tests (#6795) · 211563fb
      Philip Meier authored
      * improve perf on convert_image_dtype and add tests
      
      * add reference tests
      
      * use bitshifts for int to int
      
      * revert bitshifts for int to int upscale
      
      * fix warning ignore
      211563fb
  3. 19 Oct, 2022 2 commits
  4. 18 Oct, 2022 3 commits
  5. 17 Oct, 2022 3 commits
    • Omkar Salpekar's avatar
      [Nova] Add GHA Linux CPU Unittests for Torchvision (#6759) · 0610b13a
      Omkar Salpekar authored
      * [Nova][WIP] Add Linux CPU Unittests for Torchvision
      
      * use conda-builder image since conda installation is needed
      
      * install torch dep with conda instead
      
      * use circleCI command to run tests
      
      * larger instance to avoid OOM issues
      
      * proper syntax for self-hosted runners
      
      * 4xlarge instance
      
      * 8xlarge
      
      * 12xlarge
      
      * use setup-miniconda job
      
      * add back PATH change to help setup py detect conda
      
      * run conda shell script
      
      * install other deps up front
      
      * git config and undo path change
      
      * revert to local conda install
      
      * conda-builder image
      
      * support for whole python version matrix
      
      * clean up the conda env once we are done with the job
      0610b13a
    • vfdev's avatar
      [proto] Small optimization for gaussian_blur functional op (#6762) · decb1919
      vfdev authored
      * Use softmax in _get_gaussian_kernel1d
      
      * Revert "Use softmax in _get_gaussian_kernel1d"
      
      This reverts commit eb8fba36302d2da9e06e6f40afaaf901b276a771.
      
      * Code update
      
      * Relaxed tolerance in consistency tests for GaussianBlur and ElasticTransform
      
      * Code review updates
      
      * Update test_prototype_transforms_consistency.py
      decb1919
    • vfdev's avatar
      [proto] Reduce number of calls of __torch_function__ (#6681) · 149edda4
      vfdev authored
      
      
      * [proto] Reduce number of calls of __torch_function__
      
      * Use DisableTorchFunction and super
      
      * Use self._tensor
      
      * Fixes mypy and color space handling
      
      * revert Image.new_like
      
      * WIP
      
      * Perf opt with ref to tensor and properties
      
      * Removed requires_grad property
      
      * Use _tensor ref
      
      * Revert "Use _tensor ref"
      
      This reverts commit 38f8e21242830fed46ddf31287edb67c1abd124a.
      
      * Update torchvision/prototype/features/_feature.py
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      149edda4
  6. 15 Oct, 2022 1 commit
  7. 14 Oct, 2022 6 commits
  8. 13 Oct, 2022 6 commits
  9. 12 Oct, 2022 3 commits
  10. 11 Oct, 2022 6 commits
  11. 10 Oct, 2022 2 commits