gemma4-bench-volume / README.md
Wauplin's picture
Wauplin HF Staff
initial push
e4661db verified
|
Raw History Blame Contribute Delete
681 Bytes

A newer version of the Gradio SDK is available: 6.32.0

Upgrade
metadata
title: Gemma4 Bench Volume
emoji: ๐Ÿ“€
colorFrom: purple
colorTo: pink
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false

Gemma-4-E2B-it benchmark โ€” mounted volume strategy

Same app as the normal variant, but the Space has google/gemma-4-E2B-it mounted as a read-only volume at /data/gemma-4-E2B-it (configured via hf repos create -v hf://google/gemma-4-E2B-it:/data/gemma-4-E2B-it). At runtime, the app sets MODEL_SOURCE=/data/gemma-4-E2B-it, so from_pretrained reads directly from the mounted filesystem โ€” no download, no cache fill, just lazy file access.

Results are displayed on the UI and available at /call/get_stats (Gradio API).