pablo
add diffusers fork
a63d2a4

A newer version of the Gradio SDK is available: 5.23.3

Upgrade

๊ฐœ์š”

๋…ธ์ด์ฆˆ๊ฐ€ ๋งŽ์€ ์ถœ๋ ฅ์—์„œ ์ ์€ ์ถœ๋ ฅ์œผ๋กœ ๋งŒ๋“œ๋Š” ๊ณผ์ •์œผ๋กœ ๊ณ ํ’ˆ์งˆ ์ƒ์„ฑ ๋ชจ๋ธ์˜ ์ถœ๋ ฅ์„ ๋งŒ๋“œ๋Š” ๊ฐ๊ฐ์˜ ๋ฐ˜๋ณต๋˜๋Š” ์Šคํ…์€ ๋งŽ์€ ๊ณ„์‚ฐ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. ๐Ÿงจ Diffuser์˜ ๋ชฉํ‘œ ์ค‘ ํ•˜๋‚˜๋Š” ๋ชจ๋“  ์‚ฌ๋žŒ์ด ์ด ๊ธฐ์ˆ ์„ ๋„๋ฆฌ ์ด์šฉํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•˜๋Š” ๊ฒƒ์ด๋ฉฐ, ์—ฌ๊ธฐ์—๋Š” ์†Œ๋น„์ž ๋ฐ ํŠน์ˆ˜ ํ•˜๋“œ์›จ์–ด์—์„œ ๋น ๋ฅธ ์ถ”๋ก ์„ ๊ฐ€๋Šฅํ•˜๊ฒŒ ํ•˜๋Š” ๊ฒƒ์„ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค.

์ด ์„น์…˜์—์„œ๋Š” ์ถ”๋ก  ์†๋„๋ฅผ ์ตœ์ ํ™”ํ•˜๊ณ  ๋ฉ”๋ชจ๋ฆฌ ์†Œ๋น„๋ฅผ ์ค„์ด๊ธฐ ์œ„ํ•œ ๋ฐ˜์ •๋ฐ€(half-precision) ๊ฐ€์ค‘์น˜ ๋ฐ sliced attention๊ณผ ๊ฐ™์€ ํŒ๊ณผ ์š”๋ น์„ ๋‹ค๋ฃน๋‹ˆ๋‹ค. ๋˜ํ•œ torch.compile ๋˜๋Š” ONNX Runtime์„ ์‚ฌ์šฉํ•˜์—ฌ PyTorch ์ฝ”๋“œ์˜ ์†๋„๋ฅผ ๋†’์ด๊ณ , xFormers๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ memory-efficient attention์„ ํ™œ์„ฑํ™”ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๋ฐฐ์šธ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Apple Silicon, Intel ๋˜๋Š” Habana ํ”„๋กœ์„ธ์„œ์™€ ๊ฐ™์€ ํŠน์ • ํ•˜๋“œ์›จ์–ด์—์„œ ์ถ”๋ก ์„ ์‹คํ–‰ํ•˜๊ธฐ ์œ„ํ•œ ๊ฐ€์ด๋“œ๋„ ์žˆ์Šต๋‹ˆ๋‹ค.