Share via

Compute instance.

Sanskar Singh (LTIMINDTREE LIMITED) 20 Reputation points Microsoft External Staff
2024-03-05T06:04:12.7233333+00:00

Q) How to CPU utilization of the compute instances?
Q) While training machine learning model the CPU utilization reaches 100% and the training fails.

Azure Machine Learning
0 comments No comments

Answer accepted by question author

  1. santoshkc 15,615 Reputation points Microsoft External Staff Moderator
    2024-03-05T08:48:46.2366667+00:00

    Hi @Sanskar Singh (LTIMINDTREE LIMITED),

    Thank you for reaching out to Microsoft Q&A forum!

    Azure Monitor to monitor CPU utilization of compute instances. Azure Monitor provides a set of tools to monitor and analyze the performance and health of Azure resources, including compute instances. You can create a metric alert in Azure Monitor to receive notifications when CPU utilization reaches a certain threshold.

    User's image

    If your CPU utilization reaches 100% during training, it does not necessarily mean that your training will fail. However, it can cause performance issues and slow down the training process. In some cases, it can also cause the training to fail if the CPU is unable to keep up with the processing demands.

    To avoid this issue, you can try optimizing your code, reducing the dataset size, using a GPU, increasing the CPU capacity, or using distributed training. These approaches can help reduce the processing demands on the CPU and prevent it from becoming overwhelmed.

    I hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.