Comments (3)
Hi @declanoller ,
I have tested the code in tf-nightly
(dev20240520) and found no memory leak. Please refer to attached gist.
from tensorflow.
Tested with Tf2.16 also and found no memory leak.Gist for reference.
from tensorflow.
@SuryanarayanaY what python version?
I have two machines. Both have TF 2.16.1. However, running the same code on the one with python 3.10 does not leak, while the machine (in the OP) with 3.12 does leak.
edit: I added a print(sys.version)
to your gist, it looks like it's using 3.10:
2.16.1
3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
Can you test it with 3.12 somehow?
from tensorflow.
Related Issues (20)
- Failed to build TF Lite benchmark tool on Windows
- The signatures in SavedModel do not contain serving_default when a subclass of the keras model has multiple inputs HOT 2
- MobileNetV3 quantization HOT 5
- Crash in `tf.raw_ops.ResizeNearestNeighbor/ResizeNearestNeighborGrad/ResizeArea/ResizeBicubic/ResizeBilinear` HOT 3
- Title: TensorFlow/Keras Integration Error: A KerasTensor cannot be used as input to a TensorFlow function HOT 1
- Add stop_evaluating attribute to Model class and add associated modification to evaluate method HOT 1
- Compilation of mlir:tf-opt fails with error "The repository '@llvm_zlib' could not be resolved" HOT 4
- GPU MaxPool gradient ops do not yet have a deterministic XLA implementation HOT 1
- DXGI format does not support cross-API sharing HOT 1
- tflite model maker not install HOT 1
- AttributeError: 'ModelCheckpoint' object has no attribute '_implements_train_batch_hooks' in MoViNet Streaming Model Training HOT 1
- Crash in `tf.raw_ops.SparseCountSparseOutput ` HOT 1
- 16KB so support HOT 1
- Segmentation fault (core dumped) in tf.raw_ops.FractionalMaxPoolGrad when col_pooling_sequence is a very small negative number
- Aborted (core dumped) in `tf.raw_ops.SparseReduceSum\tf.raw_ops.SparseReduceMax` HOT 1
- Aborted (core dumped) in `tf.experimental.numpy.diag/tf.compat.v1.linalg.diag/tf.experimental.numpy.diagflat/tf.keras.ops.diag` HOT 1
- Transfer learning and fine-tuning doc seems to have unexpected results
- YOLOv5n model does work on python tflite but not C++ tflite HOT 1
- Selectively Build TensorFlow Lite with Docker ends with an error.
- SparseTensor Batching Utility
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow.