ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 123 - Professional Machine Learning Engineer discussion

Report
Export

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?

A.
Move from Cloud TPU v2 to Cloud TPU v3 and increase batch size.
Answers
A.
Move from Cloud TPU v2 to Cloud TPU v3 and increase batch size.
B.
Move from Cloud TPU v2 to 8 NVIDIA V100 GPUs and increase batch size.
Answers
B.
Move from Cloud TPU v2 to 8 NVIDIA V100 GPUs and increase batch size.
C.
Rewrite your input function to resize and reshape the input images.
Answers
C.
Rewrite your input function to resize and reshape the input images.
D.
Rewrite your input function using parallel reads, parallel processing, and prefetch.
Answers
D.
Rewrite your input function using parallel reads, parallel processing, and prefetch.
Suggested answer: D

Explanation:

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]

asked 18/09/2024
Hicham Kaoussi
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first