tensorflow / tensorflow/tensorboard
Update Tensorflow Stub DType
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 1
Description
Environment information (required)
Not related.
Issue description
The tensorflow stub tensorboard/compat/tensorflow_stub/dtypes.py does not include certain types in the latest tensorflow tensorflow/python/framework/dtypes.py. Such as:
types_pb2.DT_FLOAT8_E5M2_REFtypes_pb2.DT_FLOAT8_E4M3FN_REFtypes_pb2.DT_INT4_REFtypes_pb2.DT_UINT4_REF
These types exist in tensorboard/compat/proto/types.proto and in tensorflow/python/framework/dtypes.py.
I can open a PR to update the dtypes.py file according to the latest tensorflow code. However, I think it will require adding ml_dtypes as an extra dependency, and I'm not sure if this is the preferred approach.
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 comparing tensorboard/compat/tensorflow_stub/dtypes.py with the referenced TensorFlow dtypes.py and the definitions in tensorboard/compat/proto/types.proto. Check how the four reference types are represented and whether ml_dtypes is an appropriate dependency. Done means the stub supports the missing types without an unsuitable dependency choice.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100