Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Machine Learning Engineer Exam - Topic 3 Question 114 Discussion

Actual exam question for Google's Professional Machine Learning Engineer exam
Question #: 114
Topic #: 3
[All Professional Machine Learning Engineer Questions]

You are training an object detection model using a Cloud TPU v2. Training time is taking longer than expected. Based on this simplified trace obtained with a Cloud TPU profile, what action should you take to decrease training time in a cost-efficient way?

Show Suggested Answer Hide Answer
Suggested Answer: D

The trace in the question shows that the training time is taking longer than expected. This is likely due to the input function not being optimized. To decrease training time in a cost-efficient way, the best option is to rewrite the input function using parallel reads, parallel processing, and prefetch. This will allow the model to process the data more efficiently and decrease training time.Reference:

[Cloud TPU Performance Guide]

[Data input pipeline performance guide]


Contribute your Thoughts:

0/2000 characters
Adela
18 days ago
Definitely go with option D, parallel processing is key!
upvoted 0 times
...
Maryann
23 days ago
I heard TPU v3 is way faster than v2.
upvoted 0 times
...
Kerrie
1 month ago
I vaguely recall that increasing the batch size can sometimes lead to better utilization of resources, but I’m not confident if that alone would solve the issue.
upvoted 0 times
...
Percy
1 month ago
I feel like we had a practice question about input functions, and rewriting them could help with performance. Option C seems relevant.
upvoted 0 times
...
Fidelia
2 months ago
I'm not entirely sure, but I think moving to a different TPU version might not be the most cost-efficient solution.
upvoted 0 times
...
Barabara
2 months ago
I remember we discussed how optimizing the input pipeline can significantly reduce training time, so option D might be the best choice.
upvoted 0 times
...

Save Cancel