Skip to main content
Most fixes apply to Python, the chowder sql CLI, and the local MCP server, since all three use the same engine. The Python examples use Polars and chowder.display(result). See the Quickstart for setup.

A model cannot be downloaded

Check that:
  • Your network can reach the model host.
  • HF_TOKEN is available if your environment requires Hugging Face authentication.
  • CHOWDER_ARTIFACT_SOURCE, if set, points to a reachable artifact root. See Configuration.
Model downloads happen lazily. A source-only query may succeed while the first infer, embed, PDF parse, or transcription query fails.

A model does not fit memory

Set CHOWDER_API_URL and CHOWDER_API_TOKEN to configure the remote fallback. Start a fresh Python session with CHOWDER_REMOTE=0 so the first attempt runs locally. With your query in SQL, catch chowder.ModelMemoryError to retry on remote compute.
When remote compute is unavailable, reduce concurrent model use, for example by lowering LlamaCppConfig(parallel=...) or running fewer AI queries at once.

A query plans but no work happens

chowder.sql(SQL) returns a lazy Relation for read-only SQL. Materialize it before displaying:
Iteration and materialization with to_arrow_table(), to_polars(), or to_pandas() trigger execution. Displaying a Relation in a notebook shows its schema and execution choices without reading rows or loading models.

An infer Boolean filter fails to type-check

infer(..., BOOL) returns an AI envelope, not a bare Boolean. Select output:

A source glob returns no rows

  • Verify the path relative to the working directory of the process.
  • Use the explicit reader when the file extension is ambiguous.
  • Confirm that the reader supports the file type.
  • For remote globs, confirm credentials and that the part of the path before the first wildcard exists.
  • Start with a literal file or URI before expanding to ** patterns.

Media transcripts are empty

Check the transcription status in engine.status(). A local engine reports it under ["local_runtime"]["transcription"], and a remote engine under ["transcription"]. Confirm that the managed whisper.cpp runtime and model resolved. If you configured an override, verify LocalTranscriptionConfig and WhisperCppConfig. A query must project transcript to request transcription. Silent windows legitimately return an empty transcript list.

Progress output interferes with logs

Use plain or JSON progress for captured processes:
Progress goes to stderr, so it doesn’t mix with query results that the CLI writes to stdout.

A source build fails to import

Symptom: importing Chowder fails for chowder._native, or Python loads an older build after source changes. Rebuild the mixed Python/Rust package in the active uv environment:
Confirm that uv run and uvx maturin target the same project environment, and that you loaded the reader build environment described in Build from source.

A source build cannot find a native tool

Source builds need a C/C++ toolchain with libclang, make, CMake, pkg-config, curl, and NASM. Linux also needs the zlib and bzip2 development headers. Install the missing tool, then rerun the steps in Build from source.

A remote client cannot connect

Check the client and server together:
  • Use the same Chowder version on both sides.
  • Match grpc:// with plaintext loopback and grpc+tls:// with TLS.
  • Opt in with remote=True, CHOWDER_REMOTE=1, or an explicit location=. Setting the API URL and token alone keeps an engine local.
  • Set the client credential with CHOWDER_API_TOKEN or token=. For a direct self-hosted connection, it must match the server’s CHOWDER_FLIGHT_TOKEN.
  • Set CHOWDER_FLIGHT_TLS_ROOT when the certificate uses a private CA.
  • Confirm that the server is listening on the advertised host and port.
  • For a self-hosted server, configure its AI routes before running remote AI functions.
The client refuses to send credentials over plaintext to a non-loopback host by default.

Inspect the plan and engine state

Use plan-only and status helpers before running expensive work:
explain() doesn’t read rows or run models.

Report a reproducible problem

Include the exact Chowder version, platform, Python version, query, projected columns, source type, engine mode, and relevant non-secret configuration. Never include access tokens, private source contents, or model credentials. Open an issue at github.com/chowderai/chowder/issues.