[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[],[],null,["# Run LLM inference on Cloud Run GPUs with Hugging Face Transformers.js\n\nThe following codelab shows how to run a backend service that runs the [Transformers.js package](https://www.npmjs.com/package/@huggingface/transformers). The Transformers.js package is functionally equivalent to the [Hugging Face transformers python library](https://github.com/huggingface/transformers) together with Google's [Gemma 2](https://developers.googleblog.com/en/smaller-safer-more-transparent-advancing-responsible-ai-with-gemma/) model.\n\nSee the entire codelab at [How to Run Transformers.js on Cloud Run GPUs](https://codelabs.developers.google.com/codelabs/how-to-use-transformers-js-cloud-run-gpu#0)."]]