Serverless worker for runpod to run SDXL model
To build this serverless worker you need have access to SDXL 0.9 base and refiner repos. Then you can building with this command:
docker build --build-arg HUGGING_FACE_HUB_TOKEN=YOURTOKENHERE
- Create env to store S3 info and huggingface token and open 8000 port during pod creation
- apt-get update && apt-get install libgl1
- python src/rp_handler.py --rp_serve_api --rp_api_host='0.0.0.0'
- API Endpoind will be https://9mo9bjn982fg9r-8000.proxy.runpod.net/runsync where 9mo9bjn982fg9r is runpod id