Skip to content

TfLite add adds missing datatype support - #44

Closed
RahulSundarMCW wants to merge 7237 commits into
tflite_add_missing_datatypefrom
rahul_add_datatype
Closed

RahulSundarMCW wants to merge 7237 commits into
tflite_add_missing_datatypefrom
rahul_add_datatype

Conversation

@RahulSundarMCW

@RahulSundarMCW RahulSundarMCW commented Jul 29, 2024 •

Copy link
Copy Markdown
Collaborator
  • Adds bf16, f16 support add function
  • Adds bf16, f16 unit tests

@RahulSundarMCW RahulSundarMCW self-assigned this Jul 29, 2024
@RahulSundarMCW RahulSundarMCW changed the title TfLite add missing datatype support TfLite add adds missing datatype support Jul 29, 2024
@RahulSundarMCW
RahulSundarMCW requested a review from rascani July 31, 2024 11:35
@RahulSundarMCW
RahulSundarMCW force-pushed the rahul_add_datatype branch 2 times, most recently from 8a3212f to 21c29ba Compare August 26, 2024 13:30
@vamsimanchala

Copy link
Copy Markdown
Collaborator

Is there a plan to support int8 dtype?

tensorflower-gardener and others added 22 commits December 17, 2024 15:03
Description:

This PR introduces a new analytical latency estimator for NCCL collectives, enabled via the next flags:

--xla_gpu_enable_analytical_sol_latency_estimator \
--xla_gpu_analytical_latency_estimator_options='nccl_op_launch_us=<value>,nic_speed_gbps=<value>,chunk_prep_us=<value>,rtt_us=<value>,gpus_per_node=<value>,chunk_size_bytes=<value>'

Replace <value> with appropriate number for your system (e.g., nccl_op_launch_us=XX). This estimator should improve accuracy and performance, especially for large-scale distributed training."

PiperOrigin-RevId: 707261072
…s (e.g. Android) don't provide std::string_view.

PiperOrigin-RevId: 707279390
…ler/xla/tests/` to `tensorflow/compiler/xla/hlo/testlib/`, in `memory_bound_loop_optimizer_test.cc`.

PiperOrigin-RevId: 707283352
… cannot be turned off now.

PiperOrigin-RevId: 707298305
…s (e.g. Android) don't provide std::string_view.

PiperOrigin-RevId: 707311093
PiperOrigin-RevId: 707323915
PiperOrigin-RevId: 707337872
PiperOrigin-RevId: 707377194
PiperOrigin-RevId: 707393173
PiperOrigin-RevId: 707395367
PiperOrigin-RevId: 707398020
When the block size is too large, its square may overflow and cause a division by zero in output computation.

PiperOrigin-RevId: 707408532
PiperOrigin-RevId: 707415073
PiperOrigin-RevId: 707426486
- extract dot_lib library with a code shared between dot thunk implementations
- add xnn_status conversion to xnn_interop

PiperOrigin-RevId: 707427096
PiperOrigin-RevId: 707430941
PiperOrigin-RevId: 707436428
PiperOrigin-RevId: 707440617
PiperOrigin-RevId: 707442571
PiperOrigin-RevId: 707446189
A. Unique TensorFlower and others added 14 commits December 24, 2024 01:24
PiperOrigin-RevId: 709291109
PiperOrigin-RevId: 709300229
PiperOrigin-RevId: 709300245
PiperOrigin-RevId: 709300649
PiperOrigin-RevId: 709301212
PiperOrigin-RevId: 709301357
PiperOrigin-RevId: 709301362
PiperOrigin-RevId: 709301695
PiperOrigin-RevId: 709301726
All collectives default to a copy is there is no communication between replicas needed. Using a copy doesn't work for RaggedAllToAll, because it because a generic DynamicUpdateSlice that we can not express in HLO. The best option we have right now is to use the same NCCL thunk.

PiperOrigin-RevId: 709363038
A very basic HloComputation to xnn_subgraph_t interpreter that only supports binary operators.

PiperOrigin-RevId: 709373574
PiperOrigin-RevId: 709403221

ghost left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please help add unquantized int8 support? Maybe it already works, can you please help add some tests for unquantized int8?

A. Unique TensorFlower and others added 11 commits December 24, 2024 21:36
PiperOrigin-RevId: 709483389
PiperOrigin-RevId: 709489754
PiperOrigin-RevId: 709489985
PiperOrigin-RevId: 709490788
PiperOrigin-RevId: 709491711
PiperOrigin-RevId: 709510293
PiperOrigin-RevId: 709511972
 - Adds bf16, f16 support sub function
 - Adds bf16, f16 unit tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.