Buckets:
Intel Gaudi
Họ gia tốc AI Intel Gaudi bao gồm Intel Gaudi 1, Intel Gaudi 2 và Intel Gaudi 3. Mỗi máy chủ được trang bị 8 thiết bị, được gọi là Habana Processing Units (HPU), cung cấp 128GB bộ nhớ trên Gaudi 3, 96GB trên Gaudi 2 và 32GB trên Gaudi thế hệ đầu. Để biết thêm chi tiết về kiến trúc phần cứng cơ bản, hãy xem phần tổng quan về Gaudi Architecture.
Các pipeline của Diffusers có thể tận dụng khả năng tăng tốc HPU, ngay cả khi pipeline đó chưa được thêm vào Optimum for Intel Gaudi, nhờ vào GPU Migration Toolkit.
Gọi .to("hpu") trên pipeline của bạn để chuyển nó sang thiết bị HPU như minh họa bên dưới cho Flux:
import torch
from diffusers import DiffusionPipeline
pipeline = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", dtype=torch.bfloat16)
pipeline.to("hpu")
image = pipeline("An image of a squirrel in Picasso style").images[0]
Đối với các triển khai pipeline khuếch tán được tối ưu hóa cho Gaudi, chúng tôi khuyến nghị sử dụng Optimum for Intel Gaudi.
Xet Storage Details
- Size:
- 1.6 kB
- Xet hash:
- 489676a4de01df6624681d56498a2dc36e60c3dfa472822ad910160c9d4d5bf2
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.