Welcome to the GLaMM Demo! This guide will walk you through the process of setting up and running the GLaMM Demo on your local GPU machine. Please ensure that your system meets the necessary requirements before proceeding.
- GPU with at least 24 GB of memory
- Git and Git LFS installed
- GLaMM environment
- Install gradio-box: Follow the instructions below to install Gradio-Box.
git clone https://github.com/ShoufaChen/gradio-dev.git
cd gradio-dev
bash scripts/build_frontend.sh
pip install -e .
- Version Requirements: Your installation should include the following specific versions:
- Gradio version 3.35.2
- Gradio-Client version 0.2.7
First, you need to clone the GLaMM repository from GitHub. Open your terminal and run the following command:
git clone https://github.com/mbzuai-oryx/groundingLMM.git
To download the GLaMM model weights, you will need Git LFS. If you haven't installed Git LFS, you can do so by running:
git lfs install
Once Git LFS is installed, proceed to clone the GLaMM FullScope model:
git clone https://huggingface.co/MBZUAI/GLaMM-FullScope
For more information on the GLaMM FullScope model, visit this link.
Navigate to the directory where the repository was cloned and run the demo using Python. Replace path_to_GLaMM_FullScope_model with the actual path to the downloaded GLaMM FullScope model:
python app.py --version "path/to/GLaMM_FullScope_model"
Once the demo is running, follow the on-screen instructions to open the demo dashboard in your web browser. The dashboard provides a user-friendly interface for interacting with the GLaMM model.