InternLM / InternLM-XComposer

InternLM-XComposer-2.5: A Versatile Large Vision Language Model Supporting Long-Contextual Input and Output
2.06k stars 128 forks source link

[fix]: add __init__.py in examples pkg #228

Open e06084 opened 3 months ago

e06084 commented 3 months ago

to fix following error:

python examples/gradio_demo_chat.py --code_path=/mnt/bigdisk/qa_test_models/internlm/internlm-xcomposer2-vl-7b
Traceback (most recent call last):
  File "/mnt/bigdisk/chupei/code/InternLM-XComposer/examples/gradio_demo_chat.py", line 24, in <module>
    from examples.utils import auto_configure_device_map, get_stopping_criteria, set_random_seed
ModuleNotFoundError: No module named 'examples.utils'