• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: �� torch.compile Bug Report
2description: Create a report to help us reproduce and fix the bug
3labels: ["oncall: pt2"]
4
5body:
6  - type: markdown
7    attributes:
8      value: >
9        #### Before submitting a bug, please make sure the issue hasn't been already addressed by searching through [the
10        existing and past issues](https://github.com/pytorch/pytorch/issues)
11        It's likely that your bug will be resolved by checking our FAQ or troubleshooting guide [documentation](https://pytorch.org/docs/main/dynamo/index.html)
12
13        Note: if you're submitting an issue that you generated from a fuzzer. Please do the following:
14
15        - Ensure rtol/atol are at default tolerances
16
17        - Dont compare indices of max/min etc, because that avoids the above requirement
18
19        - If comparing eager and torch.compile at fp16/bf16, you should use fp32 as baseline
20
21        If the above requirements are met, add the label "topic: fuzzer" to your issue.
22
23  - type: textarea
24    attributes:
25      label: �� Describe the bug
26      description: |
27        Please provide a clear and concise description of what the bug is.
28      placeholder: |
29        A clear and concise description of what the bug is.
30    validations:
31      required: false
32
33  - type: textarea
34    attributes:
35      label: Error logs
36      description: |
37        Please provide the error you're seeing
38      placeholder: |
39        Error...
40    validations:
41      required: false
42  - type: textarea
43    attributes:
44      label: Minified repro
45      description: |
46        Please run the minifier on your example and paste the minified code below
47        Learn more here https://pytorch.org/docs/main/torch.compiler_troubleshooting.html
48      placeholder: |
49        env TORCHDYNAMO_REPRO_AFTER="aot" python your_model.py
50        or
51        env TORCHDYNAMO_REPRO_AFTER="dynamo" python your_model.py
52
53        import torch
54        ...
55
56        # torch version: 2.0.....
57
58        class Repro(torch.nn.Module)
59    validations:
60      required: false
61  - type: textarea
62    attributes:
63      label: Versions
64      description: |
65        Please run the following and paste the output below.
66        ```sh
67        curl -OL https://raw.githubusercontent.com/pytorch/pytorch/main/torch/utils/collect_env.py
68        # For security purposes, please check the contents of collect_env.py before running it.
69        python3 collect_env.py
70        ```
71    validations:
72      required: true
73