Alpha-VLLM / Lumina-T2X

Lumina-T2X is a unified framework for Text to Any Modality Generation
MIT License
1.82k stars 74 forks source link

I can't make it work in Colab #55

Open Quick-Eyed-Sky opened 2 weeks ago

Quick-Eyed-Sky commented 2 weeks ago

I can't make it work in Colab Hi, I'm trying to run Lumina-T2X in Google Colab, but I'm encountering an error when trying to import what I believe is a necessary function.

Here's the error message I'm getting:

ERROR: Could not find a version that satisfies the requirement lumina_next_sft (from versions: none) ERROR: No matching distribution found for lumina_next_sft

ModuleNotFoundError Traceback (most recent call last)

in () 9 import matplotlib.pyplot as plt 10 import gradio as gr ---> 11 from lumina_next_sft import generate_text as lumina_generate_text ModuleNotFoundError: No module named 'lumina_next_sft' --------------------------------------------------------------------------- NOTE: If my import is failing due to a missing package, you can manually install dependencies using either !pip or !apt. To view examples of installing some common dependencies, click the "Open Examples" button below. I'm assuming "lumina_next_sft" is part of the Lumina-T2X codebase, but I haven't been able to figure out the correct way to import the generate_text function. Could you please provide some guidance on how to resolve this issue or point me to any resources that might help? Thanks in advance!
PommesPeter commented 2 weeks ago

Hi @Quick-Eyed-Sky,

Please follow the instructions to use the package, we currently support lumina and lumina_next modules.