跳到正文

Hugging Face 推出面向 OCI 和 Docker 镜像的 containers

Hugging Face · X当事人@huggingface· 2 天前

1.1万 次浏览 · 124 赞 · 19 转发 (收录时)

原文

发生了什么

Hugging Face 推出了 containers,使用户能够将 OCI 和 Docker 镜像与模型、数据集和 Spaces 一起存储,沿用相同的组织权限、令牌和存储空间,无需单独的镜像仓库。借助 Xet 和 hf containers,对大型推理镜像的小幅更新可在分块级别进行去重,因此只需推送变更部分。该服务通过 HF CDN 运行,支持多连接拉取、自动清理未标记镜像,并兼容 Docker、Kubernetes、GitHub Actions OIDC 及标准 OCI 工具,相关文档位于 huggingface.co/docs/hub/conta…。

正文 · 中文译文

今天我们正式推出容器功能 📦

将 OCI & Docker 镜像直接放在您的模型、数据集和 Spaces 旁边,共享相同的组织权限、令牌和存储空间,无需单独的镜像仓库。

借助 Xet 和 hf containers,大型推理镜像中的微小改动会在分块级别进行去重,因此您只需推送变更部分。⚡️

通过 HF CDN 提供服务,支持多连接拉取、自动清理未标记镜像,并完全兼容 Docker、Kubernetes、GitHub Actions OIDC 以及标准 OCI 工具。

点击此处了解更多:huggingface.co/docs/hub/conta…

这件事到目前为止

Hugging Face launched containers on its platform, allowing users to store OCI and Docker images alongside models, datasets, and Spaces. The feature uses existing organization permissions, tokens, and storage, eliminating the need for a separate registry. According to Hugging Face, the service uses Xet and hf containers to deduplicate small updates to large inference images at the chunk level so only changes are pushed. It runs over the HF CDN with multi-connection pulls, automatic cleanup of untagged images, and compatibility with Docker, Kubernetes, GitHub Actions OIDC, and standard OCI tools, with documentation at https://huggingface.co/docs/hub/containers.

每天一封日报,不再漏掉重要进展

精选模型发布、价格变化与算力动态,每条附原始来源。免费,确认后开始发送,随时一键退订。 看一份往期日报

接下来读什么

查看这件事的完整进展Hugging Face launches OCI and Docker containers on its platform
这条收录于 12月5日 AI 日报看这一期日报的全部内容