🐦 Twitter Post Details

Viewing enriched Twitter post

@PyTorch

We’re excited to share In-Kernel Broadcast Optimization (IKBO)—a kernel-model-system co-design approach driving @Meta's large-scale recommendation system (RecSys) inference. It serves as the scalability backbone for the request-centric, inference-efficient framework underlying the Meta Adaptive Ranking Model (serving LLM-scale models in production). The core idea is simple but powerful: broadcast is a data layout concern, not a computational necessity. Instead of materializing broadcast at the service layer, IKBO pushes it all the way down into the kernel layer—precisely where request and candidate features interact. This enables the system, together with model co-design, to capture the full performance upside. By preserving request and candidate inputs in their native batch sizes and fusing broadcast directly into the kernel, IKBO eliminates replicated memory movement and redundant computation across the stack. From Attention in sequence modeling to GEMM in traditional workloads, the same idea delivers broad inference gains. Results from our co-designed deployments: ⚡ Up to a 2/3 reduction in compute-intensive net latency on co-designed models. ⚡ End-to-end deployment across Meta's RecSys stacks on both GPU and MTIA (Meta's in-house accelerator). ⚡ Up to 4x speedups for linear compression GEMM and up to 2.4x/6.4x (kernel only / kernel + broadcasting) throughput for IKBO attention compared to FlashAttention-4 on H100. 🔗 If you’re interested in how rethinking a primitive like broadcast can unlock system-level gains for modern AI inference, take a look: https://t.co/mdl0F1Zj7E By @jiao_jian62798, @liptds_11, Hongtao Yu, Yuanwei Fang, Zhengkai Zhang, Zoran Zhao, Yuxuan Chen, Sijia Chen, Yang Chen #PyTorch #OpenSourceAI #RecSys #AIInfrastructure

Media 1

📊 Media Metadata

{
  "media": [
    {
      "type": "photo",
      "url": "https://crmoxkoizveukayfjuyo.supabase.co/storage/v1/object/public/media/posts/2051730503729033592/media_0.jpg",
      "filename": "media_0.jpg"
    }
  ],
  "processed_at": "2026-05-11T22:37:49.304316",
  "pipeline_version": "2.0"
}

🔧 Raw API Response

{
  "type": "tweet",
  "id": "2051730503729033592",
  "url": "https://x.com/PyTorch/status/2051730503729033592",
  "twitterUrl": "https://twitter.com/PyTorch/status/2051730503729033592",
  "text": "We’re excited to share In-Kernel Broadcast Optimization (IKBO)—a kernel-model-system co-design approach driving @Meta's large-scale recommendation system (RecSys) inference. It serves as the scalability backbone for the request-centric, inference-efficient framework underlying the Meta Adaptive Ranking Model (serving LLM-scale models in production).\n\nThe core idea is simple but powerful: broadcast is a data layout concern, not a computational necessity. Instead of materializing broadcast at the service layer, IKBO pushes it all the way down into the kernel layer—precisely where request and candidate features interact. This enables the system, together with model co-design, to capture the full performance upside. By preserving request and candidate inputs in their native batch sizes and fusing broadcast directly into the kernel, IKBO eliminates replicated memory movement and redundant computation across the stack.\n\nFrom Attention in sequence modeling to GEMM in traditional workloads, the same idea delivers broad inference gains.\n\nResults from our co-designed deployments:\n⚡ Up to a 2/3 reduction in compute-intensive net latency on co-designed models.\n⚡ End-to-end deployment across Meta's RecSys stacks on both GPU and MTIA (Meta's in-house accelerator).\n⚡ Up to 4x speedups for linear compression GEMM and up to 2.4x/6.4x (kernel only / kernel + broadcasting) throughput for IKBO attention compared to FlashAttention-4 on H100.\n\n🔗 If you’re interested in how rethinking a primitive like broadcast can unlock system-level gains for modern AI inference, take a look: https://t.co/mdl0F1Zj7E\n\nBy @jiao_jian62798, @liptds_11, Hongtao Yu, Yuanwei Fang, Zhengkai Zhang, Zoran Zhao, Yuxuan Chen, Sijia Chen, Yang Chen\n\n#PyTorch #OpenSourceAI #RecSys #AIInfrastructure",
  "source": "Twitter for iPhone",
  "retweetCount": 3,
  "replyCount": 3,
  "likeCount": 22,
  "quoteCount": 0,
  "viewCount": 5098,
  "createdAt": "Tue May 05 18:27:26 +0000 2026",
  "lang": "en",
  "bookmarkCount": 8,
  "isReply": false,
  "inReplyToId": null,
  "conversationId": "2051730503729033592",
  "displayTextRange": [
    0,
    277
  ],
  "inReplyToUserId": null,
  "inReplyToUsername": null,
  "author": {
    "type": "user",
    "userName": "PyTorch",
    "url": "https://x.com/PyTorch",
    "twitterUrl": "https://twitter.com/PyTorch",
    "id": "776585502606721024",
    "name": "PyTorch",
    "isVerified": false,
    "isBlueVerified": true,
    "verifiedType": null,
    "profilePicture": "https://pbs.twimg.com/profile_images/1813965160702451712/yXV1vRhr_normal.jpg",
    "coverPicture": "https://pbs.twimg.com/profile_banners/776585502606721024/1761575044",
    "description": "",
    "location": "",
    "followers": 490984,
    "following": 85,
    "status": "",
    "canDm": false,
    "canMediaTag": true,
    "createdAt": "Fri Sep 16 00:56:26 +0000 2016",
    "entities": {
      "description": {
        "urls": []
      },
      "url": {}
    },
    "fastFollowersCount": 0,
    "favouritesCount": 912,
    "hasCustomTimelines": true,
    "isTranslator": false,
    "mediaCount": 1449,
    "statusesCount": 3241,
    "withheldInCountries": [],
    "affiliatesHighlightedLabel": {},
    "possiblySensitive": false,
    "pinnedTweetIds": [],
    "profile_bio": {
      "description": "Tensors and neural networks in Python with strong hardware acceleration. PyTorch is an open source project at the Linux Foundation. #PyTorchFoundation",
      "entities": {
        "description": {
          "hashtags": [
            {
              "indices": [
                132,
                150
              ],
              "text": "PyTorchFoundation"
            }
          ]
        },
        "url": {
          "urls": [
            {
              "display_url": "pytorch.org",
              "expanded_url": "http://pytorch.org",
              "indices": [
                0,
                23
              ],
              "url": "https://t.co/6SwTBhUwTJ"
            }
          ]
        }
      }
    },
    "isAutomated": false,
    "automatedBy": null
  },
  "extendedEntities": {
    "media": [
      {
        "display_url": "pic.twitter.com/ZARWOLvo5k",
        "expanded_url": "https://twitter.com/PyTorch/status/2051730503729033592/photo/1",
        "ext_media_availability": {
          "status": "Available"
        },
        "features": {
          "large": {
            "faces": [
              {
                "h": 75,
                "w": 75,
                "x": 1042,
                "y": 285
              }
            ]
          },
          "orig": {
            "faces": [
              {
                "h": 75,
                "w": 75,
                "x": 1042,
                "y": 285
              }
            ]
          }
        },
        "id_str": "2051717677106741252",
        "indices": [
          278,
          301
        ],
        "media_key": "3_2051717677106741252",
        "media_results": {
          "id": "QXBpTWVkaWFSZXN1bHRzOgwAAQoAARx5KltbVkAECgACHHk2BcmaMXgAAA==",
          "result": {
            "__typename": "ApiMedia",
            "id": "QXBpTWVkaWE6DAABCgABHHkqW1tWQAQKAAIceTYFyZoxeAAA",
            "media_key": "3_2051717677106741252"
          }
        },
        "media_url_https": "https://pbs.twimg.com/media/HHkqW1tWQAQJ0Dg.jpg",
        "original_info": {
          "focus_rects": [
            {
              "h": 1075,
              "w": 1920,
              "x": 0,
              "y": 0
            },
            {
              "h": 1080,
              "w": 1080,
              "x": 372,
              "y": 0
            },
            {
              "h": 1080,
              "w": 947,
              "x": 439,
              "y": 0
            },
            {
              "h": 1080,
              "w": 540,
              "x": 642,
              "y": 0
            },
            {
              "h": 1080,
              "w": 1920,
              "x": 0,
              "y": 0
            }
          ],
          "height": 1080,
          "width": 1920
        },
        "sizes": {
          "large": {
            "h": 1080,
            "w": 1920
          }
        },
        "type": "photo",
        "url": "https://t.co/ZARWOLvo5k"
      }
    ]
  },
  "card": null,
  "place": {},
  "entities": {
    "hashtags": [
      {
        "indices": [
          1729,
          1737
        ],
        "text": "PyTorch"
      },
      {
        "indices": [
          1738,
          1751
        ],
        "text": "OpenSourceAI"
      },
      {
        "indices": [
          1752,
          1759
        ],
        "text": "RecSys"
      },
      {
        "indices": [
          1760,
          1777
        ],
        "text": "AIInfrastructure"
      }
    ],
    "symbols": [],
    "urls": [
      {
        "display_url": "pytorch.org/blog/in-kernel…",
        "expanded_url": "https://pytorch.org/blog/in-kernel-broadcast-optimization-co-designing-kernels-for-recsys-inference/",
        "indices": [
          1582,
          1605
        ],
        "url": "https://t.co/mdl0F1Zj7E"
      }
    ],
    "user_mentions": [
      {
        "id_str": "2425151",
        "indices": [
          112,
          117
        ],
        "name": "Meta",
        "screen_name": "Meta"
      },
      {
        "id_str": "2047391647030489088",
        "indices": [
          1610,
          1625
        ],
        "name": "Jian Jiao",
        "screen_name": "jiao_jian62798"
      },
      {
        "id_str": "2047388229880721408",
        "indices": [
          1627,
          1637
        ],
        "name": "Boda Li",
        "screen_name": "liptds_11"
      }
    ]
  },
  "quoted_tweet": null,
  "retweeted_tweet": null,
  "isLimitedReply": false,
  "communityInfo": null,
  "article": null
}