View PAI-TensorFlow logs

Updated at:

PAI-TensorFlow generates two types of logs after you submit a task: running status logs and LogView logs. Use running status logs to monitor distributed training progress, and LogView logs to inspect pipeline output and diagnose errors.

Warning

GPU-accelerated servers will be phased out. Submit TensorFlow tasks on CPU servers. For GPU-based model training, use Deep Learning Containers (DLC) to submit jobs. For more information, see Submit training jobs.

The following figure shows an example of the logs generated after you submit a PAI-TensorFlow task. image

SectionDescription
①LogView logs. Click the link to open LogView in your browser.
②Running status logs.

Running status logs

Running status logs show the progress of distributed training jobs across nodes. Each log entry uses the format Parameter 1/Parameter 2/Parameter 3:

FieldDescription
Parameter 1The number of nodes currently executing computing tasks.
Parameter 2The number of nodes that have finished computing tasks.
Parameter 3The total number of nodes.

When the progress reaches 100%, the pipeline is complete.

LogView logs

LogView logs provide debug information for your pipeline. To view them:

  1. Open the link shown in ① in your browser. The LogView page opens. image

  2. Double-click an instance to view its error logs or pipeline output. image

  3. On the Worker tab, view task instances or worker instances based on your needs. image

  4. To view output from the print function in your code, click the image icon in the Stdout column.

  5. To view service-level debug information, click the image icon in the StdErr column.