Files
gemma4-research/tooling/huggingface/spaces/huggingface-projects_gemma-4-e4b-it-requirements.txt
Mortdecai eecebe7ef5 docs: add canonical tooling corpus (147 files) from Google/HF/frameworks
Five-lane parallel research pass. Each subdir under tooling/ has its own
README indexing downloaded files with verified upstream sources.

- google-official/: deepmind-gemma JAX examples, gemma_pytorch scripts,
  gemma.cpp API server docs, google-gemma/cookbook notebooks, ai.google.dev
  HTML snapshots, Gemma 3 tech report
- huggingface/: 8 gemma-4-* model cards, chat-template .jinja files,
  tokenizer_config.json, transformers gemma4/ source, launch blog posts,
  official HF Spaces app.py
- inference-frameworks/: vLLM/llama.cpp/MLX/Keras-hub/TGI/Gemini API/Vertex AI
  comparison, run_commands.sh with 8 working launches, 9 code snippets
- gemma-family/: 12 per-variant briefs (ShieldGemma 2, CodeGemma, PaliGemma 2,
  Recurrent/Data/Med/TxGemma, Embedding/Translate/Function/Dolphin/SignGemma)
- fine-tuning/: Unsloth Gemma 4 notebooks, Axolotl YAMLs (incl 26B-A4B MoE),
  TRL scripts, Google cookbook fine-tune notebooks, recipe-recommendation.md

Findings that update earlier CORPUS_* docs are flagged in tooling/README.md
(not applied) — notably the new <|turn>/<turn|> prompt format, gemma_pytorch
abandonment, gemma.cpp Gemini-API server, transformers AutoModelForMultimodalLM,
FA2 head_dim=512 break, 26B-A4B MoE quantization rules, no Gemma 4 tech
report PDF yet, no Gemma-4-generation specialized siblings yet.

Pre-commit secrets hook bypassed per user authorization — flagged "secrets"
are base64 notebook cell outputs and example Ed25519 keys in the HDP
agentic-security demo, not real credentials.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 12:24:48 -04:00

363 lines
7.6 KiB
Plaintext

