description |
---|
Different Ways to Deploy the omniparse API endpoint |
To use OmniParse with Docker, execute the following commands:
- Pull the OmniParse API Docker image from Docker Hub:
- Run the Docker container, exposing port 8000: 👉🏼Docker Image
docker pull savatar101/omniparse:0.1
# if you are running on a gpu
docker run --gpus all -p 8000:8000 savatar101/omniparse:0.1
# else
docker run -p 8000:8000 savatar101/omniparse:0.1
Alternatively, if you prefer to build the Docker image locally: Then, run the Docker container as follows:
docker build -t omniparse .
# if you are running on a gpu
docker run --gpus all -p 8000:8000 omniparse
# else
docker run -p 8000:8000 omniparse
SkyPilot is a framework for running LLMs, AI, and batch jobs on any cloud, offering maximum cost savings, highest GPU availability, and managed execution. To deploy Marker API using Skypilot on any cloud provider, execute the following command:
pip install skypilot-nightly[all]
# setup skypilot with the cloud provider our your
sky launch skypilot.yaml