Giter VIP home page Giter VIP logo

tf-guides's People

Contributors

leiterenato avatar

Watchers

 avatar

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.