Download tasks/quantization-gemm/quantized-optimizer-state/environment/docker-compose.yaml from ZMC2019/KBench: direct link, hf CLI and curl.
- Browser
- Download file 918 Bytes
-
https://huggingface.co/datasets/ZMC2019/KBench/resolve/main/tasks/quantization-gemm/quantized-optimizer-state/environment/docker-compose.yaml
- Command line
-
hf download hf://datasets/ZMC2019/KBench/tasks/quantization-gemm/quantized-optimizer-state/environment/docker-compose.yaml
-
curl -L -o docker-compose.yaml https://huggingface.co/datasets/ZMC2019/KBench/resolve/main/tasks/quantization-gemm/quantized-optimizer-state/environment/docker-compose.yaml
918 Bytes
| # Anti-cheat firewall overlay, merged on top of Harbor's base compose. Gives the main container | |
| # NET_ADMIN and runs restrict-network.sh as the entrypoint, so only DNS + the LLM API endpoints are | |
| # reachable (pypi/github/HF blocked). network_mode stays "public" (see task.toml) — the firewall, not | |
| # Docker, enforces the allowlist. mini-swe-agent is pre-installed and harbor's patched installer skips | |
| # the (now-blocked) network install when it is already present. | |
| services: | |
| main: | |
| cap_add: | |
| - NET_ADMIN | |
| entrypoint: ["/bin/bash", "/app/restrict-network.sh"] | |
| environment: | |
| - ALLOWED_HOSTS=${ALLOWED_HOSTS:-} | |
| - FIREWORKS_BASE_URL=${FIREWORKS_BASE_URL:-} | |
| - OPENROUTER_BASE_URL=${OPENROUTER_BASE_URL:-} | |
| - OPENAI_BASE_URL=${OPENAI_BASE_URL:-} | |
| - ANTHROPIC_BASE_URL=${ANTHROPIC_BASE_URL:-} | |
| - LLM_BASE_URL=${LLM_BASE_URL:-} | |
| - LITELLM_BASE_URL=${LITELLM_BASE_URL:-} | |