tensorflow / tensorflow/tensorboard
[notf] dtypes.py is setting wrong _np_bfloat16
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 1
Description
np_bloat16 in no TF mode is set to 0.
https://github.com/tensorflow/tensorboard/blob/51e9611843caea57bebdc1d8cf2a2c9c1ecf090b/tensorboard/compat/tensorflow_stub/pywrap_tensorflow.py#L39
That causes lines like these to fail:
https://github.com/tensorflow/tensorboard/blob/51e9611843caea57bebdc1d8cf2a2c9c1ecf090b/tensorboard/compat/tensorflow_stub/dtypes.py#L208
https://github.com/tensorflow/tensorboard/blob/51e9611843caea57bebdc1d8cf2a2c9c1ecf090b/tensorboard/compat/tensorflow_stub/dtypes.py#L679-L681
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading tensorboard/compat/tensorflow_stub/pywrap_tensorflow.py around line 39 and tensorboard/compat/tensorflow_stub/dtypes.py at lines 208 and 679-681. Trace how _np_bfloat16 is assigned in no-TensorFlow mode and verify that the affected dtype references no longer fail there.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100