Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/nemotron/cli/commands/super3/data/prep/_typer_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from __future__ import annotations

from nemotron.cli.commands.super3.data.prep.pretrain import META as PRETRAIN_META, pretrain
from nemotron.cli.commands.super3.data.prep.rl import META as RL_META, rl
from nemotron.cli.commands.super3.data.prep.rl import rl_app
from nemotron.cli.commands.super3.data.prep.sft import META as SFT_META, sft
from nemo_runspec.recipe_typer import RecipeTyper

Expand All @@ -43,4 +43,4 @@

prep_app.add_recipe_command(pretrain, meta=PRETRAIN_META)
prep_app.add_recipe_command(sft, meta=SFT_META)
prep_app.add_recipe_command(rl, meta=RL_META)
prep_app.add_typer(rl_app, name="rl")
5 changes: 3 additions & 2 deletions tests/kit/test_resolvers_pre_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,13 @@ def __init__(self, ref: str):
self.version = "v5"
self.name = "nano3-pretrain-data"
self.type = "dataset"
self.metadata = {}

def download(self, skip_cache: bool = True):
return str(downloaded_dir)

class FakeApi:
def __init__(self):
def __init__(self, timeout: int = 30):
self.last_ref = None

def artifact(self, ref: str):
Expand All @@ -115,7 +116,7 @@ def artifact(self, ref: str):
fake_api = FakeApi()

class FakeWandb(types.SimpleNamespace):
def Api(self): # noqa: N802
def Api(self, timeout: int = 30): # noqa: N802
return fake_api

monkeypatch.setitem(sys.modules, "wandb", FakeWandb())
Expand Down