---
title: "使用Hugging Face轻松构建和共享ROCm内核"
canonical: "https://new.nat6.net/news/cmoegbhak00aislxxixtvdmui/"
date: "2025-11-17"
updated: "2026-11-05"
source: "Hugging Face 社区博客（混合发现）"
source_url: "https://huggingface.co/blog/build-rocm-kernels"
language: "zh"
topics: []
license: "https://new.nat6.net/sources/"
attribution: "Content is based on curated titles and AI summaries from the AIHOT public API, with attribution and links back; original copyright remains with the original publishers and authors."
---

# 使用Hugging Face轻松构建和共享ROCm内核

- 发布日期 / Published: 2025-11-17
- 更新时间 / Updated: 2026-11-05
- 分类 / Category: 其他
- 来源 / Source: Hugging Face 社区博客（混合发现） — [原文 / Original](https://huggingface.co/blog/build-rocm-kernels)
- AIHOT: [条目页 / Item](https://aihot.news/items/cmoegbhak00aislxxixtvdmui)
- 页面 / Page: https://new.nat6.net/news/cmoegbhak00aislxxixtvdmui/
- 结构化数据 / JSON: https://new.nat6.net/api/v1/articles/cmoegbhak00aislxxixtvdmui.json

- 语言 / Languages: [zh](https://new.nat6.net/news/cmoegbhak00aislxxixtvdmui/) · [en](https://new.nat6.net/en/news/cmoegbhak00aislxxixtvdmui/) · [de](https://new.nat6.net/de/news/cmoegbhak00aislxxixtvdmui/) · [fr](https://new.nat6.net/fr/news/cmoegbhak00aislxxixtvdmui/) · [ru](https://new.nat6.net/ru/news/cmoegbhak00aislxxixtvdmui/) · [ja](https://new.nat6.net/ja/news/cmoegbhak00aislxxixtvdmui/) · [es](https://new.nat6.net/es/news/cmoegbhak00aislxxixtvdmui/) · [ko](https://new.nat6.net/ko/news/cmoegbhak00aislxxixtvdmui/) · [vi](https://new.nat6.net/vi/news/cmoegbhak00aislxxixtvdmui/) · [th](https://new.nat6.net/th/news/cmoegbhak00aislxxixtvdmui/) · [id](https://new.nat6.net/id/news/cmoegbhak00aislxxixtvdmui/) · [ms](https://new.nat6.net/ms/news/cmoegbhak00aislxxixtvdmui/) · [fil](https://new.nat6.net/fil/news/cmoegbhak00aislxxixtvdmui/) · [hi](https://new.nat6.net/hi/news/cmoegbhak00aislxxixtvdmui/)

## AI 摘要 / AI summary

Hugging Face的kernels库简化了高性能深度学习内核的构建与共享，支持CUDA、ROCm等多种后端。本文以ROCm兼容内核为例，展示如何利用kernel-builder工具构建、测试并共享内核。以RadeonFlow的GEMM内核为具体案例，该内核是针对AMD Instinct MI300X GPU优化的FP8块状矩阵乘法实现，采用e4m3fnuz浮点格式和每块缩放因子以保持低精度计算准确性，并在2025年AMD开发者挑战赛中获最高奖。指南涵盖项目设置、构建配置及通过kernels社区分享的完整步骤。

## 推荐理由 / Why it matters

AMD GPU开发者可快速上手构建高性能AI内核，提升部署效率。

## 来源与版权 / Source & copyright

内容基于 AIHOT 公开 API 的精选标题与 AI 摘要，已注明来源并回链；原文版权归原媒体与作者所有。

原文版权归原媒体与作者所有；本站不镜像全文。/ Original copyright remains with the original publishers and authors; this site does not mirror full texts.

## 关于橙子中转站 / About Orange Relay

橙子中转站（pro.nat6.net）是一家优质的 AI API 中转站：价格优惠、质量稳定、模型齐全，支持 Claude、GPT、Gemini 等主流模型，欢迎体验。

[访问橙子中转站](https://pro.nat6.net/?utm_source=orange_news&utm_medium=article_footer&utm_campaign=brand&lang=zh)

## JSON-LD

```json
{
  "@context": "https://schema.org",
  "@type": "NewsArticle",
  "@id": "https://new.nat6.net/news/cmoegbhak00aislxxixtvdmui/#article",
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://new.nat6.net/news/cmoegbhak00aislxxixtvdmui/"
  },
  "url": "https://new.nat6.net/news/cmoegbhak00aislxxixtvdmui/",
  "headline": "使用Hugging Face轻松构建和共享ROCm内核",
  "description": "Hugging Face的kernels库简化了高性能深度学习内核的构建与共享，支持CUDA、ROCm等多种后端。本文以ROCm兼容内核为例，展示如何利用kernel-builder工具构建、测试并共享内核。以RadeonFlow的GEMM内核为具体案例，该内核是针对AMD Instinct MI300X GPU优化…",
  "articleSection": "其他",
  "keywords": "AI, Hugging Face 社区博客（混合发现）",
  "datePublished": "2025-11-17T00:00:00Z",
  "dateModified": "2026-11-05T20:56:41Z",
  "inLanguage": "zh-CN",
  "isAccessibleForFree": true,
  "author": {
    "@type": "Organization",
    "name": "橙子新闻编辑部",
    "url": "https://new.nat6.net/about/"
  },
  "publisher": {
    "@type": "NewsMediaOrganization",
    "@id": "https://new.nat6.net/#org",
    "name": "橙子新闻",
    "url": "https://new.nat6.net/",
    "logo": {
      "@type": "ImageObject",
      "url": "https://new.nat6.net/assets/img/logo-512.png",
      "width": 512,
      "height": 512
    }
  },
  "image": {
    "@type": "ImageObject",
    "url": "https://new.nat6.net/assets/img/og-default.png",
    "width": 1200,
    "height": 630
  },
  "isPartOf": {
    "@id": "https://new.nat6.net/#website"
  },
  "isBasedOn": "https://huggingface.co/blog/build-rocm-kernels",
  "citation": [
    "https://aihot.news/items/cmoegbhak00aislxxixtvdmui",
    "https://huggingface.co/blog/build-rocm-kernels"
  ],
  "license": "https://new.nat6.net/sources/",
  "about": [],
  "mentions": [
    {
      "@type": "Thing",
      "name": "Hugging Face 社区博客（混合发现）"
    }
  ],
  "speakable": {
    "@type": "SpeakableSpecification",
    "cssSelector": [
      "h1",
      ".article-summary"
    ]
  },
  "copyrightHolder": {
    "@type": "Organization",
    "@id": "https://new.nat6.net/#org",
    "name": "橙子新闻",
    "url": "https://new.nat6.net/"
  },
  "creditText": "橙子新闻（AI 摘要）；原文：Hugging Face 社区博客（混合发现）",
  "copyrightNotice": "© 2025 橙子新闻。标题与 AI 摘要基于 AIHOT 公开数据，原文版权归原媒体与作者所有；本站不镜像全文。",
  "copyrightYear": 2025,
  "alternativeHeadline": "Easily Build and Share ROCm Kernels with Hugging Face",
  "abstract": "AMD GPU开发者可快速上手构建高性能AI内核，提升部署效率。",
  "subjectOf": [
    {
      "@type": "DigitalDocument",
      "name": "使用Hugging Face轻松构建和共享ROCm内核 (Markdown)",
      "url": "https://new.nat6.net/news/cmoegbhak00aislxxixtvdmui/index.md",
      "encodingFormat": "text/markdown"
    },
    {
      "@type": "DigitalDocument",
      "name": "使用Hugging Face轻松构建和共享ROCm内核 (JSON)",
      "url": "https://new.nat6.net/api/v1/articles/cmoegbhak00aislxxixtvdmui.json",
      "encodingFormat": "application/json"
    }
  ]
}
```

## 如何引用 / How to cite

- 引用格式 / Citation format (zh): 橙子新闻.《文章标题》. 发布日期. https://new.nat6.net/news/cmoegbhak00aislxxixtvdmui/
- Citation format (en): Orange News. "Article title". Published YYYY-MM-DD. https://new.nat6.net/news/cmoegbhak00aislxxixtvdmui/
- 回链要求 / Backlink: 引用请保留「橙子新闻」署名并回链 canonical URL；AI 摘要请注明数据来源 AIHOT；原文版权归原媒体与作者所有。
- Attribution & backlinks: Keep the "Orange News" attribution and link back to the canonical URL; cite AIHOT as the data source for AI summaries; original copyright remains with the original publishers and authors.

### 机器入口 / Machine entry points

- Markdown: https://new.nat6.net/news/cmoegbhak00aislxxixtvdmui/index.md
- JSON: https://new.nat6.net/api/v1/articles/cmoegbhak00aislxxixtvdmui.json
- API 清单 / API index: https://new.nat6.net/api/v1/site.json
- Markdown 内容协商 / negotiation: 对 https://new.nat6.net/news/cmoegbhak00aislxxixtvdmui/ 发送 `Accept: text/markdown`
