Skip to main content

Week 5 - Work Summary Report

Project: Distributed Neural Network Training and Prediction

Mentors: Roger Dev, Lili Xu 

Week 5: Weekly Work Summary Report (June 19- June 23)

This week, I have been working more on debugging code for incorporating custom node numbers during GNN code execution. For incorporating this logic, I use limitNodes:=0 as a default parameter where if the value of limitNodes is zero, then the system will use all the nodes; otherwise, it will use the given node number (assuming the node number is less than or equal to available nodes number). I updated the function from GNNI and Tensor files to adjust this task. Roger helped me debug the error I was getting, and later he suggested an alternative approach that localizes the changes so that we don't have to make the interfaces more complex. 

In an alternative approach, we modified the ExtractTensor method to take the limit and create the slices on the correct nodes. This localizes the changes so we don’t have to make the interfaces more complex. When debugging code, Roger showed me a different way to tackle the problem and hence reach the solution.

In summary, this week was well spent on debugging and learning how to debug.


Comments

Popular posts from this blog

Enhancing Performance of Distributed Neural Network with GNN Bundle - Project Poster and Videos

Poster contents Background Deep learning implementation demands are rising in various fields, including manufacturing, medicine, art, history, etc. The high demand for powerful graphics cards has led to shortages. Generalized Neural Network (GNN) being one of the choices for distributed neural network training; we want to improve it to have better control over machine utilization and optimize its performance. Within GNN, during backpropagation, the time required for each iteration is equal to the time for the weakest node due to the aggregation of loss required at the end of every iteration Research Questions Can we improve resource usage reduce training time required for deep neural network training using the more powerful machine? Method Adopted the notion of training with a restricted node count Enhanced the Fit function to accommodate nodeNumber parameter. Extracted data aligned with the chosen node count. Conducted training and weight synchronization on chosen nodes. Redistributed...

Week 9: Weekly work summary

Project: Distributed Neural Network Training and Prediction Mentors: Roger Dev, Lili Xu Week 9: Weekly work summary (July 17-21) During this week, my primary focus was on conducting a comparative study between nNode and single node optimization methods. To carry out this analysis, I performed training for both classification and mnist tasks with different node configurations, specifically using node=all, 1, 2, and 3. However, upon reviewing the training time data from my local ubuntu machine and university cluster machine, it became evident that the recorded times did not align with our initial expectations. Roger and I collaborated to investigate this issue, but unfortunately, we were unable to pinpoint the exact cause. This matter remains unresolved and requires further attention. Alongside the comparative study, I dedicated time to explore an alternative approach for multi-node neural network training. Our current implementation involves a functional library for multi-node neural ne...

Week 10: Weekly work summary

Project: Distributed Neural Network Training and Prediction Mentors: Roger Dev, Lili Xu Week 10: Weekly work summary (July 24-28) During this week, I participated in a short demo on utilizing ecl watch for code analysis, specifically focusing on analyzing time for each segment of the code. Gordon Smith provided us with a helpful walkthrough on effectively using Filters and Cross Tab from Metrics page to gather valuable analytics information. Additionally, he demonstrated the ECL tab, offering a brief overview of the time associated with each code block and its color code. I learned that we have the capability to update graph labels through the Options -> Graph tab. This session was highly informative and enhanced my understanding of the analytics available on ECL Watch. Following the demonstration, I devoted my time to analyzing the performance of the single node and nNodeFit Functions. Notably, I observed that FitBatch did not exhibit any time for a single node. To address this, I ...