
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
A powerful tool designed to streamline the configuration, execution and management of Machine Learning experiments across various computing environments.
[!IMPORTANT] NeMo-Run is still in active development and this is a pre-release. The API is subject to change without notice while in pre-release. First official release will be 0.1.0 and will be included in NeMo FW 24.09 as well.
NeMo-Run is a powerful tool designed to streamline the configuration, execution, and management of machine learning experiments across various computing environments. NeMo-Run has three core responsibilities:
To learn more, click on each link. This represents the typical order that Nemo-Run users follow for setting up and launching experiments.
Please see this detailed guide for reasons to use Nemo-Run.
To install the project, use the following command:
pip install git+https://github.com/NVIDIA/NeMo-Run.git
Make sure you have pip
installed and configured properly.
To get started with Nemo-Run, follow these three steps based on the core responsibilities mentioned above. For this example, we’ll showcase a pre-training example in Nemo 2.0 using Llama3.
from nemo.collections import llm
partial_func = llm.llama3_8b.pretrain_recipe(name="llama3-8b", ckpt_dir="/path/to/store/checkpoints", num_nodes=1, num_gpus_per_node=8)
import nemo_run as run
# Local executor
local_executor = run.LocalExecutor()
run.run(partial_func, executor=local_executor, name="llama3_8b_pretraining")
In building NeMo-Run, we drew inspiration from and relied on the following primary libraries. We would like to extend our gratitude for their work.
Apart from these, we also build on other libraries. A full list of dependencies can be found in pyproject.toml.
NeMo-Run was designed keeping the following principles in mind:
In NeMo-Run, you can build and configure everything using Python, eliminating the need for multiple combinations of tools to manage your experiments. The only exception is when setting up the environment for remote execution, where we rely on Docker.
The decoupling of task and executor allows you to form different combinations of execution units with relative ease. You configure different remote environments once, and you can reuse it across a variety of tasks in a Pythonic way.
NeMo-Run is opinionated in some places, like storing of metadata information for experiments in a particular manner. However, it remains flexible enough to accommodate most user experiments.
While it may take some time initially for users to become familiar with NeMo-Run concepts, the tool is designed to scale experimentation in a fluid and easy manner.
The hello_world
tutorial series provides a comprehensive introduction to NeMo-Run, demonstrating its capabilities through a simple example. The tutorial covers:
Partial
and Config
classes.graphviz
.run.Experiment
.You can find the tutorial series below:
Please see the contribution guide to contribute to NeMo Run.
Please find a list of frequently asked questions here.
FAQs
A powerful tool designed to streamline the configuration, execution and management of Machine Learning experiments across various computing environments.
We found that nemo-run demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.