SShortSingh.
Back to feed

EmbeddingGemma 2 on Cloud Run: Smallest Viable Specs and When an L4 GPU Is Cheaper

0
·1 views

This guide sizes EmbeddingGemma 2 text embeddings on Google Cloud Run, testing the smallest CPU instance the model runs on. It also evaluates an int4 weight repack and compares the cost of a document burst on a 1 vCPU service against an NVIDIA L4 GPU. Findings show a 1 vCPU, 2 GiB int8 service handles queries and small batches cheaply, while 1 GiB is too small for longer documents. The L4 becomes cheaper only for bursts above roughly 5,300 documents because it bills idle time, and the int4 repack proved slower on CPU despite being 28% smaller. The author recommends serving routine traffic from the CPU service and deploying an L4 only for large batch jobs that scale to zero afterward.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How Porchlamp's first-timer lens ranks beginner-friendly open-source projects

Porchlamp scores open-source projects on five pillars: Responsiveness, Criticality, Governance, Rigor and Accessibility. Its first-timer lens weights Responsiveness at 0.35 and Accessibility at 0.30, so those two outweigh the other three combined. The October 2026 snapshot lists ggml-org/llama.cpp at the top, with the delta column showing how far each project moves compared with the Balanced lens, not change over time. Coverage determines whether a project is ranked at all and caps its tier when measured evidence is incomplete. The article notes that 3,833 projects receive a score while 7,167 are listed but unranked.

0
ProgrammingDEV Community ·

A four-part format for turning messy meeting notes into clear action items

The article lays out a four-part structure for meeting recaps: a short TL;DR, a list of agreed decisions, an action-items table with owners and due dates, and open questions. It advises writing notes as plain summaries of what changed rather than transcripts, and marking unknown owners or dates as TBD instead of guessing. Vague deadlines like "by Friday" should be converted to real dates using the day's date written at the top of the notes. The author recommends sending the recap the same day in the channel where the team already works. The piece is written by a writer whose team builds a tool in this space, which the author discloses upfront.

0
ProgrammingDEV Community ·

Claude va bien au-delà du chat : Projects, connecteurs, agents et automatisations

Beaucoup d'utilisateurs ne voient dans Claude qu'un chatbot répondant question par question, alors qu'il s'est transformé en plateforme de travail. L'article recense ses principales fonctionnalités, des prompts bien construits jusqu'aux agents autonomes. Il présente les Projects, qui regroupent fichiers et consignes, ainsi que les connecteurs MCP reliant Claude à des outils comme Gmail, Google Drive ou Slack. Sont aussi détaillés la recherche avancée, l'analyse de documents, les Artifacts, les Skills, Claude Code et les workflows automatisés. L'auteur conseille de commencer par un Project et un seul connecteur, avant de combiner les fonctionnalités pour en tirer un vrai gain.

0
ProgrammingDEV Community ·

Oklahoma State Grad Founds Two Software Firms, Plans Return to India in 2027

A developer who arrived in the United States in 2022 completed a master's in computer and information sciences at Oklahoma State University in May 2024. His thesis explored whether virtual reality conversations could help people who stutter practice speech, and the work earned a best poster award and was presented to ASHA. He later added an MBA from KL University and founded RamTech Solutions LLC in Oklahoma in October 2025, followed by TenTwo Technologies in India in February 2026. He also joined Argencis Medical in Oklahoma City as an IT support specialist in July 2026 and is developing FluentLoop, a browser-based speech practice tool. He plans to move back to Kaikaluru, Andhra Pradesh, in June 2027 to run TenTwo from India.

EmbeddingGemma 2 on Cloud Run: Smallest Viable Specs and When an L4 GPU Is Cheaper · ShortSingh