From 49c45120194c4de27cdf2b62bbb84f3a8a19592e Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Wed, 7 Jun 2023 13:45:47 +0200 Subject: [PATCH] Adding issue templates. (#268) --- .github/ISSUE_TEMPLATE/bug-report.yml | 106 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 12 +++ .github/ISSUE_TEMPLATE/feature-request.yml | 31 ++++++ .github/PULL_REQUEST_TEMPLATE.md | 15 +++ 4 files changed, 164 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 0000000..8c586d8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,106 @@ +name: "\U0001F41B Bug Report" +description: Submit a bug report to help us improve safetensors +body: + - type: textarea + id: system-info + attributes: + label: System Info + description: Please share your system info with us. You can run the command `transformers-cli env` and copy-paste its output below. + placeholder: safetensors version, platform, python version, ... + validations: + required: true + + # - type: textarea + # id: who-can-help + # attributes: + # label: Who can help? + # description: | + # Your issue will be replied to more quickly if you can figure out the right person to tag with @ + # If you know how to use git blame, that is the easiest way, otherwise, here is a rough guide of **who to tag**. + # + # All issues are read by one of the core maintainers, so if you don't know who to tag, just leave this blank and + # a core maintainer will ping the right person. + # + # Please tag fewer than 3 people. + # + # Models: + + # - text models: @ArthurZucker and @younesbelkada + # - vision models: @amyeroberts + # - speech models: @sanchit-gandhi + # - graph models: @clefourrier + # + # Library: + # + # - flax: @sanchit-gandhi + # - generate: @gante + # - pipelines: @Narsil + # - tensorflow: @gante and @Rocketknight1 + # - tokenizers: @ArthurZucker + # - trainer: @sgugger + # + # Integrations: + # + # - deepspeed: HF Trainer: @stas00, Accelerate: @pacman100 + # - ray/raytune: @richardliaw, @amogkam + # - Big Model Inference: @sgugger @muellerzr + # + # Documentation: @sgugger, @stevhliu and @MKhalusova + # + # Model hub: + + # - for issues with a model, report at https://discuss.huggingface.co/ and tag the model's creator. + # + # HF projects: + # + # - accelerate: [different repo](https://github.com/huggingface/accelerate) + # - datasets: [different repo](https://github.com/huggingface/datasets) + # - diffusers: [different repo](https://github.com/huggingface/diffusers) + # - rust tokenizers: [different repo](https://github.com/huggingface/tokenizers) + # + # Maintained examples (not research project or legacy): + # + # - Flax: @sanchit-gandhi + # - PyTorch: @sgugger + # - TensorFlow: @Rocketknight1 + + # Research projects are not maintained and should be taken as is. + + # placeholder: "@Username ..." + + - type: checkboxes + id: information-scripts-examples + attributes: + label: Information + description: 'The problem arises when using:' + options: + - label: "The official example scripts" + - label: "My own modified scripts" + + - type: textarea + id: reproduction + validations: + required: true + attributes: + label: Reproduction + description: | + Please provide a code sample that reproduces the problem you ran into. It can be a Colab link or just a code snippet. + If you have code snippets, error messages, stack traces please provide them here as well. + 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 + Do not use screenshots, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code. + + placeholder: | + Steps to reproduce the behavior: + + 1. + 2. + 3. + + + - type: textarea + id: expected-behavior + validations: + required: true + attributes: + label: Expected behavior + description: "A clear and concise description of what you would expect to happen." diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..1b9386d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,12 @@ +blank_issues_enabled: true +version: 2.1 +contact_links: + - name: Model checkpoints on the Hugging Face Hub + url: https://huggingface.co/models + about: Open a Pull request / Discussion related to a specific model checkpoint directly on the Hugging Face Hub + - name: Website Related + url: https://github.com/huggingface/hub-docs/issues + about: Feature requests and bug reports related to the website + - name: Forum + url: https://discuss.huggingface.co/ + about: General usage questions and community discussions diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 0000000..27749f6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,31 @@ +name: "\U0001F680 Feature request" +description: Submit a proposal/request for a new safetensors feature +labels: [ "feature" ] +body: + - type: textarea + id: feature-request + validations: + required: true + attributes: + label: Feature request + description: | + A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. + + - type: textarea + id: motivation + validations: + required: true + attributes: + label: Motivation + description: | + Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too. + + + - type: textarea + id: contribution + validations: + required: true + attributes: + label: Your contribution + description: | + Is there any way that you could help, e.g. by submitting a PR? Make sure to read the CONTRIBUTING.MD [readme](https://github.com/huggingface/safetensors/blob/main/CONTRIBUTING.md) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..8dc3179 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,15 @@ +# What does this PR do? + + + + + +Fixes # (issue) or description of the problem this PR solves. -- 2.43.0