tf-guides's People
tf-guides's Issues
Advice on dataloader bottleneck when train on TPU vm with GCP cloud storage
Thanks for writing the guide! I managed to find it from https://www.kaggle.com/code/leiterenato/high-performance-pipelines-with-tf-data-and-gcp
This might not be the best place to seek advice, however i think there are not alot of tutorial for training on google cloud platform. I also referred to this doc
Currently, I'm working on a research project which utilized GCP cloud bucket as datastorage, datas are loaded in the form of rlds, size of approx 100mb each. The training is conducted on TPU vm4. With some optimizations by manually tuning the parralel_calls
, parralel_reads
, buffer size
etc. on each operation, there's still a bottleneck on the dataloader. Currently the half of the time is dataloading and half is training. It is obvious that more optimization can be done.
I used profiler to check on each dataload operation, and it seems reasonable. Also, I notice that the it/s
and CPU usage fluctuates abit, (i have reached almost max CPU ram usage). Since there are so many knobs that can be tuned, do you have any advice to improve this dataloading operation?
Would very much appreciate it if you can give me some quick tips! Thanks ๐
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.