Skip to content

Commit

Permalink
Update bug_report.md
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlehoff authored Jan 26, 2024
1 parent 6052274 commit cdbc260
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,20 @@ If GPU, how many? Which version of Cuda do you have?
nvcc --version
```

Please include the version of vegasflow and tensorflow that you are running. Running the following python script will produce useful information:
Please include the version of python, vegasflow and tensorflow that you are running.
Running the following python script will produce useful information:

```python
import tensorflow as tf
import sys
from tensorflow.python.framework import test_util
import vegasflow

print(f"Python version: {sys.version}")
print(f"Vegasflow: {vegasflow.__version__}")
print(f"Tensorflow: {tf.__version__}")
print(f"tf-mkl: {tf.python.framework.test_util.IsMklEnabled()}")
print(f"tf-mkl: {test_util.IsMklEnabled()}")
print(f"tf-cuda: {tf.test.is_built_with_cuda()}")
print(f"tf-cuda: {tf.test.is_built_with_rocm()}")
print(f"GPU available: {tf.test.is_gpu_available()}")
```

0 comments on commit cdbc260

Please sign in to comment.