Generate realistic images with the RealVisXL_V4.0 model hosted on HuggingFace.RealVisXL 4.0 is a highly advanced image generation AI model designed for photorealistic outputs. It’s built on the Stable Diffusion XL (SDXL) architecture and fine-tuned to create images with exceptional detail and realism.
See https://huggingface.co/docs/hub/en/security-tokens for more information.To create an Access Token in the Hugging Face web interface, click on your avatar (top-right corner) and select Settings. Navigate to the Access Token view (left menu) and click on New token. Add a Name and for the Type use the “Fine-grained (custom)” option.Copy the newly generated Access TokenFinally, add the following permissions:
Exception: Failed to generate image (status_code=500):{"error":"unknown error","warnings":["CUDA out of memory. Tried to allocate 128.00 MiB (GPU 0; 14.75 GiB total capacity; 7.09 GiB already allocated; 5.06 MiB free; 7.34 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF","There was an inference error: CUDA out of memory. Tried to allocate 128.00 MiB (GPU 0; 14.75 GiB total capacity; 7.09 GiB already allocated; 5.06 MiB free; 7.34 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF"]}
This error usually happens when using a Free Hugging Face account. You can wait a few minutes and try generating your synthetic data again.
You can also get Pro Hugging Face Account to increase your rate limits.