{"push_id":2734699355,"size":14,"distinct_size":14,"ref":"refs/heads/master","head":"4028ff6c3a598096c352cbbf14a3655388fdfe74","before":"54db14e390f2d32e1212870b872c96fbca71c48a","commits":[{"sha":"e0446fcfa9d1129e66978d685056a7122e687bd6","author":{"name":"Will Feng","email":"1afd6515b09d0b3eb7e8e4008edd2316b575fbe3@fb.com"},"message":"Pass dtype to tensor contructor in test_neg (#9558)\n\nSummary:\nFixes https://github.com/pytorch/pytorch/issues/9554.\nPull Request resolved: https://github.com/pytorch/pytorch/pull/9558\n\nDifferential Revision: D8901085\n\nPulled By: yf225\n\nfbshipit-source-id: 0edb176fcb18e0c0bcfc6f209343b9097767c9b8","distinct":true,"url":"https://api.github.com/repos/huaxz1986/pytorch/commits/e0446fcfa9d1129e66978d685056a7122e687bd6"},{"sha":"aee9e90abd8e952253d61961db6dec1e229905fb","author":{"name":"Tongzhou Wang","email":"96b5c3d5a7a36c8be47478427b2e4d4231204fe0@gmail.com"},"message":"Fix TestAutograd.test_as_strided (#9538)\n\nSummary:\n0. Fixes #9479\n1. rewrites `as_strided` as a native function. This is fine because `set_` does the scalar check.\n2. allow using `self` in `python_default_init`. Previously `python_variable_methods.cpp` has `self` as an input `PyObject *`, and use `self_` as the unpacked tensor. But `python_torch_functions.cpp` just use `self` as the unpacked tensor, making it impossible to use `self` in `python_default_init`.\nPull Request resolved: https://github.com/pytorch/pytorch/pull/9538\n\nDifferential Revision: D8894556\n\nPulled By: SsnL\n\nfbshipit-source-id: ca7877b488e12557b7fb94e781346dcb55d3b299","distinct":true,"url":"https://api.github.com/repos/huaxz1986/pytorch/commits/aee9e90abd8e952253d61961db6dec1e229905fb"},{"sha":"f180373d682f7a78de50534a2bc51b65005b6d2e","author":{"name":"Gregory Chanan","email":"405a4c10dc10d9753e4d637a51ebfa857b6fcbb3@fb.com"},"message":"Support n-dimensional empty tensors in CUDA BLAS and fix a btrifact bug. (#9573)\n\nSummary:\nThis is mainly straightforward, with two exceptions:\n1) cublasSgemv, cublasDgemv appear to have a bug where (x,0).mv(0) does not handle beta, whereas cublasSgemm, cublasDgemm do for case where (x,0).mm(0,y).  This is handled by manually calling zero / mul.\n\n2) I fixed a bug in btrifact that was broken even when dealing with non-empty tensors.  Basically, if out.stride(0) was 1, because the underlying BLAS call expects column-major matrices, to get a column-major tensor, out.transpose_(0, 1) would be called.  But this is just wrong, as if the batch dimension (0) doesn't match the size of the columns (1), you don't even have a tensor of the correct shape.\nPull Request resolved: https://github.com/pytorch/pytorch/pull/9573\n\nReviewed By: ezyang\n\nDifferential Revision: D8906144\n\nPulled By: gchanan\n\nfbshipit-source-id: de44d239a58afdd74d874db02f2022850dea9a56","distinct":true,"url":"https://api.github.com/repos/huaxz1986/pytorch/commits/f180373d682f7a78de50534a2bc51b65005b6d2e"},{"sha":"f33cd36c9bb6d3eecd42cb185f22cf76e304fc1b","author":{"name":"Tongzhou Wang","email":"96b5c3d5a7a36c8be47478427b2e4d4231204fe0@gmail.com"},"message":"Use int64_t for im2col and col2im (#9590)\n\nSummary:\nFixes #9404\nPull Request resolved: https://github.com/pytorch/pytorch/pull/9590\n\nDifferential Revision: D8916020\n\nPulled By: SsnL\n\nfbshipit-source-id: ac6758326bbb09b48642b149f4eb8f466ef7044e","distinct":true,"url":"https://api.github.com/repos/huaxz1986/pytorch/commits/f33cd36c9bb6d3eecd42cb185f22cf76e304fc1b"},{"sha":"85b28163584380bf4953f2ac2fa21df9715f12d5","author":{"name":"Anders Papitto","email":"4d7c9f8e345f48661e9217b9935ef6fb676bed91@gmail.com"},"message":"quick patch for PackPadded removal to propagate the correct size. (#9593)\n\nSummary:\nThe underlying reason why this is even an issue is that the conversion\ninto and out of the 'fictional' onnx operators is done in an unhygenic\norder. This doesn't address that, but it does fix the one observable\ncase where this produces an incorrect result, and unblocks some other\nwork being done.\nPull Request resolved: https://github.com/pytorch/pytorch/pull/9593\n\nDifferential Revision: D8919125\n\nPulled By: anderspapitto\n\nfbshipit-source-id: a88ca979c3b9d439863e223717d3697180c26121","distinct":true,"url":"https://api.github.com/repos/huaxz1986/pytorch/commits/85b28163584380bf4953f2ac2fa21df9715f12d5"},{"sha":"6557856671f022c630a5a0857bc17405eb614b78","author":{"name":"Zhishuai Zhang","email":"6acb9d2896ccc8c997bc56e1b0407a170b1dc95f@fb.com"},"message":"Fix l2 normalization when handling zero vector (#9594)\n\nSummary:\nPull Request resolved: https://github.com/pytorch/pytorch/pull/9594\n\nWhen the input vector is a zero vector, the previous GPU code will give Nan in backward. We fix this.\n\nReviewed By: pjh5\n\nDifferential Revision: D8849732\n\nfbshipit-source-id: 87b1fb1ee05dfdb0d43bcbe67e36f15896fe1706","distinct":true,"url":"https://api.github.com/repos/huaxz1986/pytorch/commits/6557856671f022c630a5a0857bc17405eb614b78"},{"sha":"f521823b7b4f2413599d71a2350feb8322f09a50","author":{"name":"Junjie Bai","email":"7c824f2e1c4d8e5c9445dd7ded4e96febed020f7@in.tum.de"},"message":"Do not always set broadcast argument when exporting new onnx add and sub to caffe2\n\nSummary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/9597\n\nReviewed By: colesbury\n\nDifferential Revision: D8920575\n\nPulled By: bddppq\n\nfbshipit-source-id: 97423e1bf6a20559d466d2ac56c9e74e10bfc129","distinct":true,"url":"https://api.github.com/repos/huaxz1986/pytorch/commits/f521823b7b4f2413599d71a2350feb8322f09a50"},{"sha":"a08119afc27f44ff488cbf18c11659d255f378a8","author":{"name":"Edward Yang","email":"dbd597f5635f432486c5d365e9bb585b3eaa1853@fb.com"},"message":"Eliminate direct access to size/strides of THTensor; replace them with std::vector (#9561)\n\nSummary:\n* THTensor now stores `sizes_` and `strides_` which is a `std::vector<int64_t>`\n* Anywhere a \"public\" API function made use of a int64_t* of sizes, I opted to just finagle it out of the tensor using THTensor_getSizePtr rather than try to rewrite all of these sites to use ArrayRef. They should use ArrayRef eventually, but not yet.\n* There are new utility functions for resizing sizes/strides in one go (THTensor_resizeDim), or replacing sizes and strides with completely new values (THTensor_setSizesAndStrides)\n* Anywhere you said `t->size[n] = 0`, we now say `THTensor_setSizeAt(t, n, 0)`, ditto for strides\n* Anywhere you said `t->size[n]`, we now say `t->size(n)` (coming soon: ditto for strides)\n\nPrevious review of just the `std::vector` change in #9518, but I'm planning to merge this all in one go.\n\nNote for gchanan: review from commit \"ci\" and after\nPull Request resolved: https://github.com/pytorch/pytorch/pull/9561\n\nReviewed By: cpuhrsch\n\nDifferential Revision: D8901926\n\nPulled By: ezyang\n\nfbshipit-source-id: 483cf275060ab0a13845cba1ece39dd127142510","distinct":true,"url":"https://api.github.com/repos/huaxz1986/pytorch/commits/a08119afc27f44ff488cbf18c11659d255f378a8"},{"sha":"bcf0bf42a1727c8ee788f733c28579d0e36a387c","author":{"name":"Sam Gross","email":"48245c485a3f0765c7face6e57b9f7e40c8624a4@fb.com"},"message":"Extend DispatchStub to support CUDA dispatch (#9579)\n\nSummary:\nThis is a few files taken from https://github.com/pytorch/pytorch/pull/8919. They're unchanged from the latest versions of that PR.\n\n```\nThis is part of https://github.com/pytorch/pytorch/pull/8919. It's\nseparated to make it easier to merge the PR in pieces.\n\nThere are a few major changes to DispatchStub\n\n - The environment variable ATEN_CPU_CAPABILITY overrides the CPU\n   capability detection code (Previous ATEN_DISABLE_AVX/AVX2)\n\n - DispatchStub is defined in the generic native code instead of the\n   CPU_CAPABILITY_DEFAULT kernel.\n```\nPull Request resolved: https://github.com/pytorch/pytorch/pull/9579\n\nDifferential Revision: D8909000\n\nPulled By: colesbury\n\nfbshipit-source-id: fdeb606270b06acdab3c01dba97ec9d81584ecc0","distinct":true,"url":"https://api.github.com/repos/huaxz1986/pytorch/commits/bcf0bf42a1727c8ee788f733c28579d0e36a387c"},{"sha":"7e78e80d942b042a0681ea7003352621b9f9ca68","author":{"name":"Peter Goldsborough","email":"887f44f8e6d2ec27368b0275bb31f402fb8ca659@fb.com"},"message":"Make error message for empty module friendlier (#9565)\n\nSummary:\nIn our pimpl system, default constructing a module holder default constructs the contained module. This means `Linear linear;` is ill-formed, since `Linear` doesn't have a default constructor. Instead we require `Linear linear = nullptr;` to get the empty state of the `Linear`. This PR makes the error message for the ill-formed case nicer.\n\nI had to change the forwarding constructors of most of our modules for this, but that's a minor adjustment.\n\nE.g.\n\n```\nLinear linear;\n\nIn file included from /home/psag/pytorch/pytorch/torch/csrc/api/include/torch/nn/module.h:5:0,\n                 from /home/psag/pytorch/pytorch/test/cpp/api/module.cpp:3:\n/home/psag/pytorch/pytorch/torch/csrc/api/include/torch/nn/pimpl.h: In instantiation of ‘torch::nn::ModuleHolder<Contained>::ModuleHolder() [with Contained = torch::nn::LinearImpl]’:\n/home/psag/pytorch/pytorch/torch/csrc/api/include/torch/nn/modules/dropout.h:45:1:   required from here\n/home/psag/pytorch/pytorch/torch/csrc/api/include/torch/nn/pimpl.h:46:5: error: static assertion failed: You are trying to default construct a module which has no default constructor. Use = nullptr to give it the empty state (like an empt\ny std::shared_ptr).\n     static_assert(\n```\n\nebetica ezyang\nPull Request resolved: https://github.com/pytorch/pytorch/pull/9565\n\nDifferential Revision: D8903666\n\nPulled By: goldsborough\n\nfbshipit-source-id: 5e6b788921a27a44359db89afdc2b057facc5cec","distinct":true,"url":"https://api.github.com/repos/huaxz1986/pytorch/commits/7e78e80d942b042a0681ea7003352621b9f9ca68"},{"sha":"b770156a7a710639b4c610c9f71a28c0715c4f4e","author":{"name":"Peter Goldsborough","email":"887f44f8e6d2ec27368b0275bb31f402fb8ca659@fb.com"},"message":"Functional DataParallel (#9234)\n\nSummary:\nThis PR adds the functional version of `DataParallel` (i.e. `data_parallel`) to the C++ frontend.\n\nFor this, I had to:\n1. Add \"differentiable\" versions of scatter and gather, which perform their inverse operation in the backward pass, to C++. I've added them under `torch/csrc/autograd/functions/comm.{h,cpp}`. I had to move some utilities from `VariableType.cpp` into `torch/csrc/autograd/functions/utils.h`, and changed them a bit to fix the `const_cast`s for which there were `TODO`s,\n2. Implement the `replicate`, `parallel_apply` and the combining `data_parallel` functions in C++.\n\n`replicate` is implemented based on our existing `clone()` interface, along with the ability to set the current device via `at::OptionsGuard` (so nice).\n\n`parallel_apply` is implemented using `at::parallel_for` (CC cpuhrsch) and [follows the code from PyTorch](https://github.com/pytorch/pytorch/blob/master/torch/nn/parallel/parallel_apply.py).\n\nAdded lots of tests for these things.\n\napaszke ezyang ebetica colesbury\nPull Request resolved: https://github.com/pytorch/pytorch/pull/9234\n\nDifferential Revision: D8865182\n\nPulled By: goldsborough\n\nfbshipit-source-id: 4f1fecf2b3f3bc1540c071dfb2d23dd45de433e4","distinct":true,"url":"https://api.github.com/repos/huaxz1986/pytorch/commits/b770156a7a710639b4c610c9f71a28c0715c4f4e"},{"sha":"5651b274586bf0fddead4e5ee20fdb58f3abc5f2","author":{"name":"Rio Hoshi","email":"7833110309a191acf7d3e31d27d64da73974f86d@fb.com"},"message":"Add CAFFE_STATIC_EVENT to Stats (#9501)\n\nSummary:\nPull Request resolved: https://github.com/pytorch/pytorch/pull/9501\n\nAdded a new stat value to log static states like CPU and memory usage.\n\nReviewed By: pjh5\n\nDifferential Revision: D8872254\n\nfbshipit-source-id: 469e94cab99029a3da55f8986dddeadac076e2a8","distinct":true,"url":"https://api.github.com/repos/huaxz1986/pytorch/commits/5651b274586bf0fddead4e5ee20fdb58f3abc5f2"},{"sha":"aa7af94656a9361224e6d24f9ca922bf5b3f5a67","author":{"name":"Adam Paszke","email":"71faef99c0ae9d81958d0035c1ce72f9c3888cfe@gmail.com"},"message":"Make JIT tracing a thread-local property (#9414)\n\nSummary:\nAs in the title. Lets us simplify a lot of code.\n\nDepends on #9363, so please review only the last commit.\n\nzdevito\nPull Request resolved: https://github.com/pytorch/pytorch/pull/9414\n\nReviewed By: zdevito\n\nDifferential Revision: D8836496\n\nPulled By: apaszke\n\nfbshipit-source-id: 9b3c3d1f001a9dc522f8478abc005b6b86cfa3e3","distinct":true,"url":"https://api.github.com/repos/huaxz1986/pytorch/commits/aa7af94656a9361224e6d24f9ca922bf5b3f5a67"},{"sha":"4028ff6c3a598096c352cbbf14a3655388fdfe74","author":{"name":"Anders Papitto","email":"4d7c9f8e345f48661e9217b9935ef6fb676bed91@gmail.com"},"message":"Revert \"quick patch for PackPadded removal to propagate the correct s… (#9613)\n\nSummary:\n…ize. (#9593)\"\n\nThis reverts commit 85b28163584380bf4953f2ac2fa21df9715f12d5.\nPull Request resolved: https://github.com/pytorch/pytorch/pull/9613\n\nReviewed By: bddppq\n\nDifferential Revision: D8929322\n\nPulled By: anderspapitto\n\nfbshipit-source-id: 3ae4d320e5407acc1fb63a26b7d1f2ff4059eba9","distinct":true,"url":"https://api.github.com/repos/huaxz1986/pytorch/commits/4028ff6c3a598096c352cbbf14a3655388fdfe74"}]}
{"actor":{"display_login":"huaxz1986"}}