跳到正文
原文
Hugging Face Blog·· 2023-11-03AI 评分17

Hugging Face Hub 推出存储区域(Storage Regions)功能

Introducing Storage Regions on the HF Hub

AI 导读

Hugging Face 在 Enterprise Hub 套餐中上线 Storage Regions,企业可自选模型和数据集的存储位置,目前支持 US 和 EU,Asia-Pacific 即将推出。非默认区域的 repo 会显示 Region 标签,便于成员查看。Hugging Face 称,欧洲团队把仓库放在 EU 区域,上传和下载速度约为存放在 US 时的 4-5 倍。

正文

As part of our Enterprise Hub plan, we recently released support for Storage Regions.

Regions let you decide where your org's models and datasets will be stored. This has two main benefits, which we'll briefly go over in this blog post:

  • Regulatory and legal compliance, and more generally, better digital sovereignty
  • Performance (improved download and upload speeds and latency)

Currently we support the following regions:

  • US 🇺🇸
  • EU 🇪🇺
  • coming soon: Asia-Pacific 🌏

But first, let's see how to setup this feature in your organization's settings 🔥

Org settings

If your organization is not an Enterprise Hub org yet, you will see the following screen:

As soon as you subscribe, you will be able to see the Regions settings page:

On that page you can see:

  • an audit of where your orgs' repos are currently located
  • dropdowns to select where your repos will be created

Repository Tag

Any repo (model or dataset) stored in a non-default location will display its Region directly as a tag. That way your organization's members can see at a glance where repos are located.

Regulatory and legal compliance

In many regulated industries, you may have a requirement to store your data in a specific area.

For companies in the EU, that means you can use the Hub to build ML in a GDPR compliant way: with datasets, models and inference endpoints all stored within EU data centers.

If you are an Enterprise Hub customer and have further questions about this, please get in touch!

Performance

Storing your models or your datasets closer to your team and infrastructure also means significantly improved performance, for both uploads and downloads.

This makes a big difference considering model weights and dataset files are usually very large.

As an example, if you are located in Europe and store your repositories in the EU region, you can expect to see ~4-5x faster upload and download speeds vs. if they were stored in the US.

来源:Hugging Face Blog · hf-mirror.com