Age | Commit message (Collapse) | Author | Files | Lines |
|
Summary:
Fixed a few C++ API callsites to work with v1.0.1.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16221
Differential Revision: D13759207
Pulled By: yf225
fbshipit-source-id: bd92c2b95a0c6ff3ba5d73cb249d0bc88cfdc340
|
|
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/16115
Reviewed By: bddppq
Differential Revision: D13717049
fbshipit-source-id: fb1d690183a932a1fa1a2d235f3219520f51620a
|
|
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15316
This starts cleaning up the files in c10 according to the module structure we decided on.
Move to c10/util:
- Half.h, Half-inl.h, Half.cpp, bitcasts.h
Move to c10/core:
- Device.h, Device.cpp
- DeviceType.h, DeviceType.cpp
i-am-not-moving-c2-to-c10
Reviewed By: dzhulgakov
Differential Revision: D13498493
fbshipit-source-id: dfcf1c490474a12ab950c72ca686b8ad86428f63
|
|
Summary:
soumith ezyang
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15902
Differential Revision: D13628525
Pulled By: goldsborough
fbshipit-source-id: 70cf36d1bacd9d689d4fa4f2290886fd3765e89b
|
|
Summary:
The small end-to-end example in https://pytorch.org/cppdocs/frontend.html is a little outdated and needs fixes.
ezyang soumith
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15717
Differential Revision: D13591306
Pulled By: goldsborough
fbshipit-source-id: 3334d68c7f77cf094b66ec2b2f396c4c65bb0d72
|
|
Summary:
Fix submitted by huntzhan in https://github.com/pytorch/cppdocs/pull/4. The source is in this repo so the patch has to be applied here.
soumith ezyang
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15701
Differential Revision: D13591302
Pulled By: goldsborough
fbshipit-source-id: 796957696fd560a9c5fb42265d7b2d018abaebe3
|
|
Summary:
There was a typo in C++ docs.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15527
Differential Revision: D13547858
Pulled By: soumith
fbshipit-source-id: 1f5250206ca6e13b1b1443869b1e1c837a756cb5
|
|
Summary:
Current documentation example doesn't compile. This fixes the doc so the example works.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15372
Differential Revision: D13522167
Pulled By: goldsborough
fbshipit-source-id: 5171a5f8e165eafabd9d1a28d23020bf2655f38b
|
|
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14248
This diff also introduces a horrifying hack to override CUDA's DeviceGuardImpl
with a HIPGuardImplMasqueradingAsCUDA, to accommodate PyTorch's current
behavior of pretending CUDA is HIP when you build with ROCm enabled.
Reviewed By: bddppq
Differential Revision: D13145293
fbshipit-source-id: ee0e207b6fd132f0d435512957424a002d588f02
|
|
Summary:
pytorch_theme.css is no longer necessary for the cpp or html docs site build. The new theme styles are located at https://github.com/pytorch/pytorch_sphinx_theme. The Lato font is also no longer used in the new theme.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14779
Differential Revision: D13356125
Pulled By: ezyang
fbshipit-source-id: c7635eb7512c7dcaddb9cad596ab3dbc96480144
|
|
Summary:
Resubmission of https://github.com/pytorch/pytorch/pull/13738
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14524
Differential Revision: D13268031
Pulled By: goldsborough
fbshipit-source-id: fb306464b673c05ebd26d0f44d688ccd92d1d8c5
|
|
Summary:
This will document `torch::from_blob` and such.
soumith ezyang
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14381
Differential Revision: D13216560
Pulled By: goldsborough
fbshipit-source-id: 112f60e45e4d38a8a9983fa71e9cc56bc1a73465
|
|
Summary:
soumith
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14121
Differential Revision: D13108063
Pulled By: goldsborough
fbshipit-source-id: 35cf65ba776e8826c5cab7ae6d3a2d446f87e7cc
|
|
Summary:
This reverts commit 37cb357d8da3427900b8f72f6de7e77b77dcdbae.
Try to see if it unbreaks master
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14082
Differential Revision: D13095888
Pulled By: bddppq
fbshipit-source-id: c728f80f233b4d9daaf65f43202d8104651029a9
|
|
Summary:
Deletes the `OptionsGuard` from ATen. This works towards the goal of reworking `DefaultTensorOptions`. `OptionsGuard` is troublesome because it relies on mutating thread local state. This PR fixes those code locations and then deletes the `OptionsGuard`.
ezyang gchanan
Pull Request resolved: https://github.com/pytorch/pytorch/pull/13738
Differential Revision: D13000962
Pulled By: goldsborough
fbshipit-source-id: c8143ee75070c2280f5fd1d9af86f8ce14279b72
|
|
Summary:
Updates C++ documentation to the PyTorch Sphinx theme.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/13791
Reviewed By: soumith
Differential Revision: D13013908
Pulled By: brianjo
fbshipit-source-id: 253a91c6784ad72aa1c37426cd4a945061a60fec
|
|
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/13916
Reviewed By: smessmer
Differential Revision: D13046722
fbshipit-source-id: 1583d3170d60e22f0a535cd1fd56bdf928186f5d
|
|
Summary:
In TorchScript and C++ extensions we currently advocate a mix of `torch::` and `at::` namespace usage. In the C++ frontend I had instead exported all symbols from `at::` and some from `c10::` into the `torch::` namespace. This is far, far easier for users to understand, and also avoid bugs around creating tensors vs. variables. The same should from now on be true for the TorchScript C++ API (for running and loading models) and all C++ extensions.
Note that since we're just talking about typedefs, this change does not break any existing code.
Once this lands I will update stuff in `pytorch/tutorials` too.
zdevito ezyang gchanan
Pull Request resolved: https://github.com/pytorch/pytorch/pull/13523
Differential Revision: D12942787
Pulled By: goldsborough
fbshipit-source-id: 76058936bd8707b33d9e5bbc2d0705fc3d820763
|
|
Summary:
Removes aten/README.md (and some other files dating from when aten was its own repo), and moves the not outdated documentation into a note called "Tensor Basics". I updated the text lightly but did not overhaul the content.
CC zdevito
ezyang
Pull Request resolved: https://github.com/pytorch/pytorch/pull/13601
Differential Revision: D12934480
Pulled By: goldsborough
fbshipit-source-id: 012a4267b4d6f27e4d5d55d6fc66363ddca10b41
|
|
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/13517
Differential Revision: D12914271
Pulled By: goldsborough
fbshipit-source-id: df64fca6652525bc814f6fd3e486c87bff29b5b5
|
|
Differential Revision: D10502199
Pulled By: ezyang
fbshipit-source-id: ec7523caf37d2c92a0e7a2981e1badf51b93dd05
|
|
Summary:
Creates a FAQ. https://github.com/pytorch/tutorials/pull/345 now just links to this page.
soumith ezyang
Pull Request resolved: https://github.com/pytorch/pytorch/pull/13129
Differential Revision: D10854264
Pulled By: goldsborough
fbshipit-source-id: 6e57574ffa61409d4d9d1750aa618893b897ad41
|
|
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/12995
Reviewed By: Yangqing
Differential Revision: D10513246
fbshipit-source-id: 0c6d52e09166d7e8a786c1a0e21685ec9c35b12a
|
|
Summary:
Some creds to svenevs
soumith
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12926
Differential Revision: D10498288
Pulled By: goldsborough
fbshipit-source-id: 878d23ebf260dac17871677635a3283eb3a8a423
|
|
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/12920
Differential Revision: D10494081
Pulled By: goldsborough
fbshipit-source-id: c96b9b61cbae39006b48b23b901248e762cbd232
|
|
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12792
This is a follow up diff after D10238910.
Only non-codemod change is the removal of ATen/Error.h and ATen/core/Error.h. Other files are basically changing the inclusion path + clang format for inclusion order.
Reviewed By: bddppq
Differential Revision: D10437824
fbshipit-source-id: 7f885f80ab5827468d1351cfb2765d0e3f555a69
|
|
Summary:
ezyang soumith
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12660
Differential Revision: D10386952
Pulled By: goldsborough
fbshipit-source-id: efd82f2aa3a349e9acd29303984b8fd7c3208c3f
|
|
Summary:
Docs for [`torch::jit::load`](https://pytorch.org/cppdocs/api/function_namespacetorch_1_1jit_1ace2c44fb8af5905ae17834e81086b8a3.html#exhale-function-namespacetorch-1-1jit-1ace2c44fb8af5905ae17834e81086b8a3) are currently broken. svenevs has a fix on this branch, and we need to update to it.
soumith ezyang
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12668
Differential Revision: D10386949
Pulled By: goldsborough
fbshipit-source-id: 1887ba53989e5a77b178f8b2782a7b3ae52b7405
|
|
Summary:
ezyang soumith
Partly addresses https://github.com/pytorch/cppdocs/issues/2
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12521
Differential Revision: D10374244
Pulled By: goldsborough
fbshipit-source-id: 8e9fe688cbaa2d2b0b96f721e5477ee8845b8f20
|
|
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/12519
Differential Revision: D10287901
Pulled By: goldsborough
fbshipit-source-id: 56e0c1851aade84e4154777776d14e087645a762
|
|
Summary:
The C++ docs for `at::Tensor` are currently broken because we moved the place `Tensor.h` gets generated to without updating our docs. I use `GEN_TO_SOURCE=1` when generating ATen files, so the `Tensor.h` file should end up in `aten/src/ATen/core/Tensor.h` if i understand correctly.
dzhulgakov ezyang gchanan
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12469
Differential Revision: D10248521
Pulled By: goldsborough
fbshipit-source-id: 8d8a11f0f6e2703b8d767dbc523fc34a4374f345
|
|
Summary:
We now have a proper download link for libtorch.
ezyang soumith
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12263
Differential Revision: D10149216
Pulled By: goldsborough
fbshipit-source-id: e9caefed1c7f8e25d7623d72c8548bfdb6114329
|
|
Summary:
We're waiting for the libtorch links to show up on the website. I had a fake link in the docs so far which is misleading. This PR changes it to a temporary markdown file until the web people fix the site tomorrow.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12212
Differential Revision: D10121872
Pulled By: goldsborough
fbshipit-source-id: f1bd1315f7333b9168e99983f3f6b679c9b0c52a
|
|
Summary:
I wrote some high level docs for the larger PyTorch C++ universe and the C++ frontend specifically. Happy for reviews, but let's please also land this ASAP so I can point users at something that looks more ready baked than the C++ docs landing page (https://pytorch.org/cppdocs) does right now.
ezyang soumith
CC ebetica
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12079
Differential Revision: D10080785
Pulled By: goldsborough
fbshipit-source-id: 3028de41373f307468eb1e3802aa27871c93b2e3
|
|
Differential Revision: D9919120
Pulled By: goldsborough
fbshipit-source-id: bf14cbe4ab79524495957cb749828046af864aab
|
|
Summary:
Since we're making parts of the JIT public as part of loading script modules, they should be on the cppdocs website.
Orthogonal: We decided not to export things like `IValue` into the `torch` namespace, so `RegisterOperators` shouldn't be there either.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/11712
Differential Revision: D9837578
Pulled By: goldsborough
fbshipit-source-id: 4c06d2fa9dd4b4216951f27424c2ce795febab9c
|
|
Summary:
1. Document the Sequential module in the C++ API at a high, why-does-this-exist, and low, how-to-use, level
2. Change the Sequential tests to be in a style that makes them easier to convert to gtest. No code changes.
ebetica ezyang apaszke
Pull Request resolved: https://github.com/pytorch/pytorch/pull/11648
Differential Revision: D9834526
Pulled By: goldsborough
fbshipit-source-id: 39f2f5c6cbbf8ed5a1b69986978c8ef127036de1
|
|
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/11508
Differential Revision: D9764380
Pulled By: goldsborough
fbshipit-source-id: 3abb9c04f46137be833ea26d67734741e14f8010
|
|
Summary:
1. Remove cudnn* symbols from C++ docs
2. Fix code examples for `nn::Module` and `jit::compile`
3. Document Dropout
Pull Request resolved: https://github.com/pytorch/pytorch/pull/11347
Differential Revision: D9716751
Pulled By: goldsborough
fbshipit-source-id: e0566cec35848335cac3eb9196cb244bb0c8fa45
|
|
Summary:
This PR cleans up the `at::Tensor` class by removing all methods that start with an underscore in favor of functions in the `at::` namespace. This greatly cleans up the `Tensor` class and makes it clearer what is the public and non-public API.
For this I changed `native_functions.yaml` and `Declarations.cwrap` to make all underscore methods `variant: function` (or add such a statement to begin with), and then fixed all code locations using the underscore methods.
ezyang colesbury gchanan
Pull Request resolved: https://github.com/pytorch/pytorch/pull/11152
Differential Revision: D9683607
Pulled By: goldsborough
fbshipit-source-id: 97f869f788fa56639c05a439e2a33be49f10f543
|
|
Summary:
1. Add documentation to Linear and improve documentation for RNNs
2. Fix preprocessing in C++ docs by adding correct include path
3. Make myself and ebetica codeowner of docs/cpp to improve development speed
ebetica ezyang soumith
Pull Request resolved: https://github.com/pytorch/pytorch/pull/11313
Differential Revision: D9683615
Pulled By: goldsborough
fbshipit-source-id: 84ea32f9ea6b4060744aabbf5db368776a30f0b5
|
|
Summary:
I'm setting up an automatic sync job for cppdocs and need two fixes to the cpp docs config:
1. Right now the cppdocs use the `torch` package to figure out the version. For C++ docs all I really need from the built package are the generated Tensor.h and Functions.h files. I can actually generate those directly via `aten/src/ATen/gen.py`, so I can skip building PyTorch altogether and save 10 minutes in the sync job! For this I need to avoid using the torch package in the docs.
2. Internal proxy issues prevent using the git link for sphinx_rtd_theme. We can just use the pip package for the cppdocs (not for the normal PyTorch docs)
soumith ezyang
Pull Request resolved: https://github.com/pytorch/pytorch/pull/11300
Differential Revision: D9667193
Pulled By: goldsborough
fbshipit-source-id: 5567e0b3d3bdce03f5856babdb4ff76bcee91846
|
|
Summary:
This PR adds a .travis.yml check for our C++ documentation. The goal is to avoid any documentation/comments in our C++ code that would break the doxygen output and possibly ruin the C++ documentation site (currently https://pytorch.org/cppdocs).
For this, we:
1. Run doxygen and record any warnings,
2. Filter out some known bogus warnings,
3. Count the remaining warnings,
4. Fail the check if (3) is non-zero.
soumith
Pull Request resolved: https://github.com/pytorch/pytorch/pull/11124
Differential Revision: D9651011
Pulled By: goldsborough
fbshipit-source-id: 30f776d23bb6d6c482c54db32828b4b99547e87b
|
|
Summary:
Added some documentation. Will rebuild docs to make sure it looks good. Can already accept approvals.
ebetica apaszke ezyang
Pull Request resolved: https://github.com/pytorch/pytorch/pull/11115
Differential Revision: D9597880
Pulled By: goldsborough
fbshipit-source-id: 56b701da631702ba56e281a0de0f7ebe490f5c5a
|
|
Summary:
Adds the folder structure, Doxyfile, sphinx setup and Makefile to build C++ docs.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/10569
Differential Revision: D9386744
Pulled By: goldsborough
fbshipit-source-id: 0a7c581dcf0a5f7b01ba19d317b493cf95935134
|