{
  "source_file": "0930",
  "source_platform": "Dev.to",
  "author": "Julien Simon",
  "title_listed": "Video — Deep dive: Compiling deep learning models, from XLA to PyTorch 2",
  "keywords": "",
  "domain": "机器学习",
  "content_type": "深度技术解析",
  "is_paid_flag": "否",
  "url": "https://dev.to/juliensimon/video-deep-dive-compiling-deep-learning-models-from-xla-to-pytorch-2-4920",
  "publish_date": "2024-02-28",
  "corpus_stage": "",
  "notes": "",
  "id": "4008f365b09c",
  "collected_at": "2026-10-02T14:01:07",
  "title": "Video — Deep dive: Compiling deep learning models, from XLA to PyTorch 2 - DEV Community",
  "body_markdown": "Video — Deep dive: Compiling deep learning models, from XLA to PyTorch 2\nCompilation is an excellent technique to accelerate the training and inference of deep learning models, especially if it can be completely automated!\nIn this video, we discuss deep learning compilation, from the early days of TensorFlow to PyTorch 2. Along the way, you’ll learn about key technologies such as XLA, PyTorch/XLA, OpenXLA, TorchScript HLO, TorchDynamo, TorchInductor, and more. You’ll see where they fit and how they help accelerate models on a wide range of devices, including custom chips like Google TPU and AWS Inferentia 2.\nOf course, we’ll also share some simple examples, including how to easily accelerate Hugging Face models with PyTorch 2 and torch.compile().",
  "metadata": {
    "title": "Video — Deep dive: Compiling deep learning models, from XLA to PyTorch 2 - DEV Community",
    "description": "Video — Deep dive: Compiling deep learning models, from XLA to PyTorch 2     Compilation is... Tagged with compilers, ai, deeplearning, opensource.",
    "keywords": "compilers, ai, deeplearning, opensource, software, coding, development, engineering, inclusive, community",
    "author": null,
    "og:type": "article",
    "og:url": "https://dev.to/juliensimon/video-deep-dive-compiling-deep-learning-models-from-xla-to-pytorch-2-4920",
    "og:title": "Video — Deep dive: Compiling deep learning models, from XLA to PyTorch 2",
    "og:description": "Video — Deep dive: Compiling deep learning models, from XLA to PyTorch 2     Compilation is...",
    "og:site_name": "DEV Community",
    "og:image": "https://media2.dev.to/dynamic/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flsourmb1607z5ds0svdv.png",
    "twitter:site": "@thepracticaldev",
    "twitter:creator": "@julsimon",
    "twitter:title": "Video — Deep dive: Compiling deep learning models, from XLA to PyTorch 2",
    "twitter:description": "Video — Deep dive: Compiling deep learning models, from XLA to PyTorch 2     Compilation is...",
    "twitter:card": "summary_large_image",
    "twitter:widgets:new-embed-design": "on",
    "twitter:image:src": "https://media2.dev.to/dynamic/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flsourmb1607z5ds0svdv.png"
  },
  "paywall": {
    "listed_paid": false,
    "detected": false,
    "marker": "",
    "public_only": false,
    "policy": "付费/会员内容只保留页面公开可见部分，不绕过付费墙"
  },
  "crawl": {
    "success": true,
    "status_code": 200,
    "error": ""
  },
  "code_blocks": [],
  "images": [
    {
      "status": "http_404",
      "url": "https://res.cloudinary.com/practicaldev/image/fetch/s--aUlamRu3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn-images-1.medium.com/max/1024/1%2AuXT2EWuppeuMBOrqRxfRpw.png",
      "src": "https://res.cloudinary.com/practicaldev/image/fetch/s--aUlamRu3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn-images-1.medium.com/max/1024/1%2AuXT2EWuppeuMBOrqRxfRpw.png",
      "alt": "",
      "downloaded": false,
      "retried_at": "2026-10-20T17:40:55Z"
    }
  ],
  "audio": [],
  "videos": [
    {
      "url": "https://www.youtube.com/watch?v=Oo07fFb-aH0",
      "src": "https://www.youtube.com/embed/Oo07fFb-aH0",
      "status": "ok",
      "kind": "single_video",
      "local_path": "attachments/4008f365b09c/videos/repair-Oo07fFb-aH0.mp4",
      "bytes": 187339239,
      "valid": true,
      "height": 1080,
      "width": 1920,
      "duration": "2326.841000",
      "reused": false
    }
  ],
  "links": [
    {
      "href": "https://res.cloudinary.com/practicaldev/image/fetch/s--aUlamRu3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn-images-1.medium.com/max/1024/1%2AuXT2EWuppeuMBOrqRxfRpw.png",
      "label": "",
      "type": "a"
    },
    {
      "href": "https://www.youtube.com/embed/Oo07fFb-aH0",
      "label": "",
      "type": "iframe"
    }
  ],
  "repair_version": 2,
  "repaired_at": "2026-10-14T10:49:06Z",
  "source_url": "https://dev.to/juliensimon/video-deep-dive-compiling-deep-learning-models-from-xla-to-pytorch-2-4920",
  "papers": [],
  "actual_video_files": [],
  "body_chars": 756,
  "expected_body_images": 1,
  "discovery_status": "ok",
  "delivery_status": "partial",
  "missing_reason": "http_404",
  "raw_html": "attachments/4008f365b09c/pages/source.html",
  "local_html": "attachments/4008f365b09c/pages/article.html",
  "body_base_path": "attachments/4008f365b09c/pages/",
  "body_markdown_path": "attachments/4008f365b09c/pages/article.md"
}