4 easy ways to GIT in AI Workbench and Jupyter Notebooks (0.86.20 edition)
I struggled initially to manage my ML and data science projects when running them in the NVidia Workbench. The built-in GIT interface was basic and fine for basic operations but I found it frustrating for branching and merging. I ended up using tools that ran inside the Workbench Container instead of the Workbench itself. Workbench SVC support continues to improve but I use the other tools discussed while watching Workbench improve.
Here are the 4 ways I've explored.
The AI Workbench UI
This NVidia AI Workbench interface is a work in progress. The latest version adds git diff capabilities, a big improvement. This UI is still simple and intended for basic file commits. Use something else if you need advanced git control or merge functionality.
Jupyter Notebook Extensions
There are a few different Jupyter Notebook extensions. Some, like jupyterlab-git, add themselves to the Notebook UI toolbar. Here is the left gutter interface for extension: jupyterlab-git. It feels like a lot of other IDE git extensions.
Jupyter Notebook Terminal
You can access git via the command line using the Jupyter Notebook shell.
Add APP > VSCode
AI Workbench (0.86.20?) added the ability to remove or install jupyterlab and Visual Studio Code at will. We can add VSCode and then use all of the GIT and SVC extensions that it supports. This is the most feature-rich option.
Revision History
Created 2024/11
Comments
Post a Comment