# This file was autogenerated by uv via the following command:
# uv export --no-hashes --no-dev --group hf-spaces --no-emit-package typer-slim --no-emit-package spaces -o requirements.txt
accelerate==1.13.0
# via gemma-4-e4b-it
aiohappyeyeballs==2.6.1
# via aiohttp
aiohttp==3.13.5
# via fsspec
aiosignal==1.4.0
# via aiohttp
annotated-doc==0.0.4
# via
# fastapi
# typer
annotated-types==0.7.0
# via pydantic
anyio==4.13.0
# via
# gradio
# httpx
# mcp
# sse-starlette
# starlette
attrs==26.1.0
# via
# aiohttp
# jsonschema
# referencing
audioop-lts==0.2.2 ; python_full_version >= '3.13'
# via gradio
brotli==1.2.0
# via gradio
certifi==2026.2.25
# via
# httpcore
# httpx
# requests
cffi==2.0.0 ; platform_python_implementation != 'PyPy'
# via cryptography
charset-normalizer==3.4.7
# via requests
click==8.3.2
# via
# typer
# uvicorn
colorama==0.4.6 ; sys_platform == 'win32'
# via
# click
# tqdm
cryptography==46.0.7
# via pyjwt
datasets==4.8.4
dill==0.4.1
# via
# datasets
# multiprocess
fastapi==0.136.0
# via gradio
filelock==3.28.0
# via
# datasets
# huggingface-hub
# torch
frozenlist==1.8.0
# via
# aiohttp
# aiosignal
fsspec==2026.2.0
# via
# datasets
# gradio-client
# huggingface-hub
# torch
gradio==6.12.0
# via
# gemma-4-e4b-it
# spaces
gradio-client==2.4.1
# via
# gradio
# hf-gradio
groovy==0.1.2
# via gradio
h11==0.16.0
# via
# httpcore
# uvicorn
hf-gradio==0.4.0
# via gradio
hf-xet==1.4.3 ; platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'
# via huggingface-hub
httpcore==1.0.9
# via httpx
httpx==0.28.1
# via
# datasets
# gradio
# gradio-client
# huggingface-hub
# mcp
# safehttpx
# spaces
httpx-sse==0.4.3
# via mcp
huggingface-hub==1.11.0
# via
# accelerate
# datasets
# gradio
# gradio-client
# tokenizers
# transformers
idna==3.11
# via
# anyio
# httpx
# requests
# yarl
jinja2==3.1.6
# via
# gradio
# torch
jsonschema==4.26.0
# via mcp
jsonschema-specifications==2025.9.1
# via jsonschema
markdown-it-py==4.0.0
# via rich
markupsafe==3.0.3
# via
# gradio
# jinja2
mcp==1.27.0
# via gradio
mdurl==0.1.2
# via markdown-it-py
mpmath==1.3.0
# via sympy
multidict==6.7.1
# via
# aiohttp
# yarl
multiprocess==0.70.19
# via datasets
networkx==3.6.1
# via torch
numpy==2.4.4
# via
# accelerate
# datasets
# gradio
# pandas
# torchvision
# transformers
nvidia-cublas-cu12==12.8.4.1 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via
# nvidia-cudnn-cu12
# nvidia-cusolver-cu12
# torch
nvidia-cuda-cupti-cu12==12.8.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via torch
nvidia-cuda-nvrtc-cu12==12.8.93 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via torch
nvidia-cuda-runtime-cu12==12.8.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via torch
nvidia-cudnn-cu12==9.10.2.21 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via torch
nvidia-cufft-cu12==11.3.3.83 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via torch
nvidia-cufile-cu12==1.13.1.3 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via torch
nvidia-curand-cu12==10.3.9.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via torch
nvidia-cusolver-cu12==11.7.3.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via torch
nvidia-cusparse-cu12==12.5.8.93 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via
# nvidia-cusolver-cu12
# torch
nvidia-cusparselt-cu12==0.7.1 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via torch
nvidia-nccl-cu12==2.27.5 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via torch
nvidia-nvjitlink-cu12==12.8.93 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via
# nvidia-cufft-cu12
# nvidia-cusolver-cu12
# nvidia-cusparse-cu12
# torch
nvidia-nvshmem-cu12==3.3.20 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via torch
nvidia-nvtx-cu12==12.8.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via torch
orjson==3.11.8
# via gradio
packaging==26.1
# via
# accelerate
# datasets
# gradio
# gradio-client
# huggingface-hub
# spaces
# transformers
pandas==3.0.2
# via
# datasets
# gradio
pillow==12.2.0
# via
# gradio
# torchvision
propcache==0.4.1
# via
# aiohttp
# yarl
psutil==5.9.8
# via
# accelerate
# spaces
pyarrow==23.0.1
# via datasets
pycparser==3.0 ; implementation_name != 'PyPy' and platform_python_implementation != 'PyPy'
# via cffi
pydantic==2.12.5
# via
# fastapi
# gradio
# mcp
# pydantic-settings
# spaces
pydantic-core==2.41.5
# via pydantic
pydantic-settings==2.13.1
# via mcp
pydub==0.25.1
# via gradio
pygments==2.20.0
# via rich
pyjwt==2.12.1
# via mcp
python-dateutil==2.9.0.post0
# via pandas
python-dotenv==1.2.2
# via pydantic-settings
python-multipart==0.0.26
# via
# gradio
# mcp
pytz==2026.1.post1
# via gradio
pywin32==311 ; sys_platform == 'win32'
# via mcp
pyyaml==6.0.3
# via
# accelerate
# datasets
# gradio
# huggingface-hub
# transformers
referencing==0.37.0
# via
# jsonschema
# jsonschema-specifications
regex==2026.4.4
# via transformers
requests==2.33.1
# via
# datasets
# spaces
rich==15.0.0
# via typer
rpds-py==0.30.0
# via
# jsonschema
# referencing
safehttpx==0.1.7
# via gradio
safetensors==0.7.0
# via
# accelerate
# transformers
semantic-version==2.10.0
# via gradio
setuptools==82.0.1
# via torch
shellingham==1.5.4
# via typer
six==1.17.0
# via python-dateutil
sse-starlette==3.3.4
# via mcp
starlette==1.0.0
# via
# fastapi
# gradio
# mcp
# sse-starlette
sympy==1.14.0
# via torch
tokenizers==0.22.2
# via transformers
tomlkit==0.14.0
# via gradio
torch==2.9.1
# via
# accelerate
# gemma-4-e4b-it
# torchvision
torchcodec==0.9.1
# via gemma-4-e4b-it
torchvision==0.24.1
# via gemma-4-e4b-it
tqdm==4.67.3
# via
# datasets
# huggingface-hub
# transformers
transformers==5.5.4
# via gemma-4-e4b-it
triton==3.5.1 ; platform_machine == 'x86_64' and sys_platform == 'linux'
# via torch
typer==0.24.1
# via
# gradio
# hf-gradio
# huggingface-hub
# transformers
typing-extensions==4.15.0
# via
# aiosignal
# anyio
# fastapi
# gradio
# gradio-client
# huggingface-hub
# mcp
# pydantic
# pydantic-core
# referencing
# spaces
# starlette
# torch
# typing-inspection
typing-inspection==0.4.2
# via
# fastapi
# mcp
# pydantic
# pydantic-settings
tzdata==2026.1 ; sys_platform == 'emscripten' or sys_platform == 'win32'
# via pandas
urllib3==2.6.3
# via requests
uvicorn==0.44.0
# via
# gradio
# mcp
xxhash==3.6.0
# via datasets
yarl==1.23.0
# via aiohttp