{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "google-research-timesfm--run-timesfm-on-apple-silicon-with-mlx",
 "repo": "google-research/timesfm",
 "repo_url": "https://github.com/google-research/timesfm",
 "repo_slug": "google-research-timesfm",
 "title": "Run forecasts on a Mac with no GPU server",
 "page_title": "How to run forecasts on a Mac with no GPU server with Timesfm",
 "summary": "Use the MLX native backend to run TimesFM 3.0 locally on Apple silicon without PyTorch.",
 "who": "An analyst on a MacBook who does not want a cloud GPU.",
 "problem": "The default path assumes CUDA, which a laptop does not have.",
 "outcome": "Local forecasts that match the PyTorch backend closely, at laptop speed.",
 "steps": [
  "Install the MLX extra with `pip install timesfm[mlx]`",
  "Create the forecaster with TimesFM3Forecaster.from_pretrained on google/timesfm-3.0-pytorch from timesfm3.mlx",
  "Call predict with your context, a horizon and return_quantiles=True, or predict_batch for many series in one pass",
  "Compare the shapes and values against the PyTorch backend numbers quoted in the README"
 ],
 "agent_prompt": "Using google-research/timesfm, set up the MLX backend on my Mac with `pip install timesfm[mlx]` and forecast <my series> 128 steps ahead with quantiles, reporting how long it takes.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The published benchmark numbers are for the 330M model on an Apple M4 Max, so your speed will differ.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "",
 "requirements": [
  "Python with pip, and `pip install timesfm[torch]`, or `pip install timesfm[mlx]` on Apple silicon",
  "A CUDA GPU for the PyTorch examples, which set device to cuda",
  "Your series as NumPy arrays"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "platform",
   "notice": "Contexts longer than the global context of 15,360 are truncated to their most recent points before decoding."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/google-research-timesfm/run-timesfm-on-apple-silicon-with-mlx/",
 "md": "https://dedupedai.com/use-cases/google-research-timesfm/run-timesfm-on-apple-silicon-with-mlx/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/google-research-timesfm--run-timesfm-on-apple-silicon-with-mlx.json",
 "api_version": "v1"
}
