Hermes SIQ-1-35B on ZeroGPU (llama-cpp-python recipe)
Browse files580 unmodified lines581582583584585586587580 unmodified lines# ---------------------------------------------------------------------------# Agent turn: full ReAct loop inside a single GPU window.# ---------------------------------------------------------------------------@spaces.GPU(duration=180)def _agent_stream(message, history, system_prompt, temperature, max_tokens, use_tools):llm = _get_llm()msgs = []580 unmodified lines581582583584585586587580 unmodified lines# ---------------------------------------------------------------------------# Agent turn: full ReAct loop inside a single GPU window.# ---------------------------------------------------------------------------@spaces.GPU(duration=100)def _agent_stream(message, history, system_prompt, temperature, max_tokens, use_tools):llm = _get_llm()msgs = []
app.py+1-1