YanFangCS / YanFangCS/GenLIP

Some functions are missing from the code

Open
#5 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
138
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Hi @YanFangCS ,

I am trying to run the code you shared, but some of the functions are missing (probably due to the cleanup process):

In veomni/models/module_utils.py the GradientCheckpointingLayer is not present:

from ...module_utils import GradientCheckpointingLayer
  ImportError: cannot import name 'GradientCheckpointingLayer' from 'veomni.models.module_utils' 

These functions in veomni/data/__init__.py are not available as well:

from .dataset import (
    ...,
    build_iterative_vqa_webdataset,
    build_mixed_iterative_webdataset,
    ...
)

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by inspecting veomni/models/module_utils.py and veomni/data/init.py, then run the reported imports to confirm which names are unavailable. Trace the corresponding dataset module and import paths; the work is done when GradientCheckpointingLayer and the two webdataset builders can be imported successfully without breaking existing imports.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.