ML Runtimes versus the Legacy Engine
Runtimes and the Legacy Engine serve the same basic goal: they are container images that contain a complete Linux OS, interpreter(s), and libraries. They are the environment in which your code runs.
There are many Runtimes. Currently each Runtime contains a single interpreter (for example,
Python 3.8, R 4.0, etc.) and a set of UNIX tools including
gcc. Each Runtime
supports a single UI for running code (for example, the Workbench or JupyterLab).
There is one Legacy Engine. The Engine is monolithic. It contains the machinery necessary to run sessions using all four Engine interpreter options that Cloudera currently supports (Python 2, Python 3, R, and Scala) and a much larger set of UNIX tools including LaTeX.
Runtimes are the future of CML. Their design keeps the images small, which is improves performance, maintenance, and security.