url stringlengths 62 66 | repository_url stringclasses 1
value | labels_url stringlengths 76 80 | comments_url stringlengths 71 75 | events_url stringlengths 69 73 | html_url stringlengths 50 56 | id int64 377M 2.15B | node_id stringlengths 18 32 | number int64 1 29.2k | title stringlengths 1 487 | user dict | labels list | state stringclasses 2
values | locked bool 2
classes | assignee dict | assignees list | comments list | created_at int64 1.54k 1.71k | updated_at int64 1.54k 1.71k | closed_at int64 1.54k 1.71k โ | author_association stringclasses 4
values | active_lock_reason stringclasses 2
values | body stringlengths 0 234k โ | reactions dict | timeline_url stringlengths 71 75 | state_reason stringclasses 3
values | draft bool 2
classes | pull_request dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/huggingface/transformers/issues/23403 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23403/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23403/comments | https://api.github.com/repos/huggingface/transformers/issues/23403/events | https://github.com/huggingface/transformers/pull/23403 | 1,712,217,589 | PR_kwDOCUB6oc5QoEkN | 23,403 | Generate: add test to check KV format | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,684 | 1,684 | 1,684 | MEMBER | null | # What does this PR do?
This PR adds a test to ensure our `.generate()`-compatible models have a standard KV cache format. Advanced generation methods (e.g. contrastive search or assisted generation) rely on cache manipulation, so it quickly becomes unmanageable if we don't stick to a conventional format (or a set o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23403/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23403/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23403",
"html_url": "https://github.com/huggingface/transformers/pull/23403",
"diff_url": "https://github.com/huggingface/transformers/pull/23403.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23403.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23402 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23402/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23402/comments | https://api.github.com/repos/huggingface/transformers/issues/23402/events | https://github.com/huggingface/transformers/pull/23402 | 1,712,111,071 | PR_kwDOCUB6oc5QnteB | 23,402 | Update `ConvNextV2ModelIntegrationTest::test_inference_image_classification_head` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,684 | 1,684 | 1,684 | COLLABORATOR | null | # What does this PR do?
Required as this test is currently failing after PR #23122 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23402/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23402/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23402",
"html_url": "https://github.com/huggingface/transformers/pull/23402",
"diff_url": "https://github.com/huggingface/transformers/pull/23402.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23402.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23401 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23401/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23401/comments | https://api.github.com/repos/huggingface/transformers/issues/23401/events | https://github.com/huggingface/transformers/issues/23401 | 1,712,089,251 | I_kwDOCUB6oc5mDGij | 23,401 | batch generation with Llama: IndexError: index out of range in self | {
"login": "arian-askari",
"id": 9359629,
"node_id": "MDQ6VXNlcjkzNTk2Mjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9359629?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arian-askari",
"html_url": "https://github.com/arian-askari",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Hey @arian-askari ๐ \r\n\r\nThe exception pops up because you are defining a new token (`[PAD]`), which causes the exception in the embedding layer (it doesn't know the embeddings for the new token until you define them). \r\n\r\nMost decoder-only models have the same \"issue\" where the padding token is not defi... | 1,684 | 1,687 | 1,684 | NONE | null | ### System Info
I am using Cuda 11.6, and latest version of transformer which is 4.29.1 to the best of my knowledge.
### Who can help?
@gante
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (suc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23401/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23401/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23400 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23400/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23400/comments | https://api.github.com/repos/huggingface/transformers/issues/23400/events | https://github.com/huggingface/transformers/issues/23400 | 1,712,004,549 | I_kwDOCUB6oc5mCx3F | 23,400 | The test `LlamaIntegrationTest::test_conversion` test is failing | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"~I looked into it.~\r\n\r\n~The difference is that the newly converted tokenizer has ids 32000-32004 as special ids which correspond if I'm not mistaken to OpenAssistant llama fork.~\r\n\r\n~Those do not seem to be declared here: https://huggingface.co/hf-internal-testing/llama-tokenizer/tree/main~\r\n\r\n~I'm not... | 1,684 | 1,684 | 1,684 | COLLABORATOR | null | The following command
```bash
RUN_SLOW=1 python3 -m pytest -v tests/models/llama/test_tokenization_llama.py::LlamaIntegrationTest::test_conversion
```
gives
```bash
> self.assertEqual(old_serialized, new_serialized)
E AssertionError: '{\n [1465 chars] "Sequence": {\n "id": "B",\n ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23400/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23400/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23399 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23399/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23399/comments | https://api.github.com/repos/huggingface/transformers/issues/23399/events | https://github.com/huggingface/transformers/pull/23399 | 1,712,000,200 | PR_kwDOCUB6oc5QnVTZ | 23,399 | [`Pix2Struct`] Add conditional generation on docstring example | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,684 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
As discussed in https://github.com/huggingface/transformers/pull/23391#issuecomment-1549555750 - this PR adds an example for users to run conditional generation using pix2struct. In fact, users shouldn't add special tokens when pre-pending the text - therefore it should be explicitly mentione... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23399/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23399/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23399",
"html_url": "https://github.com/huggingface/transformers/pull/23399",
"diff_url": "https://github.com/huggingface/transformers/pull/23399.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23399.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23398 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23398/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23398/comments | https://api.github.com/repos/huggingface/transformers/issues/23398/events | https://github.com/huggingface/transformers/pull/23398 | 1,711,995,620 | PR_kwDOCUB6oc5QnURI | 23,398 | Generate: faster `can_generate` check on TF and Flax | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,684 | 1,684 | 1,684 | MEMBER | null | # What does this PR do?
Same as https://github.com/huggingface/transformers/pull/22643, but on TF and Flax.
[This comment](https://github.com/huggingface/transformers/pull/22643#issuecomment-1501033074) shows that it reduces the exec time of this line from 1-500 ms to <0.01 ms | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23398/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23398/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23398",
"html_url": "https://github.com/huggingface/transformers/pull/23398",
"diff_url": "https://github.com/huggingface/transformers/pull/23398.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23398.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23397 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23397/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23397/comments | https://api.github.com/repos/huggingface/transformers/issues/23397/events | https://github.com/huggingface/transformers/pull/23397 | 1,711,970,294 | PR_kwDOCUB6oc5QnOwe | 23,397 | Docs: add link to assisted generation blog post | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,684 | 1,684 | 1,684 | MEMBER | null | # What does this PR do?
(see PR title) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23397/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23397/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23397",
"html_url": "https://github.com/huggingface/transformers/pull/23397",
"diff_url": "https://github.com/huggingface/transformers/pull/23397.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23397.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23396 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23396/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23396/comments | https://api.github.com/repos/huggingface/transformers/issues/23396/events | https://github.com/huggingface/transformers/issues/23396 | 1,711,926,848 | I_kwDOCUB6oc5mCe5A | 23,396 | trainer.train(resume_from_checkpoint=True) failed | {
"login": "John-Lin98",
"id": 65805703,
"node_id": "MDQ6VXNlcjY1ODA1NzAz",
"avatar_url": "https://avatars.githubusercontent.com/u/65805703?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/John-Lin98",
"html_url": "https://github.com/John-Lin98",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The saved checkpoint is corrupted somehow. I don't know what could be the reason for it since I don't know how it was saved in the first place.",
"sorry for not showing the training parameters earlier. In fact, I used the trainer's automatic checkpoint saving method based on the number of steps. Here, it is set ... | 1,684 | 1,687 | 1,687 | NONE | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.28.1
- Platform: Linux-4.15.0-209-generic-x86_64-with-glibc2.27
- Python version: 3.10.10
- Huggingface_hub version: 0.13.3
- Safetensors version: not installed
- PyTorch version (GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23396/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23396/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23395 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23395/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23395/comments | https://api.github.com/repos/huggingface/transformers/issues/23395/events | https://github.com/huggingface/transformers/issues/23395 | 1,711,834,952 | I_kwDOCUB6oc5mCIdI | 23,395 | Unable to import graphormer from transformers | {
"login": "techthiyanes",
"id": 25921035,
"node_id": "MDQ6VXNlcjI1OTIxMDM1",
"avatar_url": "https://avatars.githubusercontent.com/u/25921035?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/techthiyanes",
"html_url": "https://github.com/techthiyanes",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"By importing cython file manually, fixed the issue. Thanks a lot.",
"> \r\n\r\ni got the same queestion,but only\r\n\r\n ```\r\nfrom transformers.models.graphormer.collating_graphormer import preprocess_item, GraphormerDataCollator\r\nTraceback (most recent call last):\r\n File \"<stdin>\", line 1, in <module>\... | 1,684 | 1,684 | 1,684 | NONE | null | ### System Info
transformers : 4.29.1
Python : 3.10
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23395/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23395/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23394 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23394/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23394/comments | https://api.github.com/repos/huggingface/transformers/issues/23394/events | https://github.com/huggingface/transformers/pull/23394 | 1,711,773,521 | PR_kwDOCUB6oc5Qmj1h | 23,394 | README: Fix affiliation for MEGA | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,684 | 1,684 | 1,684 | MEMBER | null | [discussed in this thread](https://twitter.com/gneubig/status/1658199635457101825) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23394/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23394/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23394",
"html_url": "https://github.com/huggingface/transformers/pull/23394",
"diff_url": "https://github.com/huggingface/transformers/pull/23394.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23394.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23393 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23393/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23393/comments | https://api.github.com/repos/huggingface/transformers/issues/23393/events | https://github.com/huggingface/transformers/issues/23393 | 1,711,668,375 | I_kwDOCUB6oc5mBfyX | 23,393 | is it possible to add `system prompt` to Blenderbot ? | {
"login": "SKbarbon",
"id": 86029286,
"node_id": "MDQ6VXNlcjg2MDI5Mjg2",
"avatar_url": "https://avatars.githubusercontent.com/u/86029286?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SKbarbon",
"html_url": "https://github.com/SKbarbon",
"followers_url": "https://api.github.com/users/SKb... | [] | closed | false | null | [] | [
"Hi @SKbarbon, thanks for raising an issue! \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports.",
"Ah I am sorry @amyeroberts !"
] | 1,684 | 1,684 | 1,684 | NONE | null | This is a simple `BlenderBot` app:
```python
from transformers import BlenderbotSmallTokenizer, BlenderbotSmallForConditionalGeneration
import os
class BlenderBot:
def __init__(
self,
model_name: str ='facebook/blenderbot_small-90M',
):
if not os.path.exists('./models/blende... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23393/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23393/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23392 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23392/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23392/comments | https://api.github.com/repos/huggingface/transformers/issues/23392/events | https://github.com/huggingface/transformers/pull/23392 | 1,711,666,783 | PR_kwDOCUB6oc5QmMVw | 23,392 | Fix `RwkvModel` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,684 | 1,684 | 1,684 | COLLABORATOR | null | # What does this PR do?
The convention is to filter out the `None` value from the output tuple.
And without this, torchscript tests fail as it doesn't like `None` value.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23392/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23392/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23392",
"html_url": "https://github.com/huggingface/transformers/pull/23392",
"diff_url": "https://github.com/huggingface/transformers/pull/23392.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23392.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23391 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23391/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23391/comments | https://api.github.com/repos/huggingface/transformers/issues/23391/events | https://github.com/huggingface/transformers/pull/23391 | 1,711,631,086 | PR_kwDOCUB6oc5QmEmG | 23,391 | Update `test_batched_inference_image_captioning_conditioned` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@younesbelkada If you can take over this PR to avoid `generate weird output right after`, it would be really nice :-)",
"The test should be now fixed, the generated text produces different output than before, probably due to https:... | 1,684 | 1,684 | 1,684 | COLLABORATOR | null | # What does this PR do?
The test `tests/models/pix2struct/test_modeling_pix2struct.py::Pix2StructIntegrationTest::test_batched_inference_image_captioning_conditioned` starts to fail on CI run of `April 27` which includes the merged PR #23023.
@younesbelkada Could you double check if the changes in this PR are rea... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23391/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23391/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23391",
"html_url": "https://github.com/huggingface/transformers/pull/23391",
"diff_url": "https://github.com/huggingface/transformers/pull/23391.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23391.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23390 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23390/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23390/comments | https://api.github.com/repos/huggingface/transformers/issues/23390/events | https://github.com/huggingface/transformers/issues/23390 | 1,711,613,886 | I_kwDOCUB6oc5mBSe- | 23,390 | [Sagemaker] sagemaker distributed features in Trainer broken since Transformers 4.29 | {
"login": "JingyaHuang",
"id": 44135271,
"node_id": "MDQ6VXNlcjQ0MTM1Mjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/44135271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JingyaHuang",
"html_url": "https://github.com/JingyaHuang",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @pacman100 ",
"cc @muellerzr as he has full insights on the related PR.",
"@JingyaHuang could you show the full stack trace so I can see where this error is specifically being raised from/its context?",
"I need any context of a trace that relates to something in transformers to be able to know where/how ... | 1,684 | 1,685 | 1,685 | CONTRIBUTOR | null | ### System Info
* `transformers: 4.29.1`
* `datasets: 2.12.0`
* `evaluate: 0.4.0`
* `accelerate: 0.19.0`
* `torch: 2.0.0`
* `diffusers: 0.16.1`
### Who can help?
@philschmid @sgugger
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [x] An officially... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23390/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23390/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23389 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23389/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23389/comments | https://api.github.com/repos/huggingface/transformers/issues/23389/events | https://github.com/huggingface/transformers/pull/23389 | 1,711,605,945 | PR_kwDOCUB6oc5Ql_LZ | 23,389 | Fix RoBERTa vocab size | {
"login": "amariucaitheodor",
"id": 32778667,
"node_id": "MDQ6VXNlcjMyNzc4NjY3",
"avatar_url": "https://avatars.githubusercontent.com/u/32778667?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amariucaitheodor",
"html_url": "https://github.com/amariucaitheodor",
"followers_url": "https://... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23389). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please... | 1,684 | 1,689 | 1,689 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23389/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23389/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23389",
"html_url": "https://github.com/huggingface/transformers/pull/23389",
"diff_url": "https://github.com/huggingface/transformers/pull/23389.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23389.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23388 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23388/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23388/comments | https://api.github.com/repos/huggingface/transformers/issues/23388/events | https://github.com/huggingface/transformers/issues/23388 | 1,711,603,152 | I_kwDOCUB6oc5mBP3Q | 23,388 | Wrong RoBERTa configuration | {
"login": "amariucaitheodor",
"id": 32778667,
"node_id": "MDQ6VXNlcjMyNzc4NjY3",
"avatar_url": "https://avatars.githubusercontent.com/u/32778667?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amariucaitheodor",
"html_url": "https://github.com/amariucaitheodor",
"followers_url": "https://... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Thanks for pointing this out and opening a PR! ",
"Hey @ArthurZucker @amyeroberts , as i still see that #23389 is not merged , so can I fix this and create a new PR? ",
"Sure! Would be great if you can checkout his branch to include the work he has done ๐ ",
"fix #23863 "
] | 1,684 | 1,685 | 1,685 | NONE | null | https://github.com/huggingface/transformers/blob/c2393cad085e3875ee2206d917d46d15e50602a3/src/transformers/models/roberta/configuration_roberta.py#L108
Must match the tokenizer vocab. size, i.e., `50265`.
Others also mentioned this: https://discuss.pytorch.org/t/hugging-faces-roberta-config-and-tokenizer-do-not-h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23388/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23388/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23387 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23387/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23387/comments | https://api.github.com/repos/huggingface/transformers/issues/23387/events | https://github.com/huggingface/transformers/pull/23387 | 1,711,369,145 | PR_kwDOCUB6oc5QlL1K | 23,387 | Run doctest (in PRs) only when some doc example(s) are modified | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,684 | 1,692 | 1,684 | COLLABORATOR | null | # What does this PR do?
Run doctest (in PRs) only when some doc example(s) are modified.
This is a fix for #23327 (which is reverted in #23371 due to the wrong logic) .
This PR implements the correct logic for
> for now the tests are launched on a file if we modify it, but I would only launch it if docstrin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23387/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23387/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23387",
"html_url": "https://github.com/huggingface/transformers/pull/23387",
"diff_url": "https://github.com/huggingface/transformers/pull/23387.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23387.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23386 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23386/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23386/comments | https://api.github.com/repos/huggingface/transformers/issues/23386/events | https://github.com/huggingface/transformers/issues/23386 | 1,711,340,847 | I_kwDOCUB6oc5mAP0v | 23,386 | FSDP cuda out of memory during checkpoint saving | {
"login": "li-plus",
"id": 39846316,
"node_id": "MDQ6VXNlcjM5ODQ2MzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/39846316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/li-plus",
"html_url": "https://github.com/li-plus",
"followers_url": "https://api.github.com/users/li-plu... | [] | closed | false | null | [] | [
"Not sure why you tagged myself or Sourab - we have worked on Deepspeed integration, and you're welcome to ask questions if you use that. I personally don't know anything about FSDP - Deepspeed works perfectly well and FSDP implements the same ZeRO protocol that Deepspeed innovated. ",
"This issue has been automa... | 1,684 | 1,686 | 1,686 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-4.14.81.bm.22-amd64-x86_64-with-glibc2.24
- Python version: 3.9.16
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23386/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23386/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23385 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23385/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23385/comments | https://api.github.com/repos/huggingface/transformers/issues/23385/events | https://github.com/huggingface/transformers/issues/23385 | 1,711,303,242 | I_kwDOCUB6oc5mAGpK | 23,385 | NLLB-MoE 54B multi-GPU inference throws "Expected all tensors to be on the same device" error | {
"login": "liyier90",
"id": 56420072,
"node_id": "MDQ6VXNlcjU2NDIwMDcy",
"avatar_url": "https://avatars.githubusercontent.com/u/56420072?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liyier90",
"html_url": "https://github.com/liyier90",
"followers_url": "https://api.github.com/users/liy... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Hi @liyier90 \r\nThanks! Sounds like the `_no_split_modules` was not properly checked , I think the fix should be to replace the current `_no_split_modules` with the ones you have defined. \r\nIs this block :\r\n```python\r\n# Demonstrate that only \"model.encoder.layer_norm\" and \"model.e... | 1,684 | 1,693 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-4.18.0-305.25.1.el8_4.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.13.3
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0a0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23385/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/23385/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23384 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23384/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23384/comments | https://api.github.com/repos/huggingface/transformers/issues/23384/events | https://github.com/huggingface/transformers/pull/23384 | 1,711,295,413 | PR_kwDOCUB6oc5Qk8GQ | 23,384 | Fixed FLAVA tensor masking | {
"login": "amariucaitheodor",
"id": 32778667,
"node_id": "MDQ6VXNlcjMyNzc4NjY3",
"avatar_url": "https://avatars.githubusercontent.com/u/32778667?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amariucaitheodor",
"html_url": "https://github.com/amariucaitheodor",
"followers_url": "https://... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23384). All of your documentation changes will be reflected on that endpoint.",
"Hi @amariucaitheodor, thanks for reporting the issue and for opening this PR to resolve it! ๐ \r\n\r\nGoing through the code, I think we can ... | 1,684 | 1,690 | 1,690 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23384/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23384/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23384",
"html_url": "https://github.com/huggingface/transformers/pull/23384",
"diff_url": "https://github.com/huggingface/transformers/pull/23384.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23384.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23383 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23383/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23383/comments | https://api.github.com/repos/huggingface/transformers/issues/23383/events | https://github.com/huggingface/transformers/issues/23383 | 1,711,143,821 | I_kwDOCUB6oc5l_fuN | 23,383 | Appending mapped dataset to list changes previous elements of a list | {
"login": "surya-narayanan",
"id": 17240858,
"node_id": "MDQ6VXNlcjE3MjQwODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/17240858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/surya-narayanan",
"html_url": "https://github.com/surya-narayanan",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"update- the error seems to be in the use of the lambda function, no idea why",
"@surya-narayanan This isn't an issue specific to `datasets` - it's a Python behaviour due to binding of the `x` var when then `lambda` function is first defined:\r\nhttps://docs.python.org/3/faq/programming.html#why-do-lambdas-define... | 1,684 | 1,684 | 1,684 | NONE | null | ### System Info
Hi,
I've been trying to tokenize a dataset with different tokenizers and store it, but in doing so, am running into a bug. The general idea is that appending to a list of datasets, seems to modify previous elements.
A code notebook is here: https://colab.research.google.com/drive/1ljMwBqzCe1fH... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23383/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23383/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23382 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23382/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23382/comments | https://api.github.com/repos/huggingface/transformers/issues/23382/events | https://github.com/huggingface/transformers/pull/23382 | 1,711,026,736 | PR_kwDOCUB6oc5QkC2- | 23,382 | Debug example code for MegaForCausalLM | {
"login": "Tylersuard",
"id": 41713505,
"node_id": "MDQ6VXNlcjQxNzEzNTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/41713505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tylersuard",
"html_url": "https://github.com/Tylersuard",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@amyeroberts I ran \"make style\" in the main Transformers directory and then pushed the changes, and every test now fails, including the ones that passed previously. What am I doing wrong?",
"@Tylersuard Hmmmm..... OK, I'm not ex... | 1,684 | 1,684 | 1,684 | CONTRIBUTOR | null | set ignore_mismatched_sizes=True in model loading code for MegaForCausalLM so that the example code runs without errors.
# What does this PR do?
Fixes # 22974
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23382/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23382/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23382",
"html_url": "https://github.com/huggingface/transformers/pull/23382",
"diff_url": "https://github.com/huggingface/transformers/pull/23382.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23382.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23381 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23381/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23381/comments | https://api.github.com/repos/huggingface/transformers/issues/23381/events | https://github.com/huggingface/transformers/issues/23381 | 1,710,935,813 | I_kwDOCUB6oc5l-s8F | 23,381 | IndexError: index out of range in self | {
"login": "Bateoriginal",
"id": 25548775,
"node_id": "MDQ6VXNlcjI1NTQ4Nzc1",
"avatar_url": "https://avatars.githubusercontent.com/u/25548775?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bateoriginal",
"html_url": "https://github.com/Bateoriginal",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @kashif ",
"@Bateoriginal thank you for the report. Since you are using the model weights for the tourism dataset the cardinality of the embedding layers is fixed to that from this dataset. Thus it seems you are passing it some integer id which is too large with respect to what the model expects. \r\n\r\nMay ... | 1,684 | 1,687 | 1,687 | NONE | null | My batch shape looked like below:
- past_values: torch.Size([17, 35])
- past_time_features: torch.Size([17, 35, 9])
- past_observed_mask: torch.Size([17, 35])
- static_categorical_features: torch.Size([17, 4])
- static_real_features: torch.Size([17, 2])
- future_values: torch.Size([17, 7])
- future_time_featu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23381/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23381/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23380 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23380/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23380/comments | https://api.github.com/repos/huggingface/transformers/issues/23380/events | https://github.com/huggingface/transformers/issues/23380 | 1,710,842,016 | I_kwDOCUB6oc5l-WCg | 23,380 | TextToVideo tool raising name 'init_empty_weights' is not defined error | {
"login": "freddyaboulton",
"id": 41651716,
"node_id": "MDQ6VXNlcjQxNjUxNzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/41651716?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/freddyaboulton",
"html_url": "https://github.com/freddyaboulton",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Thanks for reporting @freddyaboulton! Do you have `accelerate` installed? If so, which version?\r\n",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not foll... | 1,684 | 1,687 | 1,687 | CONTRIBUTOR | null | ### System Info
2023-05-15 21:13:50.400043: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
WARNING:tensorflow:From /usr/local/lib/python3.10/dist-packages/transformers/commands/env.py:63: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23380/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23380/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23379 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23379/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23379/comments | https://api.github.com/repos/huggingface/transformers/issues/23379/events | https://github.com/huggingface/transformers/pull/23379 | 1,710,681,840 | PR_kwDOCUB6oc5Qi49M | 23,379 | [AutoModel] fix `torch_dtype=auto` in `from_pretrained` | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The only change is that `torch_dtype=\"auto\"` remains in `kwargs` and it wasn't before.\r\n\r\nI have just flipped around the `_copy` vs `_orig` as it looked simpler to read that way. There is no functional change in that part of th... | 1,684 | 1,684 | 1,684 | CONTRIBUTOR | null | This PR:
1. fixes the case of `torch_dtype=auto` in `AutoModel.from_pretrained` which got unintentionally stripped in https://github.com/huggingface/transformers/pull/21524 - now `torch_dtype=auto` gets always passed on to the `from_pretrained` method of the resolved class.
2. adds a test
Fixes: https://github.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23379/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23379/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23379",
"html_url": "https://github.com/huggingface/transformers/pull/23379",
"diff_url": "https://github.com/huggingface/transformers/pull/23379.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23379.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23378 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23378/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23378/comments | https://api.github.com/repos/huggingface/transformers/issues/23378/events | https://github.com/huggingface/transformers/issues/23378 | 1,710,652,602 | I_kwDOCUB6oc5l9ny6 | 23,378 | FLAVA tensors are masked twice, forward pass fails | {
"login": "amariucaitheodor",
"id": 32778667,
"node_id": "MDQ6VXNlcjMyNzc4NjY3",
"avatar_url": "https://avatars.githubusercontent.com/u/32778667?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amariucaitheodor",
"html_url": "https://github.com/amariucaitheodor",
"followers_url": "https://... | [] | closed | false | null | [] | [
"A similar thing happens at line 1969 because of line 1956 (`mim_labels` changes shape):\r\n```python\r\n mim_labels[bool_masked_pos.ne(True)] = self.ce_ignore_index\r\nIndexError: The shape of the mask [14, 196] at index 0 does not match the shape of the indexed tensor [13, 196] at index 0\r\n```\r\n\r\nThe fix... | 1,684 | 1,690 | 1,690 | NONE | null | https://github.com/huggingface/transformers/blob/cf11493dce0a1d22446efe0d6c4ade02fd928e50/src/transformers/models/flava/modeling_flava.py#L1965
The line above is the second time this tensor is masked if the previous ITM logic happens (line 1950), resulting e.g. `IndexError: The shape of the mask [14] at index 0 does... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23378/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23378/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23377 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23377/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23377/comments | https://api.github.com/repos/huggingface/transformers/issues/23377/events | https://github.com/huggingface/transformers/issues/23377 | 1,710,530,040 | I_kwDOCUB6oc5l9J34 | 23,377 | Default Models of the pipeline function | {
"login": "DiogenesBR",
"id": 16890195,
"node_id": "MDQ6VXNlcjE2ODkwMTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/16890195?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DiogenesBR",
"html_url": "https://github.com/DiogenesBR",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @DiogenesBR, thanks for raising this issue! \r\n\r\nSimilar to answer in the linked video, at the moment this info is best found by looking at the source code. For example, for the [speech-to-text tool](https://github.com/huggingface/transformers/blob/918a06e25dfd6f79a20b6f07f63598c71e440161/src/transformers/to... | 1,684 | 1,687 | 1,687 | NONE | null | I made issue a on the NLP Course (https://github.com/huggingface/course/issues/561):
> In the video:
> Chapter 1 Live Session with Sylvain
> https://youtu.be/aV4wfnIakSQ?t=928
>
> There a question of what are the default models in the pipeline library.
> His answer is to look at:
> https://github.com/huggingf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23377/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23377/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23376 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23376/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23376/comments | https://api.github.com/repos/huggingface/transformers/issues/23376/events | https://github.com/huggingface/transformers/pull/23376 | 1,710,433,755 | PR_kwDOCUB6oc5QiC5n | 23,376 | [`SAM`] fix sam slow test | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Fix for the notebook: https://github.com/huggingface/notebooks/pull/371",
"_The documentation is not available anymore as the PR was closed or merged._",
"Indeed the tests were passing before because the processor was force unsqueezeing the boxes here: https://github.com/huggingface/transformers/blob/d765717c7... | 1,684 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the slow tests that were failing due to https://github.com/huggingface/transformers/pull/23295
In fact, in the slow test that we have designed, we forgot to use the correct format for the input bounding boxes
Will address a PR on `notebooks` to address the changes in the e... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23376/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23376/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23376",
"html_url": "https://github.com/huggingface/transformers/pull/23376",
"diff_url": "https://github.com/huggingface/transformers/pull/23376.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23376.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23375 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23375/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23375/comments | https://api.github.com/repos/huggingface/transformers/issues/23375/events | https://github.com/huggingface/transformers/pull/23375 | 1,710,350,027 | PR_kwDOCUB6oc5Qhwqy | 23,375 | Add bark | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Superseded by #24086 "
] | 1,684 | 1,686 | 1,686 | CONTRIBUTOR | null | ## What does this PR do?
Fixes #
## TODO
- [x] Add autoregressive text model
- [x] Add autoregressive coarse model
- [x] Add non-autoregressive fine model
- [x] Check text weights
- [ ] Check coarse weights
- [ ] Check fine weights
- [ ] Add Bark model / config -> what design for concatenating the three ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23375/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23375/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23375",
"html_url": "https://github.com/huggingface/transformers/pull/23375",
"diff_url": "https://github.com/huggingface/transformers/pull/23375.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23375.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23374 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23374/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23374/comments | https://api.github.com/repos/huggingface/transformers/issues/23374/events | https://github.com/huggingface/transformers/pull/23374 | 1,710,235,602 | PR_kwDOCUB6oc5QhXv7 | 23,374 | Skip failing `AlignModelTest::test_multi_gpu_data_parallel_forward` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23374). All of your documentation changes will be reflected on that endpoint."
] | 1,684 | 1,684 | 1,684 | COLLABORATOR | null | # What does this PR do?
`tests/models/align/test_modeling_align.py::AlignModelTest::test_multi_gpu_data_parallel_forward` starts to fail after we switch to `torch+cu118`. If I install back with `torch+cu117`, it passes again.
This test uses `torch.nn.DataParallel` which is not recommended (despite not deprecated ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23374/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23374/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23374",
"html_url": "https://github.com/huggingface/transformers/pull/23374",
"diff_url": "https://github.com/huggingface/transformers/pull/23374.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23374.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23373 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23373/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23373/comments | https://api.github.com/repos/huggingface/transformers/issues/23373/events | https://github.com/huggingface/transformers/pull/23373 | 1,710,190,603 | PR_kwDOCUB6oc5QhOBY | 23,373 | Update error message when Accelerate isn't installed | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"id": 2155169140,
"node_id": "MDU6TGFiZWwyMTU1MTY5MTQw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/trainer",
"name": "trainer",
"color": "2ef289",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23373). All of your documentation changes will be reflected on that endpoint."
] | 1,684 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
This PR provides a bit more verbose error when `accelerate` isn't found on an install of `transformers`, as the `Trainer` (on PyTorch) requires Accelerate to be installed.
The error message was changed from:
```python
ImportError: Using the Trainer with PyTorch requires accelerate: Run p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23373/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23373/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23373",
"html_url": "https://github.com/huggingface/transformers/pull/23373",
"diff_url": "https://github.com/huggingface/transformers/pull/23373.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23373.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23372 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23372/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23372/comments | https://api.github.com/repos/huggingface/transformers/issues/23372/events | https://github.com/huggingface/transformers/pull/23372 | 1,710,091,743 | PR_kwDOCUB6oc5Qg4kW | 23,372 | Use `mkstemp` to replace deprecated `mktemp` | {
"login": "ready-research",
"id": 72916209,
"node_id": "MDQ6VXNlcjcyOTE2MjA5",
"avatar_url": "https://avatars.githubusercontent.com/u/72916209?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ready-research",
"html_url": "https://github.com/ready-research",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @sgugger /@amyeroberts, Can you please add this patch in [huntr](https://www.huntr.dev/bounties/a3867b4e-6701-4418-8c20-3c6e7084a44a/) report. Thanks.",
"@ready-research Should be done now!",
"Is this change going to be includ... | 1,684 | 1,686 | 1,684 | CONTRIBUTOR | null | The `tempfile.mktemp` function is [deprecated](https://docs.python.org/3/library/tempfile.html#tempfile.mktemp) due to [security issues](https://cwe.mitre.org/data/definitions/377.html).
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23372/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23372/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23372",
"html_url": "https://github.com/huggingface/transformers/pull/23372",
"diff_url": "https://github.com/huggingface/transformers/pull/23372.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23372.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23371 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23371/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23371/comments | https://api.github.com/repos/huggingface/transformers/issues/23371/events | https://github.com/huggingface/transformers/pull/23371 | 1,709,960,805 | PR_kwDOCUB6oc5Qgb12 | 23,371 | Revert "Only add files with modification outside doc blocks" | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"> Thanks for fixing!\r\n> \r\n> Apologies for not catching in the review either. In the nightly CI, have we run all of the doctests - or do we expect there to be any untested pieces of code between the merge of #23327 and this PR?\r\n\r\nOn daily doctest CI, everything is tested :-) - there is no filtration, it ju... | 1,684 | 1,684 | 1,684 | COLLABORATOR | null | Reverts huggingface/transformers#23327.
I apologize, but I read Sylvain's messge too quickly and got it completely wrong.
> for now the tests are launched on a file if we modify it, but I would only launch it if docstrings are modified (e.g. check the modifications are correct) to go faster.
That merged PR did t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23371/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23371/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23371",
"html_url": "https://github.com/huggingface/transformers/pull/23371",
"diff_url": "https://github.com/huggingface/transformers/pull/23371.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23371.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23370 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23370/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23370/comments | https://api.github.com/repos/huggingface/transformers/issues/23370/events | https://github.com/huggingface/transformers/pull/23370 | 1,709,936,673 | PR_kwDOCUB6oc5QgWaD | 23,370 | Fix `OwlViTForObjectDetection.image_guided_detection` doc example | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@amyeroberts I know you actually want to give the approval but forgot doing it ๐
.\r\nAs I am a serious man, I would try not to merge without a format approval ๐ "
] | 1,684 | 1,684 | 1,684 | COLLABORATOR | null | # What does this PR do?
Need to update expected values after #23157 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23370/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23370/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23370",
"html_url": "https://github.com/huggingface/transformers/pull/23370",
"diff_url": "https://github.com/huggingface/transformers/pull/23370.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23370.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23369 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23369/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23369/comments | https://api.github.com/repos/huggingface/transformers/issues/23369/events | https://github.com/huggingface/transformers/pull/23369 | 1,709,911,587 | PR_kwDOCUB6oc5QgQ-9 | 23,369 | Fix `BigBirdForMaskedLM` doctest | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,684 | 1,684 | 1,684 | COLLABORATOR | null | # What does this PR do?
Need to update some expected values in the doc example after #23056 (that PR also updated some values in the test file) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23369/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23369/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23369",
"html_url": "https://github.com/huggingface/transformers/pull/23369",
"diff_url": "https://github.com/huggingface/transformers/pull/23369.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23369.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23368 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23368/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23368/comments | https://api.github.com/repos/huggingface/transformers/issues/23368/events | https://github.com/huggingface/transformers/issues/23368 | 1,709,873,107 | I_kwDOCUB6oc5l6pfT | 23,368 | RWKV split CPU & GPU results in high perplexity | {
"login": "3outeille",
"id": 47445085,
"node_id": "MDQ6VXNlcjQ3NDQ1MDg1",
"avatar_url": "https://avatars.githubusercontent.com/u/47445085?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/3outeille",
"html_url": "https://github.com/3outeille",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [
{
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url"... | [
"@younesbelkada Any update ?",
"Hi @3outeille \r\nSadly I didn't had time to check that out, are you still facing the issue with the latest main branch of transformers & accelerate?",
"Hi @younesbelkada, I update transformers & accelerate to the latest release version as shown here: https://github.com/3outeill... | 1,684 | 1,690 | 1,690 | MEMBER | null | ### System Info
Using https://github.com/huggingface/transformers/pull/22797#event-9203076880 PR, I tried to evaluate perplexity on wikitext2 using HuggingFace RWKV but found a weird behavior (gist to reproduce the bug: https://gist.github.com/3outeille/e74ec833ec2800a94325f8dad8e0da3d).
- When model is fully loa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23368/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 4
} | https://api.github.com/repos/huggingface/transformers/issues/23368/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23367 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23367/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23367/comments | https://api.github.com/repos/huggingface/transformers/issues/23367/events | https://github.com/huggingface/transformers/pull/23367 | 1,709,794,222 | PR_kwDOCUB6oc5Qf3Dz | 23,367 | [Bugfix] `OPTDecoderLayer` does not return attentions when `gradient_checkpointing` and `training` is enabled. | {
"login": "gmlwns2000",
"id": 4879345,
"node_id": "MDQ6VXNlcjQ4NzkzNDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4879345?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gmlwns2000",
"html_url": "https://github.com/gmlwns2000",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @younesbelkada @ArthurZucker "
] | 1,684 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
Reorder argument of OPTDecoderLayer.forward
Fixes #23366
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23367/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23367/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23367",
"html_url": "https://github.com/huggingface/transformers/pull/23367",
"diff_url": "https://github.com/huggingface/transformers/pull/23367.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23367.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23366 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23366/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23366/comments | https://api.github.com/repos/huggingface/transformers/issues/23366/events | https://github.com/huggingface/transformers/issues/23366 | 1,709,783,270 | I_kwDOCUB6oc5l6Tjm | 23,366 | `OPTDecoderLayer` does not return attentions when `gradient_checkpointing` and `training` is enabled. | {
"login": "gmlwns2000",
"id": 4879345,
"node_id": "MDQ6VXNlcjQ4NzkzNDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4879345?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gmlwns2000",
"html_url": "https://github.com/gmlwns2000",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,684 | 1,684 | 1,684 | CONTRIBUTOR | null | # Bug Description
In `modeling_opt.py#704:710` [code](https://github.com/huggingface/transformers/blob/cf11493dce0a1d22446efe0d6c4ade02fd928e50/src/transformers/models/opt/modeling_opt.py#L704), `OPTDecoder` calls `OPTDecoderLayer.forward` with following argument order.
```py
if self.gradient_checkpointing and sel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23366/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23366/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23365 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23365/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23365/comments | https://api.github.com/repos/huggingface/transformers/issues/23365/events | https://github.com/huggingface/transformers/pull/23365 | 1,709,763,813 | PR_kwDOCUB6oc5Qfwg1 | 23,365 | Fix some `is_xxx_available` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"@ydshieh thanks for fixing this and sorry for having introduced these bugs in first place.",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,684 | 1,684 | 1,684 | COLLABORATOR | null | # What does this PR do?
FYI, after #23163, `is_bs4_available()` and `is_faiss_available()` gives `False` even if they are actually available. This causes some CI errors, in particularly, `MarkupLM`.
This PR fixes the issue in a quick way. It's better to discuss if we want to enhance the function `_is_package_ava... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23365/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23365/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23365",
"html_url": "https://github.com/huggingface/transformers/pull/23365",
"diff_url": "https://github.com/huggingface/transformers/pull/23365.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23365.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23364 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23364/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23364/comments | https://api.github.com/repos/huggingface/transformers/issues/23364/events | https://github.com/huggingface/transformers/pull/23364 | 1,709,657,500 | PR_kwDOCUB6oc5QfZXG | 23,364 | Minor fixes in transformers-tools | {
"login": "Wauplin",
"id": 11801849,
"node_id": "MDQ6VXNlcjExODAxODQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Wauplin",
"html_url": "https://github.com/Wauplin",
"followers_url": "https://api.github.com/users/Waupli... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,684 | 1,684 | 1,684 | CONTRIBUTOR | null | Really just a few things as I dig a bit into the implementation of transformers-tools:
- `upload_folder` instead of `os.listdir` + `create_commit` (more robust against recursion)
- some typing
- use `metadata_update` with correct `repo_id` when pushing to Hub
- use `build_hf_headers` instead of `HfFolder` for token... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23364/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23364/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23364",
"html_url": "https://github.com/huggingface/transformers/pull/23364",
"diff_url": "https://github.com/huggingface/transformers/pull/23364.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23364.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23363 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23363/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23363/comments | https://api.github.com/repos/huggingface/transformers/issues/23363/events | https://github.com/huggingface/transformers/pull/23363 | 1,709,581,568 | PR_kwDOCUB6oc5QfJDq | 23,363 | Fix issue introduced in PR #23163 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"FYI, after #23163, `is_bs4_available()` and `is_faiss_available()` gives `False` even if they are actually available. This causes some CI errors, in particularly, `MarkupLM`.\r\n\r\nI will fix this in a separate PR."
] | 1,684 | 1,684 | 1,684 | COLLABORATOR | null | # What does this PR do?
Fix issue introduced in PR #23163.
The previous `torch_version` is removed (which is not a string but a `version` type), and `get_torch_version()` is introduced and used (which is a string). In some places, it is compared against `self.torch_onnx_minimum_version` which is a string, and we ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23363/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23363/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23363",
"html_url": "https://github.com/huggingface/transformers/pull/23363",
"diff_url": "https://github.com/huggingface/transformers/pull/23363.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23363.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23362 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23362/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23362/comments | https://api.github.com/repos/huggingface/transformers/issues/23362/events | https://github.com/huggingface/transformers/pull/23362 | 1,709,526,240 | PR_kwDOCUB6oc5Qe86M | 23,362 | [image-to-text pipeline] Add conditional text support + GIT | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@Narsil thanks for your review, feel free to approve.",
"Apologies, will take this into account."
] | 1,684 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
The `ImageToText` pipeline can generate text given an image, but oftentimes one wants to make the model continue text given a prompt (like "a photo of"). This PR adds support for conditional text generation given an image.
It also adds support for GIT.
This PR fixes a part of #21110 and... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23362/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23362/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23362",
"html_url": "https://github.com/huggingface/transformers/pull/23362",
"diff_url": "https://github.com/huggingface/transformers/pull/23362.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23362.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23361 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23361/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23361/comments | https://api.github.com/repos/huggingface/transformers/issues/23361/events | https://github.com/huggingface/transformers/pull/23361 | 1,709,501,925 | PR_kwDOCUB6oc5Qe3zJ | 23,361 | [wip test doc-build] | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,684 | 1,684 | 1,684 | CONTRIBUTOR | null | testing https://github.com/huggingface/doc-builder/pull/372
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23361/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23361/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23361",
"html_url": "https://github.com/huggingface/transformers/pull/23361",
"diff_url": "https://github.com/huggingface/transformers/pull/23361.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23361.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23360 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23360/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23360/comments | https://api.github.com/repos/huggingface/transformers/issues/23360/events | https://github.com/huggingface/transformers/pull/23360 | 1,709,262,385 | PR_kwDOCUB6oc5QeErQ | 23,360 | Typo suggestion | {
"login": "richardachen",
"id": 85973297,
"node_id": "MDQ6VXNlcjg1OTczMjk3",
"avatar_url": "https://avatars.githubusercontent.com/u/85973297?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/richardachen",
"html_url": "https://github.com/richardachen",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,684 | 1,684 | 1,684 | CONTRIBUTOR | null | Typo corrected in docs: "preprocessign" --> "preprocessing"
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the exte... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23360/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23360/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23360",
"html_url": "https://github.com/huggingface/transformers/pull/23360",
"diff_url": "https://github.com/huggingface/transformers/pull/23360.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23360.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23359 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23359/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23359/comments | https://api.github.com/repos/huggingface/transformers/issues/23359/events | https://github.com/huggingface/transformers/pull/23359 | 1,709,248,190 | PR_kwDOCUB6oc5QeByl | 23,359 | Replace appends with list comprehension. | {
"login": "ttsugriy",
"id": 172294,
"node_id": "MDQ6VXNlcjE3MjI5NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/172294?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ttsugriy",
"html_url": "https://github.com/ttsugriy",
"followers_url": "https://api.github.com/users/ttsugri... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,684 | 1,684 | 1,684 | CONTRIBUTOR | null | It's more idiomatic and significantly more efficient because 1) it avoids repeated `append` call that Python has to resolve on each iteration 2) can preallocate the size of the final list avoiding resizing
# What does this PR do?
This PR replaces uses list comprehension instead of list appends.
## Before sub... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23359/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23359/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23359",
"html_url": "https://github.com/huggingface/transformers/pull/23359",
"diff_url": "https://github.com/huggingface/transformers/pull/23359.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23359.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23358 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23358/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23358/comments | https://api.github.com/repos/huggingface/transformers/issues/23358/events | https://github.com/huggingface/transformers/issues/23358 | 1,709,084,999 | I_kwDOCUB6oc5l3pFH | 23,358 | Phidas | {
"login": "phidass",
"id": 121753248,
"node_id": "U_kgDOB0HOoA",
"avatar_url": "https://avatars.githubusercontent.com/u/121753248?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/phidass",
"html_url": "https://github.com/phidass",
"followers_url": "https://api.github.com/users/phidass/foll... | [] | closed | false | null | [] | [] | 1,684 | 1,684 | 1,684 | NONE | null | Mai multฤ inteligenศฤ artificialฤ! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23358/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23358/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23357 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23357/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23357/comments | https://api.github.com/repos/huggingface/transformers/issues/23357/events | https://github.com/huggingface/transformers/issues/23357 | 1,708,989,942 | I_kwDOCUB6oc5l3R32 | 23,357 | Model isn't loaded with the right type with AutoModel with torch_dtype="auto" | {
"login": "eladsegal",
"id": 13485709,
"node_id": "MDQ6VXNlcjEzNDg1NzA5",
"avatar_url": "https://avatars.githubusercontent.com/u/13485709?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eladsegal",
"html_url": "https://github.com/eladsegal",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"cc @younesbelkada ",
"Hi @eladsegal ๐\r\n\r\n- The model was saved in `bfloat16` with `\"T5ForConditionalGeneration\"` architecture so the model was loaded in `bfloat16`\r\n- But in `AutoModel.from_pretrai... | 1,684 | 1,684 | 1,684 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.30.0.dev0
### Who can help?
@stas00
(as the relevant change was made in https://github.com/huggingface/transformers/pull/21524)
### Reproduction
```python
from transformers import AutoModelForSeq2SeqLM, T5ForConditionalGeneration
auto_model = AutoModelFor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23357/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23357/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23356 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23356/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23356/comments | https://api.github.com/repos/huggingface/transformers/issues/23356/events | https://github.com/huggingface/transformers/pull/23356 | 1,708,947,631 | PR_kwDOCUB6oc5QdF4V | 23,356 | Replace NumPy Operations with JAX NumPy Equivalents for JIT Compilation Compatibility | {
"login": "gojiteji",
"id": 38291975,
"node_id": "MDQ6VXNlcjM4MjkxOTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/38291975?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gojiteji",
"html_url": "https://github.com/gojiteji",
"followers_url": "https://api.github.com/users/goj... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"doneโ
https://github.com/huggingface/transformers/pull/23356/commits/175ab5dd0b8276f70b69ab21ddb4356aa353d611",
"@gojiteji To resolve the failing quality tests, you'll need to run `make fix-copies` and `make style` and push the cha... | 1,684 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
This PR modifies the Transformers library to replace NumPy operations with their JAX NumPy equivalents. The main change is the use of JAX's immutable update methods as substitutes for in-place assignments.
Using NumPy methods instead of JAX NumPy results in an error during jit compilation (j... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23356/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23356/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23356",
"html_url": "https://github.com/huggingface/transformers/pull/23356",
"diff_url": "https://github.com/huggingface/transformers/pull/23356.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23356.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23355 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23355/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23355/comments | https://api.github.com/repos/huggingface/transformers/issues/23355/events | https://github.com/huggingface/transformers/pull/23355 | 1,708,904,969 | PR_kwDOCUB6oc5Qc9bX | 23,355 | Added support for AzureOpenAiAgent in tools | {
"login": "waundme",
"id": 32538753,
"node_id": "MDQ6VXNlcjMyNTM4NzUz",
"avatar_url": "https://avatars.githubusercontent.com/u/32538753?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/waundme",
"html_url": "https://github.com/waundme",
"followers_url": "https://api.github.com/users/waundm... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23355). All of your documentation changes will be reflected on that endpoint.",
"Awesome that you are contributing.\r\nIn my opinion, rather than having a separate AzureOpenAiAgent adding the options and API calls in the Op... | 1,684 | 1,687 | 1,687 | NONE | null | # What does this PR do?
Implements a new class AzureOpenAiAgent derived from Agent in transformer agents.
Fixes #23324
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23355/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23355/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23355",
"html_url": "https://github.com/huggingface/transformers/pull/23355",
"diff_url": "https://github.com/huggingface/transformers/pull/23355.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23355.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23354 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23354/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23354/comments | https://api.github.com/repos/huggingface/transformers/issues/23354/events | https://github.com/huggingface/transformers/issues/23354 | 1,708,804,231 | I_kwDOCUB6oc5l2kiH | 23,354 | Make it easy to get seperate "prints" for individual runs/ users when using Transformers Agent | {
"login": "MarcSkovMadsen",
"id": 42288570,
"node_id": "MDQ6VXNlcjQyMjg4NTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/42288570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MarcSkovMadsen",
"html_url": "https://github.com/MarcSkovMadsen",
"followers_url": "https://api.gi... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"The solution for me is probably to inspect the `run` function and then compose the pieces in a way that works better for my app.\r\n\r\n",
"cc @sgugger @LysandreJik ",
"Would the PR mentioned above fix you... | 1,684 | 1,684 | null | NONE | null | ### Feature request
I have started exploring the new Transformers Agent. And I would like to build a UI to help me speed up the process.
I might be running multiple runs in parallel or have multiple users using my application. I would like to be able to stream the information from the run as it arrives. I would l... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23354/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23354/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23353 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23353/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23353/comments | https://api.github.com/repos/huggingface/transformers/issues/23353/events | https://github.com/huggingface/transformers/pull/23353 | 1,708,756,233 | PR_kwDOCUB6oc5QchLn | 23,353 | Add support for SciBART by UCLANLP | {
"login": "xiaowu0162",
"id": 43978113,
"node_id": "MDQ6VXNlcjQzOTc4MTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/43978113?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiaowu0162",
"html_url": "https://github.com/xiaowu0162",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23353). All of your documentation changes will be reflected on that endpoint.",
"Hi @younesbelkada, this pr is ready for review.",
"Thank you for the comments! I have fixed the mentioned issues and they are ready for revi... | 1,684 | 1,688 | 1,688 | NONE | null | # What does this PR do?
Add the support for the SciBART model (https://arxiv.org/abs/2212.10233). This is a BART model trained from scratch on the S2ORC corpus. Its tokenizer is a sentencepiece tokenizer trained from scratch. This PR supports using the newly trained tokenizer. The model checkpoints are already uploa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23353/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23353/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23353",
"html_url": "https://github.com/huggingface/transformers/pull/23353",
"diff_url": "https://github.com/huggingface/transformers/pull/23353.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23353.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23352 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23352/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23352/comments | https://api.github.com/repos/huggingface/transformers/issues/23352/events | https://github.com/huggingface/transformers/issues/23352 | 1,708,714,581 | I_kwDOCUB6oc5l2OpV | 23,352 | Transformers can not load dependency of tensorflow - No module named 'keras.engine' | {
"login": "dcdieci",
"id": 634589,
"node_id": "MDQ6VXNlcjYzNDU4OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/634589?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dcdieci",
"html_url": "https://github.com/dcdieci",
"followers_url": "https://api.github.com/users/dcdieci/fo... | [] | closed | false | null | [] | [
"Hi @dcdieci, this issue is the result of some namespace moves inside TensorFlow which occurred because Keras was partly decoupled from TensorFlow and moved to its own repository. If you look at [our codebase](https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_tf_utils.py#L68-L77), you ... | 1,684 | 1,698 | 1,684 | NONE | null | ### System Info
osX silicon M1
- python 3.8.16 (also tested with newer versions e.g. 3.9)
- tensorflow 2.11.0 eigen_py39h384437f_0
(also tested with tensforflow 2.13 rc0)
tried conda and venv.
- transformers 4.28.1
also tested 4.29.1
```python
#sample code which causes the er... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23352/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23352/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23351 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23351/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23351/comments | https://api.github.com/repos/huggingface/transformers/issues/23351/events | https://github.com/huggingface/transformers/issues/23351 | 1,708,684,829 | I_kwDOCUB6oc5l2HYd | 23,351 | Document what layerdrop does | {
"login": "RobertBaruch",
"id": 1783950,
"node_id": "MDQ6VXNlcjE3ODM5NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1783950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RobertBaruch",
"html_url": "https://github.com/RobertBaruch",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi ",
"Hey @RobertBaruch - good catch! It's indeed missing from the Wav2Vec2 config docstring. Would you like to open a PR to add this info? Easiest would be to copy the details from one of the existing configs where the info is present, e.g. OPT:\r\nhttps://github.com/huggingface/transformers/bl... | 1,683 | 1,686 | 1,686 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.11.2
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23351/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23351/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23350 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23350/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23350/comments | https://api.github.com/repos/huggingface/transformers/issues/23350/events | https://github.com/huggingface/transformers/issues/23350 | 1,708,680,554 | I_kwDOCUB6oc5l2GVq | 23,350 | Encoder-Decoder: OTP as a decoder | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Hey @BramVanroy ๐ \r\n\r\nI believe most, if not all, recent decoder-only models are not compatible with `EncoderDecoderModel`, as they are missing a [block like this one in GPT2](https://github.com/huggingface/transformers/blob/main/src/transformers/models/gpt2/modeling_gpt2.py#L404) (plus related changes, like ... | 1,683 | 1,684 | 1,684 | COLLABORATOR | null | ### System Info
- `transformers` version: 4.29.1
- Platform: Linux-5.14.0-162.6.1.el9_1.0.1.x86_64-x86_64-with-glibc2.34
- Python version: 3.10.10
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23350/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23350/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23349 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23349/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23349/comments | https://api.github.com/repos/huggingface/transformers/issues/23349/events | https://github.com/huggingface/transformers/pull/23349 | 1,708,604,503 | PR_kwDOCUB6oc5QcEHf | 23,349 | Add mPLUG-Owl | {
"login": "LukeForeverYoung",
"id": 16715989,
"node_id": "MDQ6VXNlcjE2NzE1OTg5",
"avatar_url": "https://avatars.githubusercontent.com/u/16715989?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LukeForeverYoung",
"html_url": "https://github.com/LukeForeverYoung",
"followers_url": "https://... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23349). All of your documentation changes will be reflected on that endpoint.",
"> Thank you very much for this PR and adding this great model! Let us know when this is ready for review, I can see that a lot of CI tests are... | 1,683 | 1,692 | 1,692 | NONE | null | # What does this PR do?
This PR adds the mPLUG-Owl model from [X-PLUG/mPLUG-Owl](https://github.com/X-PLUG/mPLUG-Owl) which is a multi-modal large language model outperforms LLAVA and mini-GPT4.
Here is a code shows how to play with it:
```Python
from transformers import MplugOwlForConditionalGeneration, MplugO... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23349/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23349/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23349",
"html_url": "https://github.com/huggingface/transformers/pull/23349",
"diff_url": "https://github.com/huggingface/transformers/pull/23349.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23349.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23348 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23348/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23348/comments | https://api.github.com/repos/huggingface/transformers/issues/23348/events | https://github.com/huggingface/transformers/pull/23348 | 1,708,579,337 | PR_kwDOCUB6oc5Qb_WW | 23,348 | Add support for GIT model in VQA pipelines | {
"login": "marechaux",
"id": 7255060,
"node_id": "MDQ6VXNlcjcyNTUwNjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7255060?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marechaux",
"html_url": "https://github.com/marechaux",
"followers_url": "https://api.github.com/users/ma... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23348). All of your documentation changes will be reflected on that endpoint.",
"I have two remarks here : \r\n* The CI is red due to this change : https://github.com/huggingface/transformers/pull/23348/files#diff-b452cc4f0... | 1,683 | 1,688 | 1,688 | NONE | null | # What does this PR do?
This PR implement support for generative model in VQA pipeline (and more precisely GIT model).
Fixes part of #21110
This is my first contribution here, I am uncertain if my approach is correct. Please advise me if any modifications are necessary ๐
## Before submitting
- [x] Did yo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23348/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23348/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23348",
"html_url": "https://github.com/huggingface/transformers/pull/23348",
"diff_url": "https://github.com/huggingface/transformers/pull/23348.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23348.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23347 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23347/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23347/comments | https://api.github.com/repos/huggingface/transformers/issues/23347/events | https://github.com/huggingface/transformers/issues/23347 | 1,708,476,235 | I_kwDOCUB6oc5l1UdL | 23,347 | Still cannot import cached_path | {
"login": "Fshrink",
"id": 132883741,
"node_id": "U_kgDOB-ulHQ",
"avatar_url": "https://avatars.githubusercontent.com/u/132883741?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Fshrink",
"html_url": "https://github.com/Fshrink",
"followers_url": "https://api.github.com/users/Fshrink/foll... | [] | closed | false | null | [] | [
"I don't think that that exists. Did you mean `default_cache_path` or maybe `TRANSFORMERS_CACHE`? Those are in file_utils (and actually utils/hub)\r\n\r\n```python\r\nfrom transformers.file_utils import default_cache_path, TRANSFORMERS_CACHE\r\n```\r\n\r\nhttps://github.com/huggingface/transformers/blob/cf11493dce0... | 1,683 | 1,684 | 1,684 | NONE | null | ### System Info
- `transformers` version: 4.29.1
- Platform: Linux-5.19.0-41-generic-x86_64-with-glibc2.36
- Python version: 3.11.3
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1 (False)
- Tensorflow version (GPU?): 2.12.0 (False)
- Flax version (CPU?/GPU?/TPU?): ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23347/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 1,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23347/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23346 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23346/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23346/comments | https://api.github.com/repos/huggingface/transformers/issues/23346/events | https://github.com/huggingface/transformers/issues/23346 | 1,708,447,515 | I_kwDOCUB6oc5l1Ncb | 23,346 | Asynchronous CUDA Execution Issue with Hugging Face Transformers | {
"login": "taehyunzzz",
"id": 33646149,
"node_id": "MDQ6VXNlcjMzNjQ2MTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/33646149?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/taehyunzzz",
"html_url": "https://github.com/taehyunzzz",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey! Thanks for opening an issue. For other people who might wonder, this is because of the inner workings of accelerate, which are activated by the call to `device_map=\"auto\"`, meaning that the model will be dispatched between both CPU and GPU. "
] | 1,683 | 1,685 | 1,683 | NONE | null | ### System Info
I am reaching out to you regarding an issue I've been experiencing with the Hugging Face Transformers library in a PyTorch environment. I'm encountering unexpected CUDA synchronizations while executing my code, which seems to be impairing the performance of my model. I am hopeful that you can provide... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23346/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23346/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23345 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23345/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23345/comments | https://api.github.com/repos/huggingface/transformers/issues/23345/events | https://github.com/huggingface/transformers/issues/23345 | 1,708,417,698 | I_kwDOCUB6oc5l1GKi | 23,345 | Prompt tuning for Dolly-v2-7b model for Question and Answer not supported? | {
"login": "pratikchhapolika",
"id": 11159549,
"node_id": "MDQ6VXNlcjExMTU5NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11159549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pratikchhapolika",
"html_url": "https://github.com/pratikchhapolika",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hi @pratikchhapolika, thanks for raising an issue! \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports.",
"> Hi @pratikchhapolika, thanks for raising an issue!\r\n> \r\n> This is a question best placed i... | 1,683 | 1,687 | 1,687 | NONE | null | I am following this page for `Prompt tuning for Dolly-v2-7b model for Question and Answer`: https://huggingface.co/docs/peft/task_guides/clm-prompt-tuning
Instead of doing the training in old `pytorch way`. I am doing the training using `Trainer api`. Also in this link
https://huggingface.co/stevhliu/bloomz-560m_P... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23345/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23345/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23344 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23344/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23344/comments | https://api.github.com/repos/huggingface/transformers/issues/23344/events | https://github.com/huggingface/transformers/issues/23344 | 1,708,375,864 | I_kwDOCUB6oc5l0784 | 23,344 | Whisper processor no longer saves mel_filters with `.save_pretrained()` | {
"login": "xenova",
"id": 26504141,
"node_id": "MDQ6VXNlcjI2NTA0MTQx",
"avatar_url": "https://avatars.githubusercontent.com/u/26504141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xenova",
"html_url": "https://github.com/xenova",
"followers_url": "https://api.github.com/users/xenova/fo... | [] | closed | false | null | [] | [
"That change was made before the update you mentioned, in https://github.com/huggingface/transformers/pull/21267\r\n\r\nIt is not necessary to save the mel filters in the JSON file since they are completely defined by the other properties from that JSON file. Plus it makes the JSON file huge and unreadable.\r\n\r\n... | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.29.1
- Platform: Linux-5.15.107+-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.0+cu118 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23344/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23344/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23343 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23343/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23343/comments | https://api.github.com/repos/huggingface/transformers/issues/23343/events | https://github.com/huggingface/transformers/pull/23343 | 1,708,289,668 | PR_kwDOCUB6oc5QbEtp | 23,343 | Removing one of the twice defined position_embeddings in LongFormer | {
"login": "GregorySenay",
"id": 6250371,
"node_id": "MDQ6VXNlcjYyNTAzNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6250371?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GregorySenay",
"html_url": "https://github.com/GregorySenay",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
The self.position_embeddings in LongFormerEmbeddings is defined twice. Removing the first without padding_idx
l. 451/452
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline]
## Who can rev... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23343/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23343/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23343",
"html_url": "https://github.com/huggingface/transformers/pull/23343",
"diff_url": "https://github.com/huggingface/transformers/pull/23343.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23343.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23342 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23342/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23342/comments | https://api.github.com/repos/huggingface/transformers/issues/23342/events | https://github.com/huggingface/transformers/pull/23342 | 1,708,141,947 | PR_kwDOCUB6oc5Qaj_v | 23,342 | [WIP] Add tf swiftformer | {
"login": "joaocmd",
"id": 5345834,
"node_id": "MDQ6VXNlcjUzNDU4MzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5345834?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joaocmd",
"html_url": "https://github.com/joaocmd",
"followers_url": "https://api.github.com/users/joaocmd/... | [] | open | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23342). All of your documentation changes will be reflected on that endpoint.",
"Hi @joaocmd, \r\nRapid work on opening the TF port! Let me or @Rocketknight1 know when the PR is ready for review or you experience any issues... | 1,683 | 1,707 | null | NONE | null | # What does this PR do?
Adds the TensorFlow version of the "SwiftFormer".
Fixes #22771
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23342/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23342/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23342",
"html_url": "https://github.com/huggingface/transformers/pull/23342",
"diff_url": "https://github.com/huggingface/transformers/pull/23342.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23342.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23341 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23341/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23341/comments | https://api.github.com/repos/huggingface/transformers/issues/23341/events | https://github.com/huggingface/transformers/issues/23341 | 1,707,960,019 | I_kwDOCUB6oc5lzWbT | 23,341 | getting AssertionError when using Trainer with `fsdp` and `torch_compile` | {
"login": "ouhenio",
"id": 13739349,
"node_id": "MDQ6VXNlcjEzNzM5MzQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/13739349?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ouhenio",
"html_url": "https://github.com/ouhenio",
"followers_url": "https://api.github.com/users/ouheni... | [] | closed | false | null | [] | [
"meet same issue....",
"cc @pacman100 ",
"The FSDP wrapper inside `trainer.py` needs to be initialized with `use_orig_params=True` for FSDP + compile to work well together. As of now, that is not the case and there is no flag in the Trainer to make it do so. I can probably find some time later in the week to ma... | 1,683 | 1,686 | 1,686 | NONE | null | ### System Info
While trying to train a `GPT2` model using the `Trainer` with `torch_compile` and `fsdp` flags I get the following error:
```bash
AssertionError: Dynamo only supports FSDP with use_orig_params=True
```
I'm using `python==3.10.9`, and initially used `transformers==4.27.X` but after stumbling u... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23341/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23341/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23340 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23340/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23340/comments | https://api.github.com/repos/huggingface/transformers/issues/23340/events | https://github.com/huggingface/transformers/issues/23340 | 1,707,907,734 | I_kwDOCUB6oc5lzJqW | 23,340 | Failed to import transformers.pipelines because of the following error (look up to see its traceback): cannot import name 'PartialState' from 'accelerate' | {
"login": "Abhranta",
"id": 67365559,
"node_id": "MDQ6VXNlcjY3MzY1NTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/67365559?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Abhranta",
"html_url": "https://github.com/Abhranta",
"followers_url": "https://api.github.com/users/Abh... | [] | closed | false | null | [] | [
"Hi @Abhranta, \r\n\r\nSo that we can best try and help you, could you provide information about the running environment: run `transformers-cli env` in the terminal and copy-paste the output? ",
"Hello I am also having this issue hopefully we are having the same root issue. I am new to python and ML. Here is the ... | 1,683 | 1,708 | 1,698 | NONE | null | ### System Info
I am trying to import Segment Anything Model (SAM) using transformers pipeline. But this gives the following error :
"
RuntimeError: Failed to import transformers.pipelines because of the following error (look up to see its traceback):
cannot import name 'PartialState' from 'accelerate' (/opt/conda/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23340/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23340/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23339 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23339/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23339/comments | https://api.github.com/repos/huggingface/transformers/issues/23339/events | https://github.com/huggingface/transformers/pull/23339 | 1,707,886,538 | PR_kwDOCUB6oc5QZs8p | 23,339 | Use cu118 with cudnn >= 8.6 in docker file | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"We have the so called past CI which runs previous torch and tensorflow versions together the environment we set for them. \n\nIn this particular case, since torch version is not changed but using cu118 file, we don't really have any ... | 1,683 | 1,683 | 1,683 | COLLABORATOR | null | # What does this PR do?
We use TF 2.12 after #22759 and #23293. But TF 2.12 requires CUDA 11.8 and CUDNN 8.6 (or up) to work.
Currently, our CI have errors with
```bash
Loaded runtime CuDNN library: 8.5.0 but source was compiled with: 8.6.0. CuDNN library needs to have matching major version and equal or highe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23339/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23339/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23339",
"html_url": "https://github.com/huggingface/transformers/pull/23339",
"diff_url": "https://github.com/huggingface/transformers/pull/23339.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23339.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23338 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23338/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23338/comments | https://api.github.com/repos/huggingface/transformers/issues/23338/events | https://github.com/huggingface/transformers/issues/23338 | 1,707,846,911 | I_kwDOCUB6oc5ly6z_ | 23,338 | AutoTokenizer registration not working as expected | {
"login": "william-cerebras",
"id": 69158333,
"node_id": "MDQ6VXNlcjY5MTU4MzMz",
"avatar_url": "https://avatars.githubusercontent.com/u/69158333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/william-cerebras",
"html_url": "https://github.com/william-cerebras",
"followers_url": "https://... | [] | closed | false | null | [] | [
"I was able to reproduce the error. I will take a look at this problem.",
"Hi @william-cerebras @ArthurZucker! \r\nI have done some quick debugging and the problem is really simple. In `configuration_auto.py` we have `OrderedDict` `CONFIG_MAPPING_NAMES` as well as `CONFIG_MAPPING = _LazyConfigMapping(CONFIG_MAPPI... | 1,683 | 1,685 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.29.1
- Platform: Linux-3.10.0-1160.80.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.2
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 1.13.1+cu117 (False)
- Tensorflow version (GPU?): not installed (NA)
- Fla... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23338/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23338/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23337 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23337/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23337/comments | https://api.github.com/repos/huggingface/transformers/issues/23337/events | https://github.com/huggingface/transformers/issues/23337 | 1,707,777,500 | I_kwDOCUB6oc5lyp3c | 23,337 | EncoderDecoderModel forward decoder_attention_mask can't execute the default behavior mentioned in the document | {
"login": "efsotr",
"id": 104755879,
"node_id": "U_kgDOBj5ypw",
"avatar_url": "https://avatars.githubusercontent.com/u/104755879?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efsotr",
"html_url": "https://github.com/efsotr",
"followers_url": "https://api.github.com/users/efsotr/follower... | [] | closed | false | null | [] | [
"Hi @efsotr \r\nThanks for the issue, indeed there seems to be a typo, one could replace the docstring with the correct behavior (the default mask will be created by the decoder)\r\nDo you want to open a Pull Request to address these changes?\r\nThanks!",
"This issue has been automatically marked as stale because... | 1,683 | 1,687 | 1,687 | NONE | null | @ArthurZucker @younesbelkada
EncoderDecoderModel forward decoder_attention_mask can't execute the default behavior mentioned in the document.
For example,
EncoderDecoderModel (BertModel, BertLMHeadModel)
In EncoderDecoderModel forward:
decoder_attention_mask will be directly passed in self.decoder as atten... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23337/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23337/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23336 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23336/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23336/comments | https://api.github.com/repos/huggingface/transformers/issues/23336/events | https://github.com/huggingface/transformers/issues/23336 | 1,707,732,691 | I_kwDOCUB6oc5lye7T | 23,336 | to is not supported for `8-bit` models | {
"login": "lborcard",
"id": 51543572,
"node_id": "MDQ6VXNlcjUxNTQzNTcy",
"avatar_url": "https://avatars.githubusercontent.com/u/51543572?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lborcard",
"html_url": "https://github.com/lborcard",
"followers_url": "https://api.github.com/users/lbo... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"hi @lborcard \r\nIndeed the `to` operation is not supported for 8bit models as users will most likely encounter unexpected behaviour.\r\nWhat version of `transformers` are you using?\r\nA fix has been introduced in https://github.com/huggingface/transformers/pull/21479 and has been document... | 1,683 | 1,705 | 1,690 | NONE | null | ### System Info
Hi,
I am using a Llama model and wanted to add to pipeline class but it throws me an error when building the pipeline class.
Does anyone have a solution to this?
thank you!
@Narsil
### Who can help?
@Narsil
### Information
- [ ] The official example scripts
- [ ] My own modified scripts... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23336/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23336/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23335 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23335/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23335/comments | https://api.github.com/repos/huggingface/transformers/issues/23335/events | https://github.com/huggingface/transformers/pull/23335 | 1,707,724,504 | PR_kwDOCUB6oc5QZKEx | 23,335 | Fix chat prompt in HFAgent | {
"login": "IvanSedykh",
"id": 46825716,
"node_id": "MDQ6VXNlcjQ2ODI1NzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/46825716?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IvanSedykh",
"html_url": "https://github.com/IvanSedykh",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
There was a bug in formatting prompts in the chat mode. Actually, user-provided custom prompts were never used.
## Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@sg... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23335/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23335/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23335",
"html_url": "https://github.com/huggingface/transformers/pull/23335",
"diff_url": "https://github.com/huggingface/transformers/pull/23335.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23335.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23334 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23334/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23334/comments | https://api.github.com/repos/huggingface/transformers/issues/23334/events | https://github.com/huggingface/transformers/issues/23334 | 1,707,628,928 | I_kwDOCUB6oc5lyFmA | 23,334 | gpt2-large and gpt2-xl behave strangely with pad tokens | {
"login": "boblus",
"id": 42530285,
"node_id": "MDQ6VXNlcjQyNTMwMjg1",
"avatar_url": "https://avatars.githubusercontent.com/u/42530285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/boblus",
"html_url": "https://github.com/boblus",
"followers_url": "https://api.github.com/users/boblus/fo... | [] | closed | false | null | [] | [
"Hi @boblus \r\nIn order for your script to work, you need to properly set the attention mask by masking out the padding tokens and call generate with the attention mask",
"Do you mean `tokenizer.add_special_tokens({'pad_token': pad_token})`?\r\nI have done this. I forgot to put that in my initial comment. Just a... | 1,683 | 1,685 | 1,683 | NONE | null | ### System Info
- `transformers` version: 4.18.0
- Platform: Linux-4.18.0-425.13.1.el8_7.x86_64-x86_64-with-centos-8.7-Green_Obsidian
- Python version: 3.6.8
- Huggingface_hub version: 0.4.0
- PyTorch version (GPU?): 1.10.2+cu113 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23334/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23334/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23333 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23333/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23333/comments | https://api.github.com/repos/huggingface/transformers/issues/23333/events | https://github.com/huggingface/transformers/issues/23333 | 1,707,586,057 | I_kwDOCUB6oc5lx7IJ | 23,333 | ConvNextImageProcessor / ViTImageProcessor produce inf when do_rescale = False | {
"login": "guillermojp",
"id": 112631806,
"node_id": "U_kgDOBraf_g",
"avatar_url": "https://avatars.githubusercontent.com/u/112631806?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guillermojp",
"html_url": "https://github.com/guillermojp",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @guillermojp, thanks for reporting this issue. \r\n\r\nThe image processor does convert the pixel between `[0, 1]` explicitly - it's happens in its own independent rescaling step (not within other logic) and has its own flag to control this behaviour. If you want the image to have its values set between 0-1 the... | 1,683 | 1,684 | 1,684 | NONE | null | ### System Info
- `transformers` version: 4.29.1
- Platform: Linux-5.15.0-1022-aws-x86_64-with-glibc2.31
- Python version: 3.9.4
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1+cu117 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23333/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23333/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23332 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23332/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23332/comments | https://api.github.com/repos/huggingface/transformers/issues/23332/events | https://github.com/huggingface/transformers/pull/23332 | 1,707,585,760 | PR_kwDOCUB6oc5QYsD_ | 23,332 | Compute the mask in-place, with less memory reads, and on CUDA on `XLNetLMHeadModel` | {
"login": "lezcano",
"id": 3291265,
"node_id": "MDQ6VXNlcjMyOTEyNjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3291265?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lezcano",
"html_url": "https://github.com/lezcano",
"followers_url": "https://api.github.com/users/lezcano/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | When working on TorchInductor, I realised that there was a part from `XLNetLMHeadModel` that was being compiled to CPU code.
This PR should allow to fuse this operation with other CUDA operations in `torch.compile`. It also should be faster on eager mode, as it has a this implementation has a lower foot-print.
If... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23332/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23332/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23332",
"html_url": "https://github.com/huggingface/transformers/pull/23332",
"diff_url": "https://github.com/huggingface/transformers/pull/23332.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23332.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23331 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23331/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23331/comments | https://api.github.com/repos/huggingface/transformers/issues/23331/events | https://github.com/huggingface/transformers/issues/23331 | 1,707,556,004 | I_kwDOCUB6oc5lxzyk | 23,331 | RuntimeError: The size of tensor a (16) must match the size of tensor b (16000) at non-singleton dimension 2 | {
"login": "Tylersuard",
"id": 41713505,
"node_id": "MDQ6VXNlcjQxNzEzNTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/41713505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tylersuard",
"html_url": "https://github.com/Tylersuard",
"followers_url": "https://api.github.com/use... | [
{
"id": 3081136536,
"node_id": "MDU6TGFiZWwzMDgxMTM2NTM2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Difficult%20Issue",
"name": "Good Difficult Issue",
"color": "684CC7",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hi @Tylersuard, thanks for reporting this issue. \r\n\r\nSo that we can best try and help you, could you update the notebook so that it contains the minimal logic to replicate the error and can be run out-of-the-box? As it stands, there's many blocks with comments; references to loading / processing data we don't ... | 1,683 | 1,693 | 1,693 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-5.10.147+-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0+cu118 (False)
- Tensorflow version (GPU?): 2.12.0 (False)
- Flax version (CPU?/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23331/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23331/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23329 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23329/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23329/comments | https://api.github.com/repos/huggingface/transformers/issues/23329/events | https://github.com/huggingface/transformers/pull/23329 | 1,707,473,241 | PR_kwDOCUB6oc5QYTV6 | 23,329 | Add ffmpeg install for doctests | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
`tests_pr_documentation_tests` fails if run on some docs e.g. `docs/source/en/task_summary.mdx` as ffmpeg is not installed.
Install ffmpeg in `pr_documentation_tests` CircleCI job.
Despite trying to add changes to the code and docstrings - I was unable to trigger the tests in the CI su... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23329/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23329/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23329",
"html_url": "https://github.com/huggingface/transformers/pull/23329",
"diff_url": "https://github.com/huggingface/transformers/pull/23329.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23329.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23328 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23328/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23328/comments | https://api.github.com/repos/huggingface/transformers/issues/23328/events | https://github.com/huggingface/transformers/issues/23328 | 1,707,423,374 | I_kwDOCUB6oc5lxTaO | 23,328 | Problem with Huggingface Agent | {
"login": "piust",
"id": 42667376,
"node_id": "MDQ6VXNlcjQyNjY3Mzc2",
"avatar_url": "https://avatars.githubusercontent.com/u/42667376?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/piust",
"html_url": "https://github.com/piust",
"followers_url": "https://api.github.com/users/piust/follow... | [] | closed | false | null | [] | [
"Hello @piust \r\n\r\nThe error message you are seeing suggests that there is a size mismatch between two tensors, 'a' and 'b', at dimension 1. This typically occurs when the dimensions of the tensors involved in a calculation are not compatible.\r\n\r\nBut the error message doesn't seem to be specific enough to de... | 1,683 | 1,686 | 1,686 | NONE | null | ### System Info
2023-05-12 10:53:56.623476: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
WARNING:tensorflow:From /usr/local/lib/python3.10/dist-packages/transformers/commands/env.py:63: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23328/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23328/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23327 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23327/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23327/comments | https://api.github.com/repos/huggingface/transformers/issues/23327/events | https://github.com/huggingface/transformers/pull/23327 | 1,707,413,312 | PR_kwDOCUB6oc5QYGT1 | 23,327 | Only add files with modification outside doc blocks | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | COLLABORATOR | null | # What does this PR do?
Add files for doctesting only when they have modifications outside docstrings.
(offline message from Sylvain)
> One small improvement I see is for the docstrings: for now the tests are launched on a file if we modify it, but I would only launch it if docstrings are modified (e.g. check th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23327/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23327/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23327",
"html_url": "https://github.com/huggingface/transformers/pull/23327",
"diff_url": "https://github.com/huggingface/transformers/pull/23327.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23327.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23326 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23326/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23326/comments | https://api.github.com/repos/huggingface/transformers/issues/23326/events | https://github.com/huggingface/transformers/pull/23326 | 1,707,313,490 | PR_kwDOCUB6oc5QXwjW | 23,326 | Remove `LanguageIdentificationTool` in `__init__.py` as we don't have it yet | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | COLLABORATOR | null | # What does this PR do?
We need to implement it before we can import it :-) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23326/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23326/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23326",
"html_url": "https://github.com/huggingface/transformers/pull/23326",
"diff_url": "https://github.com/huggingface/transformers/pull/23326.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23326.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23325 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23325/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23325/comments | https://api.github.com/repos/huggingface/transformers/issues/23325/events | https://github.com/huggingface/transformers/issues/23325 | 1,707,309,406 | I_kwDOCUB6oc5lw3le | 23,325 | resume_from_checkpoint is not used in TrainingArguments | {
"login": "SingL3",
"id": 20473466,
"node_id": "MDQ6VXNlcjIwNDczNDY2",
"avatar_url": "https://avatars.githubusercontent.com/u/20473466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SingL3",
"html_url": "https://github.com/SingL3",
"followers_url": "https://api.github.com/users/SingL3/fo... | [] | closed | false | null | [] | [
"@SingL3 In the [docs for TrainingArguments](https://huggingface.co/docs/transformers/v4.29.1/en/main_classes/trainer#transformers.TrainingArguments.resume_from_checkpoint), it notes that `resume_from_checkpoint` is intended to be used in your own training/evaluation scripts. In the original PR, [this was discussed... | 1,683 | 1,684 | 1,684 | NONE | null | ### System Info
N/A
### Who can help?
@sgugger
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give details below)
### Reproduction
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23325/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23325/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23324 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23324/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23324/comments | https://api.github.com/repos/huggingface/transformers/issues/23324/events | https://github.com/huggingface/transformers/issues/23324 | 1,707,305,474 | I_kwDOCUB6oc5lw2oC | 23,324 | Support Azure OpenAI in transformer agents | {
"login": "huajianmao",
"id": 1352072,
"node_id": "MDQ6VXNlcjEzNTIwNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1352072?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huajianmao",
"html_url": "https://github.com/huajianmao",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"@huajianmao thanks for opening this issue, \r\n\r\nAs a user can enable azure open AI support by adding these lines to their own code, there isn't a requirement to add support in the library. ",
"> @huajianmao thanks for opening this issue,\r\n> \r\n> As a user can enable azure open AI support by adding these li... | 1,683 | 1,686 | 1,686 | NONE | null | ### Feature request
Support it by setting the openai properties.
``` python
openai.api_type = "azure"
openai.api_version = "2023-03-15-preview"
openai.api_base = "https://THE_NAME.openai.azure.com/"
openai.api_key = "AZURE_OPENAI_API_KEY"
# response = openai.Completion.create(engine="xxxx", ...)
```
### Mo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23324/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23324/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23323 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23323/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23323/comments | https://api.github.com/repos/huggingface/transformers/issues/23323/events | https://github.com/huggingface/transformers/issues/23323 | 1,707,301,811 | I_kwDOCUB6oc5lw1uz | 23,323 | no dependency package `accelerate` installed when we install transformers v4.29.1 | {
"login": "PenghuiCheng",
"id": 42089598,
"node_id": "MDQ6VXNlcjQyMDg5NTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/42089598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PenghuiCheng",
"html_url": "https://github.com/PenghuiCheng",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi @PenghuiCheng, \r\n\r\nAll of the examples have their own unique requirements, which are listed in [their own `requirements.txt` file](https://github.com/huggingface/transformers/blob/main/examples/pytorch/text-classification/requirements.txt). The examples are demonstrative of how to perform certain tasks usin... | 1,683 | 1,692 | 1,688 | NONE | null | ### System Info
transformers v4.29.1
torch 2.0.1
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23323/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23323/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23322 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23322/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23322/comments | https://api.github.com/repos/huggingface/transformers/issues/23322/events | https://github.com/huggingface/transformers/issues/23322 | 1,707,252,723 | I_kwDOCUB6oc5lwpvz | 23,322 | TokenClassification Pipeline not aggregating entities correctly | {
"login": "neilkimn",
"id": 37108154,
"node_id": "MDQ6VXNlcjM3MTA4MTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/37108154?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/neilkimn",
"html_url": "https://github.com/neilkimn",
"followers_url": "https://api.github.com/users/nei... | [] | closed | false | null | [] | [
"Hello @neilkimn,\r\n\r\nI haven't looked at the code in detail but I think the error is not from the pipeline itself but from a wrong prediction of the model. I guess you are using IOB format for your labels and maybe the last digit was predicted with `B-TOTAL` and not `I-TOTAL` which end up creating a new entity ... | 1,683 | 1,683 | 1,683 | NONE | null | ### System Info
I am running transformers==4.27.3 but I believe the issue persists in the latest version as the issue at hand is specific to the `gather_pre_entities` function https://github.com/huggingface/transformers/blob/v4.27.3/src/transformers/pipelines/token_classification.py#L281.
- `transformers` versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23322/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23322/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23321 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23321/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23321/comments | https://api.github.com/repos/huggingface/transformers/issues/23321/events | https://github.com/huggingface/transformers/pull/23321 | 1,707,219,850 | PR_kwDOCUB6oc5QXcjS | 23,321 | Fix docker image | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | COLLABORATOR | null | # What does this PR do?
Due to the requirements from other packages, we turns out to get `tensorflow-text==2.11` and cause CI fails from the beginning when we have `tensorflow==2.12`
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23321/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23321/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23321",
"html_url": "https://github.com/huggingface/transformers/pull/23321",
"diff_url": "https://github.com/huggingface/transformers/pull/23321.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23321.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23320 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23320/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23320/comments | https://api.github.com/repos/huggingface/transformers/issues/23320/events | https://github.com/huggingface/transformers/pull/23320 | 1,706,918,920 | PR_kwDOCUB6oc5QWcJF | 23,320 | Why crash the whole run when HFHub gives a 50x error? | {
"login": "ropoctl",
"id": 1702854,
"node_id": "MDQ6VXNlcjE3MDI4NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1702854?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ropoctl",
"html_url": "https://github.com/ropoctl",
"followers_url": "https://api.github.com/users/ropoctl/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @sgugger ",
"> Thanks for opening a PR. Can you move this inside `_push_from_checkpoint` in the `try`/`finally` block?\r\n\r\nDone",
"> Thanks! Can you just run a quick `make style` on your branch to fix the quality issue?\r\n... | 1,683 | 1,684 | 1,684 | CONTRIBUTOR | null | Logging an error and continuing is probably following the principle of least surprise.
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23320/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23320/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23320",
"html_url": "https://github.com/huggingface/transformers/pull/23320",
"diff_url": "https://github.com/huggingface/transformers/pull/23320.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23320.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23319 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23319/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23319/comments | https://api.github.com/repos/huggingface/transformers/issues/23319/events | https://github.com/huggingface/transformers/pull/23319 | 1,706,909,211 | PR_kwDOCUB6oc5QWaGm | 23,319 | [Reland] search model buffers for dtype as the last resort | {
"login": "cyyever",
"id": 17618148,
"node_id": "MDQ6VXNlcjE3NjE4MTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/17618148?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyyever",
"html_url": "https://github.com/cyyever",
"followers_url": "https://api.github.com/users/cyyeve... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,686 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
PR #23159 was reverted due to broken tests. However, I still feel the need to check buffers for dtype when the module was frozen by changing parameters to buffers. But now we search buffers as the last resort. At this point, the old code would raise an exception because it tries to deference... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23319/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23319/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23319",
"html_url": "https://github.com/huggingface/transformers/pull/23319",
"diff_url": "https://github.com/huggingface/transformers/pull/23319.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23319.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23318 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23318/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23318/comments | https://api.github.com/repos/huggingface/transformers/issues/23318/events | https://github.com/huggingface/transformers/pull/23318 | 1,706,898,031 | PR_kwDOCUB6oc5QWXvC | 23,318 | Add Multimodal heading and Document question answering in task_summary.mdx | {
"login": "y3sar",
"id": 16244698,
"node_id": "MDQ6VXNlcjE2MjQ0Njk4",
"avatar_url": "https://avatars.githubusercontent.com/u/16244698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/y3sar",
"html_url": "https://github.com/y3sar",
"followers_url": "https://api.github.com/users/y3sar/follow... | [] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@y3sar - The current CI tests are failing because this PR triggers tests checking code snippets in the docs, and the doctest CI environment doesn't have ffmpeg installed. I've opened a PR #23329 to resolve this. Once I've confirmed e... | 1,683 | 1,689 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
From #18926
This PR creates a new Multimodal heading in task_summary and add Document question answering task example inside of it.
# Who can review?
@stevhliu | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23318/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23318/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23318",
"html_url": "https://github.com/huggingface/transformers/pull/23318",
"diff_url": "https://github.com/huggingface/transformers/pull/23318.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23318.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23317 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23317/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23317/comments | https://api.github.com/repos/huggingface/transformers/issues/23317/events | https://github.com/huggingface/transformers/pull/23317 | 1,706,862,868 | PR_kwDOCUB6oc5QWQDH | 23,317 | fix gptj could not jit.trace in GPU | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
"@yao-matrix",
"_The documentation is not available anymore as the PR was closed or merged._",
"@michaelbenayoun Could you have a second look please?",
"LGTM!\r\n"
] | 1,683 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
fix the jit failure issue for gptj
Fixes # (issue)
jit.trace for gptj fail in RTX8000
error like
ERROR: Tensor-valued Constant nodes differed in value across invocations. This often indicates that the tracer has encountered untraceable code.
Node:
%192 : Tensor =... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23317/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23317/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23317",
"html_url": "https://github.com/huggingface/transformers/pull/23317",
"diff_url": "https://github.com/huggingface/transformers/pull/23317.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23317.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23316 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23316/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23316/comments | https://api.github.com/repos/huggingface/transformers/issues/23316/events | https://github.com/huggingface/transformers/issues/23316 | 1,706,856,566 | I_kwDOCUB6oc5lvJB2 | 23,316 | Using trainer with deepspeed, the program hang on | {
"login": "zyh3826",
"id": 31238754,
"node_id": "MDQ6VXNlcjMxMjM4NzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/31238754?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zyh3826",
"html_url": "https://github.com/zyh3826",
"followers_url": "https://api.github.com/users/zyh382... | [] | closed | false | null | [] | [
"I know why this happened, I set `group_by_length=True`, and since my dataset is very huge, this process is very slow. "
] | 1,683 | 1,683 | 1,683 | NONE | null | ### System Info
transformers: 4.26.1
deepspeed: 0.9.1
python: 3.8.0
platform: Ubuntu 18.04
pytorch: 1.12.0
tensorflow: 2.3.1
CUDA Version: 11.4
Driver Version: 470.82.01
### Who can help?
@sgugger
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23316/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23316/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23315 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23315/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23315/comments | https://api.github.com/repos/huggingface/transformers/issues/23315/events | https://github.com/huggingface/transformers/issues/23315 | 1,706,583,718 | I_kwDOCUB6oc5luGam | 23,315 | Remote text-to-image tool is down | {
"login": "freddyaboulton",
"id": 41651716,
"node_id": "MDQ6VXNlcjQxNjUxNzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/41651716?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/freddyaboulton",
"html_url": "https://github.com/freddyaboulton",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"I still encouter the same Error.",
"Thanks a lot for the reports! It should be fixed now.",
"Thanks for the fix @LysandreJik !"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.29.0
- Platform: macOS-12.2.1-arm64-arm-64bit
- Python version: 3.9.16
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23315/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23315/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23313 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23313/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23313/comments | https://api.github.com/repos/huggingface/transformers/issues/23313/events | https://github.com/huggingface/transformers/pull/23313 | 1,706,514,167 | PR_kwDOCUB6oc5QVE5G | 23,313 | [docs] Fix Agents and Tools docstring | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | MEMBER | null | Fixes the `kwarg` argument in the docstring to include what to expect, otherwise the `kwarg` gets mixed into the argument above it (see [here](https://huggingface.co/docs/transformers/main_classes/agent#transformers.Agent.chat.remote) for example). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23313/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23313/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23313",
"html_url": "https://github.com/huggingface/transformers/pull/23313",
"diff_url": "https://github.com/huggingface/transformers/pull/23313.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23313.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23312 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23312/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23312/comments | https://api.github.com/repos/huggingface/transformers/issues/23312/events | https://github.com/huggingface/transformers/pull/23312 | 1,706,508,574 | PR_kwDOCUB6oc5QVDsL | 23,312 | Fixed slow tokenizer behavior to make it remove special tokens when asked | {
"login": "pedrogengo",
"id": 27240528,
"node_id": "MDQ6VXNlcjI3MjQwNTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/27240528?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pedrogengo",
"html_url": "https://github.com/pedrogengo",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23312). All of your documentation changes will be reflected on that endpoint.",
"cc @ArthurZucker ",
"I still need to do some more tests, but the idea is just add the special in the special tokens list. I will work more o... | 1,683 | 1,687 | 1,687 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23312/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23312/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23312",
"html_url": "https://github.com/huggingface/transformers/pull/23312",
"diff_url": "https://github.com/huggingface/transformers/pull/23312.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23312.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23311 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23311/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23311/comments | https://api.github.com/repos/huggingface/transformers/issues/23311/events | https://github.com/huggingface/transformers/issues/23311 | 1,706,415,789 | I_kwDOCUB6oc5ltdat | 23,311 | TypeError: add got incompatible shapes for broadcasting: (512, 50, 1024), (1, 145, 1024). | {
"login": "alhuri",
"id": 46427957,
"node_id": "MDQ6VXNlcjQ2NDI3OTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/46427957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alhuri",
"html_url": "https://github.com/alhuri",
"followers_url": "https://api.github.com/users/alhuri/fo... | [] | closed | false | null | [] | [
"Hey @alhuri - as detailed in #22673 and #22780, the Italian CLIP repository is not maintained or affiliated with Hugging Face transformers. It is a standalone repository offering its own fine-tuning / evaluation scripts. As such, you're more likely to receive support regarding this issue by directly asking in the ... | 1,683 | 1,684 | 1,684 | NONE | null | ### System Info
transformers version: 4.27.4
Platform: Linux-5.15.0-52-generic-x86_64-with-glibc2.29
Python version: 3.8.10
Huggingface_hub version: 0.13.4
PyTorch version (GPU?): 1.9.0+cpu (False)
Tensorflow version (GPU?): 2.9.1 (True)
Flax version (CPU?/GPU?/TPU?): 0.6.8 (cpu)
Jax version: 0.4.8
JaxLib ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23311/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23311/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23310 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23310/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23310/comments | https://api.github.com/repos/huggingface/transformers/issues/23310/events | https://github.com/huggingface/transformers/pull/23310 | 1,706,404,232 | PR_kwDOCUB6oc5QUtW5 | 23,310 | Fix test typos - audio feature extractors | {
"login": "LWprogramming",
"id": 13173037,
"node_id": "MDQ6VXNlcjEzMTczMDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/13173037?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LWprogramming",
"html_url": "https://github.com/LWprogramming",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
Fixes typos I discovered when I was writing [#23309](https://github.com/huggingface/transformers/pull/23309)
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23310/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23310/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23310",
"html_url": "https://github.com/huggingface/transformers/pull/23310",
"diff_url": "https://github.com/huggingface/transformers/pull/23310.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23310.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23309 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23309/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23309/comments | https://api.github.com/repos/huggingface/transformers/issues/23309/events | https://github.com/huggingface/transformers/pull/23309 | 1,706,400,343 | PR_kwDOCUB6oc5QUsid | 23,309 | is_batched fix for remaining 2-D numpy arrays | {
"login": "LWprogramming",
"id": 13173037,
"node_id": "MDQ6VXNlcjEzMTczMDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/13173037?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LWprogramming",
"html_url": "https://github.com/LWprogramming",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hmm, this is odd-- I just noticed manually (locally) running `pytest` on the tests fixed here just shows they're all automatically skipped. Looking into configuration now...\r\n\r\nEDIT: oh, due to https://github.com/huggingface/transformers/issues/18355#issuecomment-1543277694 I hadn't had torch installed, torcha... | 1,683 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
Fix `is_batched` logic for 2-D numpy arrays, as described in https://github.com/huggingface/transformers/pull/23223#pullrequestreview-1423033751
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23309/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23309/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23309",
"html_url": "https://github.com/huggingface/transformers/pull/23309",
"diff_url": "https://github.com/huggingface/transformers/pull/23309.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23309.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23308 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23308/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23308/comments | https://api.github.com/repos/huggingface/transformers/issues/23308/events | https://github.com/huggingface/transformers/pull/23308 | 1,706,393,692 | PR_kwDOCUB6oc5QUrIV | 23,308 | Revert "search buffers for dtype" | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | COLLABORATOR | null | Reverts huggingface/transformers#23159
This breaks the FDSP integration for some reason, so reverting for now as we investigate things further. The revert will be included in the patch 4.29.1
(Test that breaks:
```
RUN_SLOW=yes pytest -s -v tests/fsdp -k test_checkpointing
```
in Accelerate) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23308/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23308/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23308",
"html_url": "https://github.com/huggingface/transformers/pull/23308",
"diff_url": "https://github.com/huggingface/transformers/pull/23308.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23308.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23307 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23307/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23307/comments | https://api.github.com/repos/huggingface/transformers/issues/23307/events | https://github.com/huggingface/transformers/issues/23307 | 1,706,356,038 | I_kwDOCUB6oc5ltO1G | 23,307 | compute_loss takes a lot of extra memory after saving checkpoint and causes OOM | {
"login": "HuiyingLi",
"id": 1331543,
"node_id": "MDQ6VXNlcjEzMzE1NDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1331543?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HuiyingLi",
"html_url": "https://github.com/HuiyingLi",
"followers_url": "https://api.github.com/users/Hu... | [] | closed | false | null | [] | [
"There is a memory spike due to the model being in 8 bits probably, cc @younesbelkada ",
"Thanks for the prompt response. Do you have any insights why would it only happen after saving checkpoint?",
"Hmm, I just figured that since this is using lora, there is no need to save checkpoints anyways? \r\n\r\n> There... | 1,683 | 1,687 | 1,687 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-5.15.0-1033-aws-x86_64-with-glibc2.27
- Python version: 3.10.9
- Huggingface_hub version: 0.14.0
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23307/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23307/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23306 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23306/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23306/comments | https://api.github.com/repos/huggingface/transformers/issues/23306/events | https://github.com/huggingface/transformers/pull/23306 | 1,706,338,201 | PR_kwDOCUB6oc5QUe9c | 23,306 | Fix image segmentation tool test | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23306). All of your documentation changes will be reflected on that endpoint."
] | 1,683 | 1,683 | 1,683 | COLLABORATOR | null | # What does this PR do?
There were some `prompt` left from before the rename. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23306/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23306/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23306",
"html_url": "https://github.com/huggingface/transformers/pull/23306",
"diff_url": "https://github.com/huggingface/transformers/pull/23306.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23306.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23305 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23305/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23305/comments | https://api.github.com/repos/huggingface/transformers/issues/23305/events | https://github.com/huggingface/transformers/pull/23305 | 1,706,320,614 | PR_kwDOCUB6oc5QUbBh | 23,305 | Fix typo in gradio-tools docs | {
"login": "freddyaboulton",
"id": 41651716,
"node_id": "MDQ6VXNlcjQxNjUxNzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/41651716?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/freddyaboulton",
"html_url": "https://github.com/freddyaboulton",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23305). All of your documentation changes will be reflected on that endpoint."
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Fixes a typo in the gradio-tools guide, `tool` vs `tools`, that prevents the code snippet from running.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23305/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23305/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23305",
"html_url": "https://github.com/huggingface/transformers/pull/23305",
"diff_url": "https://github.com/huggingface/transformers/pull/23305.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23305.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23304 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23304/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23304/comments | https://api.github.com/repos/huggingface/transformers/issues/23304/events | https://github.com/huggingface/transformers/issues/23304 | 1,706,311,937 | I_kwDOCUB6oc5ltEEB | 23,304 | Cannot decode image from remote image segmentation tool | {
"login": "freddyaboulton",
"id": 41651716,
"node_id": "MDQ6VXNlcjQxNjUxNzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/41651716?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/freddyaboulton",
"html_url": "https://github.com/freddyaboulton",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"The endpoint seems to have trouble indeed. It might need a restart @LysandreJik. Form what I see it complains about the inputs being named `image` and `label` and expects a `prompt`.",
"Thank you, nice catch @freddyaboulton! \r\n\r\nIt should be working now.",
"Thank you for the very speedy fix @LysandreJik ! ... | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.29.0
- Platform: macOS-12.2.1-arm64-arm-64bit
- Python version: 3.9.16
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23304/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23304/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23303 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23303/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23303/comments | https://api.github.com/repos/huggingface/transformers/issues/23303/events | https://github.com/huggingface/transformers/issues/23303 | 1,706,203,364 | I_kwDOCUB6oc5lspjk | 23,303 | Cannot import Tool if old version of huggingface_hub is installed | {
"login": "freddyaboulton",
"id": 41651716,
"node_id": "MDQ6VXNlcjQxNjUxNzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/41651716?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/freddyaboulton",
"html_url": "https://github.com/freddyaboulton",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Thanks for reporting! This will be addressed in #23301 ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://git... | 1,683 | 1,686 | 1,686 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.29.0
- Platform: macOS-12.2.1-arm64-arm-64bit
- Python version: 3.9.16
- Huggingface_hub version: 0.13.4
- Safetensors version: not installed
- PyTorch version (GPU?): not installed (NA)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23303/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23303/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23302 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23302/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23302/comments | https://api.github.com/repos/huggingface/transformers/issues/23302/events | https://github.com/huggingface/transformers/pull/23302 | 1,706,122,866 | PR_kwDOCUB6oc5QTwhG | 23,302 | skip `test_run_squad_no_trainer` for now | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | COLLABORATOR | null | # What does this PR do?
Skip `test_run_squad_no_trainer` for now, as it is failing on `main`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23302/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23302/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23302",
"html_url": "https://github.com/huggingface/transformers/pull/23302",
"diff_url": "https://github.com/huggingface/transformers/pull/23302.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23302.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.