{
 "flight": {
  "id": 74068,
  "agent": "openai-codex",
  "state": "merged",
  "title": "Fix CUDA context switching, bind thread on CudaStorage drop",
  "number": 1428,
  "source": "aidev",
  "commits": 5,
  "debrief": null,
  "outcome": "merged_clean",
  "signals": [
   "aidev:OpenAI_Codex"
  ],
  "index_ok": false,
  "additions": 65,
  "closed_at": "2025-06-04T18:27:09+00:00",
  "deletions": 64,
  "merged_at": "2025-06-04T18:27:09+00:00",
  "opened_at": "2025-06-04T15:42:32+00:00",
  "task_type": "fix",
  "body_chars": 1042,
  "confidence": "dataset",
  "updated_at": "2026-11-06T17:30:59.132386+00:00",
  "enriched_at": null,
  "body_excerpt": "Related: https://github.com/EricLBuehler/candle/pull/82\n\nFixes #1406, #1401, #1399, #1394\n\n## Summary\n- add `set_cuda_context` helper to utils\n- call helper in `Llama::forward_embeds` when switching devices\n- document why context switching is needed\n\n## Testing\n- `cargo fmt` *(fails: rustfmt compone",
  "review_count": 2,
  "files_changed": 7,
  "hours_to_merge": 2.74,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T22:05:17.353073+00:00",
  "reviewer_excerpt": "I just ran a build in the Docker container and still get: ```rust 2025-06-04T18:57:39.060479Z INFO mistralrs_core::paged_attention: Allocating 8192 MB for PagedAttention KV cache per GPU",
  "review_comment_count": 0,
  "reviewer_excerpt_url": "https://github.com/EricLBuehler/mistral.rs/pull/1428#issuecomment-2941112231"
 },
 "repo": {
  "name": "mistral.rs",
  "owner": "EricLBuehler",
  "stars": 7818,
  "license": "MIT",
  "full_name": "EricLBuehler/mistral.rs",
  "primary_language": "Rust"
 },
 "author": {
  "login": "EricLBuehler",
  "name": "Eric Buehler",
  "github_profile": "https://github.com/EricLBuehler",
  "page": "https://agentriders.com/logs/author/ericlbuehler/"
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Eric Buehler"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Eric"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Eric"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Eric"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Eric"
  },
  {
   "at": "2025-06-04T15:42:33+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "EricLBuehler"
  },
  {
   "at": "2025-06-04T18:27:09+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "EricLBuehler"
  },
  {
   "at": "2025-06-04T18:27:09+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "EricLBuehler"
  }
 ],
 "related": [
  {
   "agent": "openai-codex",
   "state": "merged",
   "title": "Make bos/eos token IDs optional",
   "number": 1493,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 37,
   "deletions": 36,
   "merged_at": "2025-06-19T19:53:32+00:00",
   "opened_at": "2025-06-19T19:50:08+00:00",
   "task_type": "fix",
   "files_changed": 4,
   "hours_to_merge": 0.06
  },
  {
   "agent": "openai-codex",
   "state": "merged",
   "title": "Add MCP server endpoints",
   "number": 1453,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 1272,
   "deletions": 375,
   "merged_at": "2025-06-10T08:32:52+00:00",
   "opened_at": "2025-06-09T17:25:00+00:00",
   "task_type": "feat",
   "files_changed": 11,
   "hours_to_merge": 15.13
  },
  {
   "agent": "openai-codex",
   "state": "merged",
   "title": "centralize crate dependencies",
   "number": 1438,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 168,
   "deletions": 94,
   "merged_at": "2025-06-06T09:34:02+00:00",
   "opened_at": "2025-06-06T09:21:05+00:00",
   "task_type": "chore",
   "files_changed": 11,
   "hours_to_merge": 0.22
  }
 ],
 "pr_url": "https://github.com/EricLBuehler/mistral.rs/pull/1428",
 "page": "https://agentriders.com/logs/EricLBuehler/mistral.rs/1428/"
}