Posted On: Oct 8, 2019

You can now compare and view differences between two notebooks that are version controlled with Git in SageMaker. Jupyter notebooks (which SageMaker notebooks are built upon) are stored as JSON documents which include tags and metadata, making it difficult to diff with traditional line-by-line text diffing tools.  

The JupyterLab-Git extension has been extended to offer cell-by-cell diffing capability. All the tags and metadata are removed when you diff notebooks, so you can focus on the differences in the content of the notebooks. Output of the cells such as images are also rendered with the diffing extension. This extension is available by default to all SageMaker users.  

Click here to see the Git repo of this tool, and here to learn more about SageMaker notebooks.