pytorch
Here are 16,769 public repositories matching this topic...
-
Updated
Jun 25, 2021 - Python
-
Updated
Jul 23, 2021 - Jupyter Notebook
-
Updated
Jun 10, 2021 - Python
-
Updated
Jul 28, 2021 - Jupyter Notebook
We keep this issue open to collect feature requests from users and hear your voice. Our monthly release plan is also available here.
You can either:
- Suggest a new feature by leaving a comment.
- Vote for a feature request with
👍 or be against with👎 . (Remember that developers are busy and cannot respond to all feature requests, so vote for your most favorable one!) - Tell us that
-
Updated
Jul 14, 2021 - Python
-
Updated
Jul 29, 2021 - JavaScript
-
Updated
Jul 21, 2021 - Jupyter Notebook
🚀 Feature
Support the following:
@dataclass
class MyDataModule(LightningDataModule):
pass
Motivation
To reduce boilerplate code is at the core of philosophy in Lightning. It should be compatible with dataclasses.
Code sample
Here is an example. It currently does not work as we have some internal attributes that don't play well with the dataclass.
-
Updated
Jul 28, 2021 - Python
-
Updated
Jul 28, 2021 - Python
Change tensor.data
to tensor.detach()
due to
pytorch/pytorch#6990 (comment)
tensor.detach()
is more robust than tensor.data
.
-
Updated
Jul 28, 2021 - C
-
Updated
Jul 23, 2021 - Python
-
Updated
May 2, 2021
-
Updated
Jul 28, 2021 - Python
-
Updated
May 16, 2021 - Jupyter Notebook
-
Updated
Jul 29, 2021 - Python
-
Updated
Jul 29, 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
Jul 28, 2021 - Python
-
Updated
Jul 29, 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
Jul 29, 2021 - Python
-
Updated
Jul 28, 2021 - Python
-
Updated
Jul 25, 2021 - Jupyter Notebook
-
Updated
Mar 14, 2021 - Jupyter Notebook
-
Updated
Jul 13, 2021 - Python
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."
https://github.com/huggingface/transformers/blob/546dc24e0883e5e9f5eb06ec8060e3e6ccc5f6d7/src/transformers/models/gpt2/modeling_gpt2.py#L698
Assertions can't be relied upon for control flow because they can be disabled, as per the following: