summaryrefslogtreecommitdiff
path: root/docs/source/notes
AgeCommit message (Collapse)AuthorFilesLines
2019-03-14Add magma debug version for Windowspeter1-2/+4
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/18008 Differential Revision: D14455117 Pulled By: soumith fbshipit-source-id: 29d9a2e0b36d72bece0bb1870bbdc740c4d1f9d6
2019-03-10fix faq typoTongzhou Wang1-3/+3
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/17851 Differential Revision: D14401791 Pulled By: soumith fbshipit-source-id: ed6d64d6f5985e7ce76dca1e9e376782736b90f9
2019-03-06Enable using CMD when building cpp extensions on Windowspeter1-3/+1
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/17706 Differential Revision: D14346482 Pulled By: ezyang fbshipit-source-id: 7c85e51c701f6c0947ad324ef19fafda40ae1cb9
2019-03-01Update magma to 2.5.0 for Windowspeter1-3/+3
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/17607 Differential Revision: D14281291 Pulled By: yf225 fbshipit-source-id: 51209c5540932871e45e54ba6d61b3b7d264aa8c
2019-01-14Add cuda.reset_max_memory_* (#15985)SsnL1-4/+4
Summary: Addresses #15968 Pull Request resolved: https://github.com/pytorch/pytorch/pull/15985 Differential Revision: D13649916 Pulled By: soumith fbshipit-source-id: a207aea5709a79dba7a6fc541d0a70103f49efff
2018-12-30Fix typo in documentationAlexander Rodin1-1/+1
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/15628 Differential Revision: D13562685 Pulled By: soumith fbshipit-source-id: 1621fcff465b029142313f717035e935e9159513
2018-12-05Update magma to 2.4.0 for Windowspeterjc1231-3/+3
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/14738 Differential Revision: D13341611 Pulled By: soumith fbshipit-source-id: 39a49fc60e710cc32a463858c9cee57c182330e2
2018-10-18Try to fix randomness.rst formatting againTongzhou Wang1-0/+2
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/12853 Differential Revision: D10458439 Pulled By: SsnL fbshipit-source-id: ebd259e598327b0c5d63de6b7c182781fe361fbd
2018-10-18Fix randomness.rst formattingTongzhou Wang1-1/+1
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/12850 Differential Revision: D10457694 Pulled By: SsnL fbshipit-source-id: fa64964ff6d41625d9383ca96393017230e4ee0f
2018-10-16Amend nondeterminism notes (#12217)Thomas Viehmann1-2/+14
Summary: include atomicAdd commentary as this is less well known There is some discussion in #12207 Unfortunately, I cannot seem to get the ..include working in `_tensor_docs.py` and `_torch_docs.py`. I could use a hint for that. Pull Request resolved: https://github.com/pytorch/pytorch/pull/12217 Differential Revision: D10419739 Pulled By: SsnL fbshipit-source-id: eecd04fb7486bd9c6ee64cd34859d61a0a97ec4e
2018-09-28Docs: Change cuda(async) —> cuda(non_blocking) (#12158)cclauss1-3/+4
Summary: goldsborough Modify the docs to match the changes made in #4999 Pull Request resolved: https://github.com/pytorch/pytorch/pull/12158 Differential Revision: D10103964 Pulled By: SsnL fbshipit-source-id: 1b8692da86aca1a52e8d2e6cea76a5ad1f71e058
2018-09-19Minor data loader doc improvementsTongzhou Wang1-1/+1
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/11821 Differential Revision: D9948292 Pulled By: SsnL fbshipit-source-id: 01c21c129423c0f7844b403e665a8fe021a9c820
2018-09-12Typo fix in randomness.rst (#11571)Rasmus Diederichsen1-1/+1
Summary: "need to be" -> "need not be" Pull Request resolved: https://github.com/pytorch/pytorch/pull/11571 Differential Revision: D9786001 Pulled By: soumith fbshipit-source-id: 7cc408f5c8bfcc56d4b5c153646f30e1cec37539
2018-09-11WIP: Reproducibility note (#11329)Rasmus Diederichsen1-0/+42
Summary: This adds a Note on making experiments reproducible. It also adds Instructions for building the Documentation to `README.md`. Please ping if I missed any requirements. I'm not sure what to do about the submodule changes. Please advise. Pull Request resolved: https://github.com/pytorch/pytorch/pull/11329 Differential Revision: D9784939 Pulled By: ezyang fbshipit-source-id: 5c5acbe343d1fffb15bdcb84c6d8d925c2ffcc5e
2018-07-13various documentation formatting (#9359)Thomas Viehmann1-4/+4
Summary: This is a grab-bag of documentation formatting fixes. Pull Request resolved: https://github.com/pytorch/pytorch/pull/9359 Differential Revision: D8831400 Pulled By: soumith fbshipit-source-id: 8dac02303168b2ea365e23938ee528d8e8c9f9b7
2018-07-08Update extension docs, fix Fold/Unfold docs (#9239)Tongzhou Wang1-15/+28
Summary: Commits: 1. In extension doc, get rid of all references of `Variable` s (Closes #6947 ) + also add minor improvements + also added a section with links to cpp extension :) goldsborough + removed mentions of `autograd.Function.requires_grad` as it's not used anywhere and hardcoded to `return_Py_True`. 2. Fix several sphinx warnings 3. Change `*` in equations in `module/conv.py` to `\times` 4. Fix docs for `Fold` and `Unfold`. + Added better shape check for `Fold` (it previously may give bogus result when there are not enough blocks). Added test for the checks. 5. Fix doc saying `trtrs` not available for CUDA (#9247 ) Pull Request resolved: https://github.com/pytorch/pytorch/pull/9239 Reviewed By: soumith Differential Revision: D8762492 Pulled By: SsnL fbshipit-source-id: 13cd91128981a94493d5efdf250c40465f84346a
2018-06-20Clarify mp note about sharing a tensor's grad field. (#8688)Richard Zou1-3/+7
* Clarify mp note about sharing a tensor's grad field. * Address comments * Address comments
2018-06-10Fix sample code for cuda stream (#8319)Kaiyu Shi1-1/+1
2018-06-06Docs for gradcheck and gradgradcheck; expose gradgradcheck (#8166)Tongzhou Wang1-0/+8
* Docs for gradcheck and gradgradcheck; expose gradgradcheck * address comments
2018-05-30Fix the import part of the windows doc (#7979)peterjc1231-8/+21
2018-05-29Fix Windows doc for import error (#7704)peterjc1231-2/+18
* Fix Windows doc for import error * Fix doc again * Fix wrong format
2018-05-21Fix typo in document (#7725)braincodercn2-3/+3
2018-04-24[docs] Update broadcasting and cuda semantics notes (#6904)Richard Zou3-68/+112
* [docs] Update broadcasting and cuda semantics notes * Update multiprocessing.rst * address comments * Address comments
2018-04-23[doc] Minor fixes for Windows docs (#6853)peterjc1231-4/+7
2018-04-22Add documents for Windows (#6653)peterjc1231-0/+258
* Add Windows doc * some minor fixes * Fix typo * more minor fixes * Fixes on dataloader
2018-04-19[docs] Update autograd notes (#6769)Richard Zou1-20/+19
2018-04-11Link relevant FAQ section in DataLoader docs (#6476)Tongzhou Wang1-1/+3
* Link FAQ section on workers returning same random numbers in DataLoader docs * explicitly mention section names
2018-04-08Add total_length option to pad_packed_sequence (#6327)Tongzhou Wang1-0/+47
* add total_length to pad_packed_sequence; add example on how to use pack->rnn->unpack with DP * address comments * fix typo
2018-04-06Fix typos (#6348)Kento NOZAWA3-3/+3
* Fix typo * Fix typo * Update faq.rst
2018-04-02Add support for printing extra information in Module and refactor redundant ↵Kaiyu Shi1-0/+7
codes (#5936) This PR enables users to print extra information of their subclassed nn.Module. Now I simply insert the user-defined string at the ending of module name, which should be discussed in this PR. Before this PR, users should redefine the __repr__ and copy&paste the source code from Module. * Add support for extra information on Module * Rewrite the repr method of Module * Fix flake8 * Change the __repr__ to get_extra_repr in Linear * Fix extra new-line for empty line * Add test for __repr__ method * Fix bug of block string indent * Add indent for multi-line repr test. * Address review comments * Update tutorial for creating nn.Module * Fix flake8, add extra_repr of bilinear * Refactor DropoutNd * Change to extra_repr in some Modules * Fix flake8 * Refactor padding modules * Refactor pooling module * Fix typo * Change to extra_repr * Fix bug for GroupNorm * Fix bug for LayerNorm
2018-03-27Update FAQ to make more sense after tensor/variable merge (#6017)Peter Goldsborough1-6/+4
2018-03-26Deprecate ctx.saved_variables via python warning. (#5923)Richard Zou1-1/+1
* Deprecate ctx.saved_variables via python warning. Advises replacing saved_variables with saved_tensors. Also replaces all instances of ctx.saved_variables with ctx.saved_tensors in the codebase. Test by running: ``` import torch from torch.autograd import Function class MyFunction(Function): @staticmethod def forward(ctx, tensor1, tensor2): ctx.save_for_backward(tensor1, tensor2) return tensor1 + tensor2 @staticmethod def backward(ctx, grad_output): var1, var2 = ctx.saved_variables return (grad_output, grad_output) x = torch.randn((3, 3), requires_grad=True) y = torch.randn((3, 3), requires_grad=True) model = MyFunction() model.apply(x, y).sum().backward() ``` and assert the warning shows up. * Address comments * Add deprecation test for saved_variables
2018-03-17typo (#5847)Tongzhou Wang1-1/+1
2018-02-27add faq on cuda memory management and dataloder (#5378)Tongzhou Wang2-3/+21
2018-02-26Fix layer_norm initialization and nn.Module docs (#5422)Tongzhou Wang1-2/+3
* Fix LN initialization; Support single int normalized_shape * disable docstring inheritance * fix sphinx warnings
2018-02-21Fix typos (#5340)Junior Rojas1-1/+1
2018-02-19minor sp, underlyhing->underlying (#5304)brett koonce1-1/+1
2018-02-15Add a FAQ, for now just 'out of memory' advice. (#5251)Edward Z. Yang1-0/+84
* Add a FAQ, for now just 'out of memory' advice. Signed-off-by: Edward Z. Yang <ezyang@fb.com> * Updates based on comments. Signed-off-by: Edward Z. Yang <ezyang@fb.com> * minor copyedit
2018-02-12Remove deprecated references to volatile (#5193)Thibault FEVRY2-5/+3
2018-02-01Remove volatile section from autograd notesPeter Goldsborough1-32/+0
2018-01-27Improve `torch.cuda.empty_cache` documentation (#4879)Tongzhou Wang1-3/+6
* add doc about empty_cache wont increase amount of memory available * typo
2018-01-21More documentation for CUDA stream functions. (#4756)Yongjik Kim1-0/+50
2018-01-09Methods for checking CUDA memory usage (#4511)Tongzhou Wang1-2/+6
* gpu mem allocated * add test * addressed some of @apaszke 's comments * cache stats * add more comments about test
2017-11-07Exposing emptyCache from allocator (#3518)SsnL1-1/+11
* Add empty_cache binding * cuda.empty_cache document * update docs
2017-11-05Tidy up CUDA notesKaixhin1-22/+25
2017-10-25Document CUDA best practices (#3227)Kai Arulkumaran1-0/+76
2017-09-05Fix to make the sample code executable as-is in "Extending PyTorch" (#2621)Sang-gil Lee1-4/+5
2017-08-29Fix typos in "Extending PyTorch" (#2558)Gabriel Bianconi1-2/+2
2017-08-25self -> ctx in Extending noteSoumith Chintala1-3/+3
2017-08-05Update autograd notes (#2295)Adam Paszke1-35/+47