tensorflow / tensorflow

An Open Source Machine Learning Framework for Everyone
https://tensorflow.org
Apache License 2.0
185.47k stars 74.17k forks source link

Aborted (core dumped) in `tf.io.TFRecordOptions` #73465

Closed x0w3n closed 2 weeks ago

x0w3n commented 1 month ago

Issue type

Bug

Have you reproduced the bug with TensorFlow Nightly?

Yes

Source

source

TensorFlow version

tf 2.17

Custom code

Yes

OS platform and distribution

Linux Ubuntu 22.04.3 LTS (x86_64)

Mobile device

No response

Python version

3.9.13

Bazel version

No response

GCC/compiler version

No response

CUDA/cuDNN version

No response

GPU model and memory

No response

Current behavior?

Triggers crash when the compression_strategy parameter of tf.io.TFRecordOptions is negative.

Standalone code to reproduce the issue

https://colab.research.google.com/drive/1nIfAqRUryYMSdJfZTnIs2jAUW8nUON5s?usp=sharing

Relevant log output

2024-08-09 22:20:07.358412: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2024-08-09 22:20:07.627813: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE4.1 SSE4.2 AVX AVX2 AVX512F AVX512_VNNI AVX512_BF16 AVX512_FP16 AVX_VNNI AMX_TILE AMX_INT8 AMX_BF16 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-08-09 22:20:10.998865: F external/local_tsl/tsl/lib/io/record_writer.cc:74] Failed to initialize Zlib inputbuffer. Error: INVALID_ARGUMENT: deflateInit failed with status-2
Aborted (core dumped)
tilakrayal commented 4 weeks ago

@x0w3n, Looks like there is an open issue that was raised for the similar issue and it was already in the open stage. Could you please check and follow the similar issue for the updates.

https://github.com/tensorflow/tensorflow/issues/63337

Thank you!

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.

github-actions[bot] commented 2 weeks ago

This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.

google-ml-butler[bot] commented 2 weeks ago

Are you satisfied with the resolution of your issue? Yes No