pytorch
Here are 18,735 public repositories matching this topic...
-
Updated
Nov 19, 2021 - Python
-
Updated
Oct 23, 2021 - Jupyter Notebook
-
Updated
Oct 16, 2021 - Python
-
Updated
Nov 7, 2021 - Jupyter Notebook
-
Updated
Nov 19, 2021 - Python
-
Updated
Nov 19, 2021 - JavaScript
Proposed refactoring or deprecation
Motivation
Lightning has a utility defined for all gather with gradients here: https://github.com/PyTorchLightning/pytorch-lightning/blob/d515bcac969c2a485ada673e302bfac51f142331/pytorch_lightning/utilities/distributed.py#L200-L222
However, this is already available in torch dist
-
Updated
Nov 17, 2021 - Python
-
Updated
Oct 25, 2021 - Jupyter Notebook
-
Updated
Nov 19, 2021 - Python
-
Updated
Nov 19, 2021 - Python
Change tensor.data to tensor.detach() due to
pytorch/pytorch#6990 (comment)
tensor.detach() is more robust than tensor.data.
-
Updated
Nov 19, 2021 - C
-
Updated
Oct 26, 2021 - Python
能出一个视频教程嘛
-
Updated
May 2, 2021
-
Updated
Aug 30, 2021 - Jupyter Notebook
-
Updated
Nov 19, 2021 - Python
New Operator
Describe the operator
Why is this operator necessary? What does it accomplish?
This is a frequently used operator in tensorflow/keras
Can this operator be constructed using existing onnx operators?
If so, why not add it as a function?
I don't know.
Is this operator used by any model currently? Which one?
Are you willing to contribute it?
-
Updated
Nov 19, 2021 - Python
Motivated by huggingface/transformers#12789 in Transformers, one welcoming change would be replacing assertions with proper exceptions. The only type of assertions we should keep are those used as sanity checks.
Currently, there is a total of 87 files with the assert statements (located under datasets and src/datasets), so when working on this, to manage the PR s
-
Updated
Nov 19, 2021 - Python
-
Updated
Nov 17, 2021 - Python
Is your feature request related to a problem? Please describe.
I typically used compressed datasets (e.g. gzipped) to save disk space. This works fine with AllenNLP during training because I can write my dataset reader to load the compressed data. However, the predict command opens the file and reads lines for the Predictor. This fails when it tries to load data from my compressed files.
-
Updated
Nov 19, 2021 - Python
-
Updated
Jul 25, 2021 - Jupyter Notebook
-
Updated
Mar 14, 2021 - Jupyter Notebook
Improve this page
Add a description, image, and links to the pytorch topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the pytorch topic, visit your repo's landing page and select "manage topics."
Currently, the
EncoderDecoderModelclass in PyTorch automatically creates thedecoder_input_idsbased on thelabelsprovided by the user (similar to how this is done for T5/BART). This should also be implemented forTFEncoderDecoderModel, because currently users should manually providedecoder_input_idsto the model.One can take a look at the TF implementation