1. 22 Jun, 2021 1 commit
    • 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
  2. 21 Jun, 2021 1 commit
    • Jeremy Reizenstein's avatar
      conda timeout in CI · 9c09c0d3
      Jeremy Reizenstein authored
      Summary: Conda build command can be very slow at resolving dependencies with PyTorch 1.8. I extended the timeout for this in the tests. Here do the same for the builds.
      
      Reviewed By: patricklabatut
      
      Differential Revision: D29131188
      
      fbshipit-source-id: 554e694f0f8aa7509141016720b1e9019177b214
      9c09c0d3
  3. 14 Jun, 2021 1 commit
    • Jeremy Reizenstein's avatar
      PyTorch 1.8 builds · 9de627e0
      Jeremy Reizenstein authored
      Summary: Nightly builds to support PyTorch 1.8.0 and PyTorch 1.8.1.
      
      Reviewed By: patricklabatut
      
      Differential Revision: D29098081
      
      fbshipit-source-id: fc6b36e919892ea41979a03e64a6fc8003528b78
      9de627e0
  4. 23 Mar, 2021 1 commit
    • Jeremy Reizenstein's avatar
      CI fixes · cc08c6b2
      Jeremy Reizenstein authored
      Summary:
      Update `main` build to latest CircleCI image - Ubuntu 2020.04.
      
      Avoid torch.logical_or and logical_and for PyTorch 1.4 compatibility.
      
      Also speed up the test run with Pytorch 1.4.0 (which has no ninja) by not setting NVCC_FLAGS for it.
      
      Reviewed By: theschnitz
      
      Differential Revision: D27262327
      
      fbshipit-source-id: ddc359d134b1dc755f8b20bd3f33bb080cb3a0e1
      cc08c6b2
  5. 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
  6. 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
  7. 14 Dec, 2020 1 commit
    • Jeremy Reizenstein's avatar
      nightlies with pytorch 1.7.1 · 16a0be79
      Jeremy Reizenstein authored
      Summary: Add nightly linux conda builds with the new pytorch 1.7.1. This supports python 3.9.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D25532757
      
      fbshipit-source-id: b734637063e148389951899450566275f3cf5831
      16a0be79
  8. 03 Dec, 2020 1 commit
    • Jeremy Reizenstein's avatar
      Slow pull from docker · 0216e468
      Jeremy Reizenstein authored
      Summary: The "manual" docker pull in the testrun builds has been taking more than 10 minutes recently, and its lack of output causes circleci to timeout. As a quick fix, we enable the output from this operation.
      
      Reviewed By: gkioxari
      
      Differential Revision: D25305127
      
      fbshipit-source-id: 19682bfa0294145457a37df6d6faf7a08dcc63c9
      0216e468
  9. 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
  10. 02 Nov, 2020 1 commit
    • Jeremy Reizenstein's avatar
      Docker authentication · d5650323
      Jeremy Reizenstein authored
      Summary: To avoid docker's new ratelimiting, we sign in.
      
      Reviewed By: theschnitz
      
      Differential Revision: D24681688
      
      fbshipit-source-id: 6bb1a86ee15a151758e8a2bdb081da280308ad0c
      d5650323
  11. 29 Oct, 2020 1 commit
    • Jeremy Reizenstein's avatar
      pytorch 1.7 support · 6f4697bc
      Jeremy Reizenstein authored
      Summary: CircleCI build configuration to support pytorch1.7, including binaries with cuda 11.0. Note that the default torch on pip is still on cuda 10.2, so I have left the `main` (non conda build) on cuda 10.2 with the existing driver.
      
      Reviewed By: gkioxari
      
      Differential Revision: D24623523
      
      fbshipit-source-id: 59cfa1be06c16225f0f12ed336c07220e8a9a511
      6f4697bc
  12. 23 Sep, 2020 1 commit
  13. 25 Aug, 2020 1 commit
    • Jeremy Reizenstein's avatar
      tutorial fixes from #336. Wheels with cuda10.1. · 32484500
      Jeremy Reizenstein authored
      Summary:
      Add a document to explain how to run the tutorials.
      Fix API of TexturesVertex in fit_textured_mesh.
      Prepare cuda 10.1 wheels (not 10.2) for linux to be available on pypi - this matches what colab has.
      Change the tutorials to use these new wheels.
      
      Reviewed By: gkioxari
      
      Differential Revision: D23324479
      
      fbshipit-source-id: 60e92a3f46a2d878f811b7703638f8d1dae143d9
      32484500
  14. 07 Aug, 2020 1 commit
    • Jeremy Reizenstein's avatar
      No more cuda 10.0 builds · c122ccb1
      Jeremy Reizenstein authored
      Summary: Latest pytorch doesn't support cuda 10.0 and now its pytorch/conda-cuda docker image doesn't include it either. Here we remove the pytorch3d builds which use cuda 10.0.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D22999392
      
      fbshipit-source-id: c834477fc7c812c2d0594dccd9e9471e33a4ec5e
      c122ccb1
  15. 04 Aug, 2020 1 commit
    • Jeremy Reizenstein's avatar
      wheels with cuda · 4872a2c4
      Jeremy Reizenstein authored
      Summary:
      The main pytorch wheels on PyPI support CUDA 10.2. Here we make pytorch3d's wheels do the same, instead of being cpu only. This should ultimately make life easier in colab.
      
      Also a little script to count builds, which can be useful for nightly jobs.
      
      Reviewed By: gkioxari
      
      Differential Revision: D22924321
      
      fbshipit-source-id: d6cea9bfbab49bcb0080f65608066c553ea8bb4d
      4872a2c4
  16. 28 Jul, 2020 1 commit
    • Jeremy Reizenstein's avatar
      builds for pytorch 1.6 · 326f6628
      Jeremy Reizenstein authored
      Summary: Make CI builds with pytorch 1.6.
      
      Reviewed By: gkioxari
      
      Differential Revision: D22790325
      
      fbshipit-source-id: 5b0e075f952de9df2de03b65c16fd69140ab6fdd
      326f6628
  17. 24 Jun, 2020 1 commit
    • Jeremy Reizenstein's avatar
      specify full pytorch version for conda nightly builds. · 0baeb05a
      Jeremy Reizenstein authored
      Summary: Now pytorch 1.5.1 is released, pytorch 1.5 is ambiguous and causes problems. Now have specific builds for pytorch 1.5.0 and 1.5.1. Here we only change the conda builds.
      
      Reviewed By: gkioxari
      
      Differential Revision: D22196016
      
      fbshipit-source-id: 478327e870f538f54d3480d5a268a1ece5c5c680
      0baeb05a
  18. 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
  19. 21 Apr, 2020 1 commit
    • Jeremy Reizenstein's avatar
      Builds with pytorch 1.5 · a53a2d37
      Jeremy Reizenstein authored
      Summary:
      Add conda packages for pytorch 1.5. Make wheels be only pytorch 1.5.
      
      Note that pytorch 1.4 has conda packages for cuda 9.2, 10.0 and 10.1, whilst pytorch 1.5 has packages for cuda 9.2, 10.1 and 10.2. We mirror these choices.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D21157392
      
      fbshipit-source-id: 2f7311e6a83774a6d6c8afb8110b8bd9f37f1454
      a53a2d37
  20. 07 Apr, 2020 1 commit
    • Jeremy Reizenstein's avatar
      pytorch version in package name · 0fecb2dd
      Jeremy Reizenstein authored
      Summary:
      Pytorch 1.5 is coming soon. I imagine we will want the ability to upload conda packages for pytorch3d to anaconda cloud for each of pytorch 1.4 and pytorch 1.5. This change adds the dependent pytorch version to the name of the conda package to make that feasible.
      
      As an example, a built package after this change will have a name like `linux-64/pytorch3d-0.1.1-py38_cu100_pyt14.tar.bz2`, instead of simply `linux-64/pytorch3d-0.1.1-py38_cu100.tar.bz2`.
      
      Also some tiny cleanup of circleci config.
      
      Other alternatives: (1) forcing users to update pytorch and pytorch3d together, (2) trying to get away with one build for multiple pytorch versions.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D20599039
      
      fbshipit-source-id: 20164eda4a5141afed47b3596e559950d796ffc9
      0fecb2dd
  21. 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
  22. 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
  23. 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
  24. 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
  25. 24 Feb, 2020 2 commits
    • Jeremy Reizenstein's avatar
      cpu wheel builds for linux and mac · 4233c328
      Jeremy Reizenstein authored
      Reviewed By: nikhilaravi
      
      Differential Revision: D20073426
      
      fbshipit-source-id: fce83c9b63d630de1e6ebe2ff4790f29d11b65cc
      4233c328
    • Jeremy Reizenstein's avatar
      CI updates · dab7f61a
      Jeremy Reizenstein authored
      Summary: Document existence of nightly build. Fix some mistakes in windows-related CI code (not running yet).
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D20030293
      
      fbshipit-source-id: 2199ea7c6d34e881aa5641726feb6bfc20337ce3
      dab7f61a
  26. 23 Jan, 2020 1 commit