Skip to content

Commit dc78c95

Browse files
authored
Merge pull request huggingface#11 from ROCmSoftwarePlatform/IFU-master-2022-05-05
IFU-master-2022-05-05
2 parents 8112f21 + 00e12e7 commit dc78c95

File tree

2,185 files changed

+493858
-113211
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,185 files changed

+493858
-113211
lines changed

.circleci/TROUBLESHOOT.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Troubleshooting
2+
3+
This is a document explaining how to deal with various issues on Circle-CI. The entries may include actually solutions or pointers to Issues that cover those.
4+
5+
## Circle CI
6+
7+
* pytest worker runs out of resident RAM and gets killed by `cgroups`: https://github.com/huggingface/transformers/issues/11408

.circleci/config.yml

Lines changed: 609 additions & 66 deletions
Large diffs are not rendered by default.

.circleci/deploy.sh

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/---new-benchmark.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/--new-model-addition.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 0 additions & 94 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
name: "\U0001F41B Bug Report"
2+
description: Submit a bug report to help us import transformers
3+
labels: [ "bug" ]
4+
body:
5+
- type: textarea
6+
id: system-info
7+
attributes:
8+
label: System Info
9+
description: Please share your system info with us. You can run the command `transformers-cli env` and copy-paste its output below.
10+
render: shell
11+
placeholder: transformers version, platform, python version, ...
12+
validations:
13+
required: true
14+
15+
- type: textarea
16+
id: who-can-help
17+
attributes:
18+
label: Who can help?
19+
description: |
20+
Your issue will be replied to more quickly if you can figure out the right person to tag with @
21+
If you know how to use git blame, that is the easiest way, otherwise, here is a rough guide of **who to tag**.
22+
Please tag fewer than 3 people.
23+
24+
Models:
25+
26+
- ALBERT, BERT, XLM, DeBERTa, DeBERTa-v2, ELECTRA, MobileBert, SqueezeBert: `@LysandreJik`
27+
- T5, Pegasus, EncoderDecoder: `@patrickvonplaten`
28+
- Blenderbot, MBART, BART, Marian, Pegasus: `@patil-suraj`
29+
- Reformer, TransfoXL, XLNet, FNet: `@patrickvonplaten`
30+
- Longformer, BigBird: `@ydshieh`
31+
- FSMT: `@stas00`
32+
- Funnel: `@sgugger`
33+
- GPT-2, GPT: `@patil-suraj`, `@patrickvonplaten`, `@LysandreJik`
34+
- RAG, DPR: `@patrickvonplaten`, `@lhoestq`
35+
- TensorFlow: `@Rocketknight1`
36+
- JAX/Flax: `@patil-suraj`
37+
- TAPAS, LayoutLM, LayoutLMv2, LUKE, ViT, BEiT, DEiT, DETR, CANINE: `@NielsRogge`
38+
- GPT-Neo, GPT-J, CLIP: `@patil-suraj`
39+
- Wav2Vec2, HuBERT, UniSpeech, UniSpeechSAT, SEW, SEW-D: `@patrickvonplaten`, `@anton-l`
40+
- SpeechEncoderDecoder, Speech2Text, Speech2Text2: `@sanchit-gandhi`, `@patrickvonplaten`, `@anton-l`
41+
42+
If the model isn't in the list, ping `@LysandreJik` who will redirect you to the correct contributor.
43+
44+
Library:
45+
- Benchmarks: `@patrickvonplaten`
46+
- Deepspeed: `@stas00`
47+
- Ray/raytune: `@richardliaw`, `@amogkam`
48+
- Text generation: `@patrickvonplaten`, `@Narsil`, `@gante`
49+
- Tokenizers: `@SaulLu`
50+
- Trainer: `@sgugger`
51+
- Pipelines: `@Narsil`
52+
- Speech: `@patrickvonplaten`, `@anton-l`, `@sanchit-gandhi`
53+
- Vision: `@NielsRogge`, `@sgugger`
54+
55+
Documentation: `@sgugger`, `@stevhliu`
56+
57+
Model hub:
58+
59+
- for issues with a model, report at https://discuss.huggingface.co/ and tag the model's creator.
60+
61+
HF projects:
62+
63+
- datasets: [different repo](https://github.com/huggingface/datasets)
64+
- rust tokenizers: [different repo](https://github.com/huggingface/tokenizers)
65+
66+
Examples:
67+
68+
- maintained examples (not research project or legacy): `@sgugger`, `@patil-suraj`
69+
70+
For research projetcs, please ping the contributor directly. For example, on the following projects:
71+
72+
- research_projects/bert-loses-patience: `@JetRunner`
73+
- research_projects/distillation: `@VictorSanh`
74+
placeholder: "@Username ..."
75+
76+
- type: checkboxes
77+
id: information-scripts-examples
78+
attributes:
79+
label: Information
80+
description: 'The problem arises when using:'
81+
options:
82+
- label: "The official example scripts"
83+
- label: "My own modified scripts"
84+
85+
- type: checkboxes
86+
id: information-tasks
87+
attributes:
88+
label: Tasks
89+
description: "The tasks I am working on are:"
90+
options:
91+
- label: "An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)"
92+
- label: "My own task or dataset (give details below)"
93+
94+
- type: textarea
95+
id: reproduction
96+
validations:
97+
required: true
98+
attributes:
99+
label: Reproduction
100+
description: |
101+
Please provide a code sample that reproduces the problem you ran into. It can be a Colab link or just a code snippet.
102+
If you have code snippets, error messages, stack traces please provide them here as well.
103+
Important! Use code tags to correctly format your code. See https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting
104+
Do not use screenshots, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code.
105+
106+
placeholder: |
107+
Steps to reproduce the behavior:
108+
109+
1.
110+
2.
111+
3.
112+
113+
114+
- type: textarea
115+
id: expected-behavior
116+
validations:
117+
required: true
118+
attributes:
119+
label: Expected behavior
120+
description: "A clear and concise description of what you would expect to happen."
121+
render: shell

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
blank_issues_enabled: true
2+
version: 2.1
3+
contact_links:
4+
- name: Website Related
5+
url: https://github.com/huggingface/hub-docs/issues
6+
about: Feature requests and bug reports related to the website
7+
- name: Forum
8+
url: https://discuss.huggingface.co/
9+
about: General usage questions and community discussions

.github/ISSUE_TEMPLATE/feature-request.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)