1. 11 Jul, 2024 1 commit
    • Jeremy Reizenstein's avatar
      remove fvcore dependency · 4df110b0
      Jeremy Reizenstein authored
      Summary: This is not actually needed and is causing a conda-forge confusion to do with python_abi - which needs users to have `-c conda-forge` when they install pytorch3d.
      
      Reviewed By: patricklabatut
      
      Differential Revision: D59587930
      
      fbshipit-source-id: 961ae13a62e1b2b2ce6d8781db38bd97eca69e65
      4df110b0
  2. 17 Oct, 2023 1 commit
    • Jeremy Reizenstein's avatar
      pytorch 2.1, drop mac builds · 28f914bf
      Jeremy Reizenstein authored
      Summary: Build updates for PyTorch 2.1
      
      Reviewed By: MichaelRamamonjisoa
      
      Differential Revision: D50345762
      
      fbshipit-source-id: 89bf4edf1c21566aa86a3abca9b4df7c4d1d17a2
      28f914bf
  3. 25 Apr, 2023 1 commit
    • Roman Shapovalov's avatar
      SQL Index Dataset · 32e19929
      Roman Shapovalov authored
      Summary:
      Moving SQL dataset to PyTorch3D. It has been extensively tested in pixar_replay.
      
      It requires SQLAlchemy 2.0, which is not supported in fbcode. So I exclude the sources and tests that depend on it from buck TARGETS.
      
      Reviewed By: bottler
      
      Differential Revision: D45086611
      
      fbshipit-source-id: 0285f03e5824c0478c70ad13731525bb5ec7deef
      32e19929
  4. 31 Aug, 2022 1 commit
  5. 21 Aug, 2022 1 commit
    • Jeremy Reizenstein's avatar
      Don't force C++14 · 06cbba26
      Jeremy Reizenstein authored
      Summary: Remove compiler arguments which insist on C++14.
      
      Reviewed By: kjchalup
      
      Differential Revision: D38858887
      
      fbshipit-source-id: 542173ec97cacfa724d14c8a4b9ce9dc2457c5d5
      06cbba26
  6. 08 Aug, 2022 1 commit
  7. 05 Aug, 2022 1 commit
  8. 13 Jul, 2022 1 commit
    • Jeremy Reizenstein's avatar
      add accelerate dependency · 55f67b0d
      Jeremy Reizenstein authored
      Summary: Accelerate is an additional implicitron dependency, so document it.
      
      Reviewed By: shapovalov
      
      Differential Revision: D37786933
      
      fbshipit-source-id: 11024fe604107881f8ca29e17cb5cbfe492fc7f9
      55f67b0d
  9. 17 May, 2022 1 commit
    • Jeremy Reizenstein's avatar
      don't check black version · cd7b8851
      Jeremy Reizenstein authored
      Summary: skip checking the version of black because `black --version` looks different in different versions.
      
      Reviewed By: kjchalup
      
      Differential Revision: D36441262
      
      fbshipit-source-id: a2d9a5cad4f5433909fb85bc9a584e91a2b72601
      cd7b8851
  10. 12 May, 2022 1 commit
    • John Reese's avatar
      formatting changes from black 22.3.0 · bef959c7
      John Reese authored
      Summary:
      Applies the black-fbsource codemod with the new build of pyfmt.
      
      paintitblack
      
      Reviewed By: lisroach
      
      Differential Revision: D36324783
      
      fbshipit-source-id: 280c09e88257e5e569ab729691165d8dedd767bc
      bef959c7
  11. 26 Apr, 2022 2 commits
    • Jeremy Reizenstein's avatar
      isort->usort · 9f443ed2
      Jeremy Reizenstein authored
      Summary: Move from isort to usort now that usort supports sorting within lines.
      
      Reviewed By: patricklabatut
      
      Differential Revision: D35893280
      
      fbshipit-source-id: 621c1cd285199d785408504430ee0bdf8683b21e
      9f443ed2
    • Jeremy Reizenstein's avatar
      fix entry points in setup.py · 41c594ca
      Jeremy Reizenstein authored
      Summary: For `pip install` without -e, we need to name the entry point functions in setup.py.
      
      Reviewed By: patricklabatut
      
      Differential Revision: D35933037
      
      fbshipit-source-id: be15ae1a4bb7c5305ea2ba992d07f3279c452250
      41c594ca
  12. 13 Apr, 2022 1 commit
    • Tim Hatch's avatar
      apply import merging for fbcode/vision/fair (2 of 2) · 34bbb3ad
      Tim Hatch authored
      Summary:
      Applies new import merging and sorting from µsort v1.0.
      
      When merging imports, µsort will make a best-effort to move associated
      comments to match merged elements, but there are known limitations due to
      the diynamic nature of Python and developer tooling. These changes should
      not produce any dangerous runtime changes, but may require touch-ups to
      satisfy linters and other tooling.
      
      Note that µsort uses case-insensitive, lexicographical sorting, which
      results in a different ordering compared to isort. This provides a more
      consistent sorting order, matching the case-insensitive order used when
      sorting import statements by module name, and ensures that "frog", "FROG",
      and "Frog" always sort next to each other.
      
      For details on µsort's sorting and merging semantics, see the user guide:
      https://usort.readthedocs.io/en/stable/guide.html#sorting
      
      Reviewed By: bottler
      
      Differential Revision: D35553814
      
      fbshipit-source-id: be49bdb6a4c25264ff8d4db3a601f18736d17be1
      34bbb3ad
  13. 28 Mar, 2022 1 commit
    • Jeremy Reizenstein's avatar
      setup.py for implicitron_trainer · 0c3bed55
      Jeremy Reizenstein authored
      Summary: Enable `pytorch3d_implicitron_runner` executable
      
      Reviewed By: shapovalov
      
      Differential Revision: D34754902
      
      fbshipit-source-id: 213f3e9183e3f7dd7b4df16ad77d95fbc971d625
      0c3bed55
  14. 24 Mar, 2022 1 commit
    • Jeremy Reizenstein's avatar
      windows fix · f2cf9d4d
      Jeremy Reizenstein authored
      Summary: Attempt to reduce nvcc trouble on windows by (1) avoiding flag for c++14 and (2) avoiding `torch/extension.h`, which introduces pybind11, in `.cu` files.
      
      Reviewed By: patricklabatut
      
      Differential Revision: D34969868
      
      fbshipit-source-id: f3878d6a2ba9d644e87ae7b6377cb5008b4b6ce3
      f2cf9d4d
  15. 04 Jan, 2022 1 commit
    • Jeremy Reizenstein's avatar
      Update license for company name · 9eeb456e
      Jeremy Reizenstein authored
      Summary: Update all FB license strings to the new format.
      
      Reviewed By: patricklabatut
      
      Differential Revision: D33403538
      
      fbshipit-source-id: 97a4596c5c888f3c54f44456dc07e718a387a02c
      9eeb456e
  16. 22 Jun, 2021 2 commits
    • Jeremy Reizenstein's avatar
      Fix build for package_data · bbc12e70
      Jeremy Reizenstein authored
      Summary: include_package_data does not work well in the presence of built extensions, and the OSS build hasn't been working for a few days since #593 was merged.
      
      Reviewed By: patricklabatut
      
      Differential Revision: D29302315
      
      fbshipit-source-id: db7e46f8c4593743c3522087979592f9989c7c6b
      bbc12e70
    • Patrick Labatut's avatar
      License lint codebase · af93f348
      Patrick Labatut authored
      Summary: License lint codebase
      
      Reviewed By: theschnitz
      
      Differential Revision: D29001799
      
      fbshipit-source-id: 5c59869911785b0181b1663bbf430bc8b7fb2909
      af93f348
  17. 18 Jun, 2021 1 commit
  18. 05 Feb, 2021 1 commit
    • Jeremy Reizenstein's avatar
      Build wheels for s3 · e0753f0b
      Jeremy Reizenstein authored
      Summary: For Linux, instead of uploading wheels to PyPI which will only work with one particular version of PyTorch and CUDA, from the next release we will store a range of built wheels on S3.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D26209398
      
      fbshipit-source-id: 945a6907b78807e1eedb25007f87f90bbf59f80e
      e0753f0b
  19. 11 Jan, 2021 1 commit
    • Jeremy Reizenstein's avatar
      Do not set ccbin in torch 1.7.x · b24d89a2
      Jeremy Reizenstein authored
      Summary:
      PyTorch versions 1.7.0 and 1.7.1 are between https://github.com/pytorch/pytorch/pull/43931 and https://github.com/pytorch/pytorch/pull/47404. In this gap, PyTorch always copies CC to nvcc_args, like PyTorch3D does. Newer nvcc versions are not happy with `-ccbin` being specified twice, even if it is specified twice the same. We update PyTorch3D so that it doesn't supply `-ccbin` in these cases.
      
      Also tweak the detection of the current ccbin so that it is aware that `-ccbin foo` and `-ccbin=foo` are equivalent.
      
      Reviewed By: theschnitz
      
      Differential Revision: D25825468
      
      fbshipit-source-id: b04e7718cf01820649518eedda99c399c732e8af
      b24d89a2
  20. 24 Dec, 2020 1 commit
    • Jeremy Reizenstein's avatar
      iopath dependency · 513a6476
      Jeremy Reizenstein authored
      Summary: Add ioPath as a dependency of PyTorch3D in preparation for using the new PathManager.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D25372971
      
      fbshipit-source-id: d8aa661d2de975e747dd494edc42bf843990cf68
      513a6476
  21. 10 Nov, 2020 1 commit
    • Jeremy Reizenstein's avatar
      pulsar build and CI changes · d220ee2f
      Jeremy Reizenstein authored
      Summary:
      Changes to CI and some minor fixes now that pulsar is part of pytorch3d. Most significantly, add CUB to CI builds.
      
      Make CUB_HOME override the CUB already in cudatoolkit (important for cuda11.0 which uses cub 1.9.9 which pulsar doesn't work well with.
      Make imageio available for testing.
      Lint fixes.
      Fix some test verbosity.
      Avoid use of atomicAdd_block on older GPUs.
      
      Reviewed By: nikhilaravi, classner
      
      Differential Revision: D24773716
      
      fbshipit-source-id: 2428356bb2e62735f2bc0c15cbe4cff35b1b24b8
      d220ee2f
  22. 03 Nov, 2020 2 commits
    • Christoph Lassner's avatar
      examples and docs. · 039e0260
      Christoph Lassner authored
      Summary: This diff updates the documentation and tutorials with information about the new pulsar backend. For more information about the pulsar backend, see the release notes and the paper (https://arxiv.org/abs/2004.07484). For information on how to use the backend, see the point cloud rendering notebook and the examples in the folder docs/examples.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D24498129
      
      fbshipit-source-id: e312b0169a72b13590df6e4db36bfe6190d742f9
      039e0260
    • Christoph Lassner's avatar
      pulsar interface unification. · 960fd6d8
      Christoph Lassner authored
      Summary:
      This diff builds on top of the `pulsar integration` diff to provide a unified interface for the existing PyTorch3D point renderer and Pulsar. For more information about the pulsar backend, see the release notes and the paper (https://arxiv.org/abs/2004.07484). For information on how to use the backend, see the point cloud rendering notebook and the examples in the folder docs/examples.
      
      The unified interfaces are completely consistent. Switching the render backend is as easy as using `renderer = PulsarPointsRenderer(rasterizer=rasterizer).to(device)` instead of `renderer = PointsRenderer(rasterizer=rasterizer, compositor=compositor)` and adding the `gamma` parameter to the forward function. All PyTorch3D camera types are supported as far as possible; keyword arguments are properly forwarded to the camera. The `PerspectiveCamera` and `OrthographicCamera` require znear and zfar as additional parameters for the forward pass.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D21421443
      
      fbshipit-source-id: 4aa0a83a419592d9a0bb5d62486a1cdea9d73ce6
      960fd6d8
  23. 26 Apr, 2020 1 commit
    • Jeremy Reizenstein's avatar
      version 0.2.0 · 686c8666
      Jeremy Reizenstein authored
      Summary: Update version number for version 0.2.0.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D21157358
      
      fbshipit-source-id: 32a5b93e5dc65a31a806a5ce7231f8603fe02e85
      686c8666
  24. 25 Apr, 2020 1 commit
    • Jeremy Reizenstein's avatar
      Driver update for ci, easier diagnosing · 232e4a7e
      Jeremy Reizenstein authored
      Summary: Bump the nvidia driver used in the conda tests. Add an environment variable (unused) to allow building without ninja. Print relative error on assertClose failure.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D21227373
      
      fbshipit-source-id: 5dd8eb097151da27d3632daa755a1e7b9ac97845
      232e4a7e
  25. 29 Mar, 2020 1 commit
    • Patrick Labatut's avatar
      Address black + isort fbsource linter warnings · d57daa6f
      Patrick Labatut authored
      Summary: Address black + isort fbsource linter warnings from D20558374 (previous diff)
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D20558373
      
      fbshipit-source-id: d3607de4a01fb24c0d5269634563a7914bddf1c8
      d57daa6f
  26. 17 Mar, 2020 1 commit
    • Patrick Labatut's avatar
      Use a consistent case for PyTorch3D · 25d2e2c8
      Patrick Labatut authored
      Summary: Use a consistent case for PyTorch3D (matching the logo...): replace all occurrences of PyTorch3d with PyTorch3D across the codebase (including documentation and notebooks)
      
      Reviewed By: wanyenlo, gkioxari
      
      Differential Revision: D20427546
      
      fbshipit-source-id: 8c7697f51434c51e99b7fe271935932c72a1d9b9
      25d2e2c8
  27. 13 Mar, 2020 1 commit
    • Jeremy Reizenstein's avatar
      Version number in one place in the code. · 4d3c8866
      Jeremy Reizenstein authored
      Summary:
      This isn't the whole task, but it gets the version number into far fewer places.
      
      The doc / website are separate.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D20426113
      
      fbshipit-source-id: 5810d1eca58b443fcd5f46991dc2f0f26adedbd8
      4d3c8866
  28. 12 Mar, 2020 1 commit
    • Patrick Labatut's avatar
      Remove shebang line when not strictly required · 3c71ab64
      Patrick Labatut authored
      Summary: The shebang line `#!<path to interpreter>` is only required for Python scripts, so remove it on source files for class or function definitions. Additionally explicitly mark as executable the actual Python scripts in the codebase.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D20095778
      
      fbshipit-source-id: d312599fba485e978a243292f88a180d71e1b55a
      3c71ab64
  29. 07 Mar, 2020 1 commit
    • Jeremy Reizenstein's avatar
      version 0.1.1 · cf8e667b
      Jeremy Reizenstein authored
      Summary: Bumping the version number to 0.1.1 and thereby documenting all the places where the version number currently appears in the code.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D20067382
      
      fbshipit-source-id: 76a25ed1d4036f51357e4ae3e0f07de32ad114ae
      cf8e667b
  30. 24 Feb, 2020 1 commit
  31. 27 Jan, 2020 1 commit
  32. 23 Jan, 2020 1 commit