|
| 1 | +# Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. |
| 2 | +# |
| 3 | +# SPDX-License-Identifier: Apache-2.0 |
| 4 | + |
| 5 | +name: Bug Report |
| 6 | +description: Create a report to help us improve |
| 7 | +title: '[BUG]: ' |
| 8 | +labels: ['bug'] |
| 9 | +body: |
| 10 | + - type: checkboxes |
| 11 | + id: check-duplicates |
| 12 | + attributes: |
| 13 | + label: Is this a duplicate? |
| 14 | + description: Check for duplicate issues. |
| 15 | + options: |
| 16 | + - label: I confirmed there appear to be no [duplicate issues](https://github.com/NVIDIA/cuda-python/issues) for this bug and that I agree to the [Code of Conduct](CODE_OF_CONDUCT.md) |
| 17 | + required: true |
| 18 | + |
| 19 | + - type: dropdown |
| 20 | + id: bug-type |
| 21 | + attributes: |
| 22 | + label: Type of Bug |
| 23 | + description: What kind of bug are you running into? |
| 24 | + multiple: false |
| 25 | + options: |
| 26 | + - Silent Failure |
| 27 | + - Runtime Error |
| 28 | + - Compile-time Error |
| 29 | + - Performance |
| 30 | + - Something else |
| 31 | + validations: |
| 32 | + required: true |
| 33 | + |
| 34 | + - type: dropdown |
| 35 | + id: component |
| 36 | + attributes: |
| 37 | + label: Component |
| 38 | + description: Which cuda-python component does this apply to? |
| 39 | + multiple: false |
| 40 | + options: |
| 41 | + - cuda.bindings |
| 42 | + - cuda.core |
| 43 | + - General cuda-python |
| 44 | + - Infrastructure |
| 45 | + - Not sure |
| 46 | + validations: |
| 47 | + required: true |
| 48 | + |
| 49 | + - type: textarea |
| 50 | + id: description |
| 51 | + attributes: |
| 52 | + label: Describe the bug |
| 53 | + description: A clear and concise description of what problem you are running into. |
| 54 | + placeholder: "Attempting to compile a program via `cuda.core.experimental.Program.compile` throws a `ValueError`." |
| 55 | + validations: |
| 56 | + required: true |
| 57 | + |
| 58 | + - type: textarea |
| 59 | + id: reproduction |
| 60 | + attributes: |
| 61 | + label: How to Reproduce |
| 62 | + description: Steps used to reproduce the bug. |
| 63 | + placeholder: | |
| 64 | + 0. Construct a `cuda.core.experimental.Program` instance |
| 65 | + 1. Call the `.compile(...)` method of the instance |
| 66 | + 2. The call throws a `ValueError` with the following: |
| 67 | + ``` |
| 68 | + ValueError: Unsupported target_type="..." (supported_target_types=('ptx', 'cubin', 'ltoir')) |
| 69 | + ``` |
| 70 | + validations: |
| 71 | + required: true |
| 72 | + |
| 73 | + - type: textarea |
| 74 | + id: expected-behavior |
| 75 | + attributes: |
| 76 | + label: Expected behavior |
| 77 | + description: A clear and concise description of what you expected to happen. |
| 78 | + placeholder: "Using `cuda.core.experimental.Program.compile(...)` should run successfully and not throw a `ValueError`" |
| 79 | + validations: |
| 80 | + required: true |
| 81 | + |
| 82 | + - type: markdown |
| 83 | + attributes: |
| 84 | + value: '# System information' |
| 85 | + |
| 86 | + - type: input |
| 87 | + id: operating-system |
| 88 | + attributes: |
| 89 | + label: Operating System |
| 90 | + description: |
| 91 | + If applicable, the OS version where this bug occurs. |
| 92 | + placeholder: Ubuntu Linux 20.04 |
| 93 | + validations: |
| 94 | + required: false |
| 95 | + |
| 96 | + - type: textarea |
| 97 | + id: nvidia-smi-output |
| 98 | + attributes: |
| 99 | + label: nvidia-smi output |
| 100 | + description: If applicable, the output from running the `nvidia-smi` command. |
| 101 | + placeholder: | |
| 102 | + +-----------------------------------------------------------------------------+ |
| 103 | + | NVIDIA-SMI 495.29.05 Driver Version: 495.29.05 CUDA Version: 11.5 | |
| 104 | + |-------------------------------+----------------------+----------------------+ |
| 105 | + | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | |
| 106 | + | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |
| 107 | + | | | MIG M. | |
| 108 | + |===============================+======================+======================| |
| 109 | + | 0 NVIDIA GeForce ... Off | 00000000:41:00.0 On | N/A | |
| 110 | + | 0% 25C P8 8W / 320W | 491MiB / 10015MiB | 0% Default | |
| 111 | + | | | N/A | |
| 112 | + +-------------------------------+----------------------+----------------------+ |
| 113 | + validations: |
| 114 | + required: false |
| 115 | + |
0 commit comments