Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'gdf' #121

Open
vardhanam opened this issue Mar 14, 2024 · 3 comments
Open

ModuleNotFoundError: No module named 'gdf' #121

vardhanam opened this issue Mar 14, 2024 · 3 comments

Comments

@vardhanam
Copy link

python3 train/train_c_lora.py configs/training/finetune_c_3b_lora.yaml

running the above is giving me an error

  File "/home/vardh/fine_tune_stable_cascade/StableCascade/train/train_c_lora.py", line 12, in <module>
    from gdf import GDF, EpsilonTarget, CosineSchedule
ModuleNotFoundError: No module named 'gdf'

I can't find this module anywhere on the web. Please help

@SirTrippsalot
Copy link

pip install git+https://github.com/WARP-AI/gdf -U

@geroldmeisinger
Copy link

geroldmeisinger commented Jun 3, 2024

see here #10

@tikhonlavrev
Copy link

Adding sys.path.append(os.getcwd()) seems work to me.

So the module import should looks like

sys.path.append(os.getcwd())
from gdf import GDF, EpsilonTarget, CosineSchedule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants