leptonai 0.47.1 removes api.v1 breaking all executors

Open
#678 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend

Research direction

The issue points to the unconditional leptonai.api.v1 import and linked PR #511. Read that PR and the requirements that constrain the leptonai version, then install nemo-run and attempt to launch a job. Done means the launch no longer fails with ModuleNotFoundError under leptonai 0.47.1.

Written by the indexing model from the issue text.

Description

bug

Describe the bug

Latest leptonai 0.47.1 release removes api.v1, which is unconditionally imported by nemo-run. This breaks all executors.

Work around is to update the requirements to 'leptonai<0.47' or complete this PR: https://github.com/NVIDIA-NeMo/Run/pull/511

Steps/Code to reproduce bug

Install nemo-run and attempt to launch a job.

ModuleNotFoundError: No module named 'leptonai.api.v1'
Dominant language
Python
Stars
268
Forks
121
Avg merge
3h 42m
Merged PRs (30d)
4

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA-NeMo/Run

All issues in NVIDIA-NeMo/Run

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.