We're excited to share some great news! AI builders are now able to accelerate their applications with Google Cloud TPUs on Hugging Face Inference Endpoints and Spaces!
For those who might not be familiar, TPUs are custom-made AI hardware designed by Google. They are known for their ability to scale cost-effectively and deliver impressive performance across various AI workloads. This hardware has played a crucial role in some of Google's latest innovations, including the development of the Gemma 2 open models. We are excited to announce that TPUs will now be available for use in Inference Endpoints and Spaces. (Related: Breaking: Taco Bell adds ‘Make It Flamin’ Hot’ option f...)
In a recent development, this is a significant step in our ongoing collaboration to provide you with the best tools and resources for your AI projects. We're really looking forward to seeing what amazing things you'll create with this latest capability!
According to recent reports, hugging Face Inference Endpoints provides a seamless way to deploy Generative AI models with a few clicks on a dedicated, managed infrastructure using the cloud provider of your choice. Starting today, Google TPU v5e is available on Inference Endpoints. Choose the model you want to deploy, select Google Cloud Platform, select us-west1 and you’re ready to pick a TPU configuration:. (Related: Google Home speakers get a major Gemini upgrade ‘soon,’...)
We have 3 instance configurations, with more to come:.
Industry observers note that while you can use v5litepod-1 for models with up to 2 billion parameters without much hassle, we recommend to use v5litepod-4 for larger models to avoid memory budget challenges. The larger the configuration, the lower the latency will be.
Together with the product and engineering teams at Google, we're excited to bring the performance and cost efficiency of TPUs to our Hugging Face community. This collaboration has resulted in some great developments:.
Hugging Face Spaces provide developers with a platform to create, deploy, and share AI-powered demos and applications rapidly. We are excited to introduce fresh TPU v5e instance support for Hugging Face Spaces. To upgrade your Space to run on TPUs, navigate to the Settings button in your Space and select the desired configuration:.
Go build and share with the community awesome ML-powered demos on TPUs on Hugging Face Spaces!
We're proud of what we've achieved together with Google and can't wait to see how you'll use TPUs in your projects.
According to recent reports, it seems like this feature has been removed or not added publicly yet. I don't see any TPUs available on the Hugginface website in Inference Endpoint.
Even for the example model shown above which has Google TPUs enabled in the inference endpoints, I don't see it as having TPUs available: https://endpoints.huggingface.co/fresh?repository=meta-llama%2FMeta-Llama-3-8B&vendor=aws®ion=us-east&accelerator=gpu&instance_id=aws-us-east-1-nvidia-l4-x1&task=text-generation&no_suggested_compute=true.
Sources indicate that it's okay if this feature was removed. I wonder how the price/performance compared to the some of the other options available. I could just use Google Cloud, to access Google models or Google Vertex AI model garden to access other models as well.
@appleCorePotatoes that is correct, we have suspended TPU usage on inference endpoints for now, we do not have this option anymore, but you can find other solutions to deploy, with different price/performance alternatives.