bobrenjc93
fcf9dc3b11
Migrate from Tuple -> tuple in benchmarks ( #144259 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144259
Approved by: https://github.com/yanboliang
2025-01-07 04:09:52 +00:00
Edward Z. Yang
dd3a77bc96
Apply UFMT to all files in benchmarks/ ( #105928 )
...
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/105928
Approved by: https://github.com/albanD
2023-07-26 01:18:48 +00:00
Nikita Shulga
171f265d80
Back out "Revert D25717510: Clean up some type annotations in benchmarks/fastrnns" ( #50556 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/50556
Original commit changeset: 2bcc19cd4340
Test Plan: Soft revert hammer
Reviewed By: walterddr, seemethere
Differential Revision: D25917129
fbshipit-source-id: e5caad77655789d607b84eee820aa7c960e00f51
2021-01-14 15:15:03 -08:00
Mike Ruberry
2639f1d4a6
Revert D25717510: Clean up some type annotations in benchmarks/fastrnns
...
Test Plan: revert-hammer
Differential Revision:
D25717510 (7d0eecc666 )
Original commit changeset: 4f6431d140e3
fbshipit-source-id: 2bcc19cd434047f3857e0d7e804d34f72e566c30
2021-01-14 07:23:45 -08:00
Nikita Shulga
a3f9cf9497
Fix fastrnn benchmark regression introduced by 49946 ( #50517 )
...
Summary:
Simply add missing `from typing import List, Tuple` and `from torch import Tensor`
Fixes regression introduced by https://github.com/pytorch/pytorch/pull/49946
Pull Request resolved: https://github.com/pytorch/pytorch/pull/50517
Reviewed By: gchanan
Differential Revision: D25908379
Pulled By: malfet
fbshipit-source-id: a44b96681b6121e61b69f960f81c0cad3f2a8d20
2021-01-13 19:10:11 -08:00
Richard Barnes
7d0eecc666
Clean up some type annotations in benchmarks/fastrnns ( #49946 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/49946
Upgrades type annotations from Python2 to Python3
Test Plan: Sandcastle tests
Reviewed By: xush6528
Differential Revision: D25717510
fbshipit-source-id: 4f6431d140e3032b4ca55587f9602aa0ea38c671
2021-01-13 09:57:14 -08:00
Natalia Gimelshein
3875e1ba45
try to make at::cat in mm_tree_reduction operate on contig tensors ( #18816 )
...
Summary:
Sometimes at::cat gets transposed inputs and goes on a slow path. Also, make jit_premul lstm benchmark add bias to the whole input tensor to avoid separate reduction kernels in the backward pass.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18816
Differential Revision: D15013576
Pulled By: wanchaol
fbshipit-source-id: bcfa1cf44180b11b05b0f55f034707012f66281a
2019-04-24 23:44:25 -07:00
Wanchao Liang
6684ef3f23
Move fast rnn benchmark to pytorch/pytorch
...
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/18369
Differential Revision: D14652039
Pulled By: wanchaol
fbshipit-source-id: 1177b1f60d96672c3e2c9d527b56ee06ca7c0af1
2019-03-27 14:46:09 -07:00