Skip to content

Releases: vipshop/cache-dit

v1.0.15

13 Nov 03:27
7df4c89

Choose a tag to compare

What's Changed

Full Changelog: v1.0.14...v1.0.15

v1.0.14

11 Nov 04:36
1db11d2

Choose a tag to compare

What's Changed

Full Changelog: v1.0.13...v1.0.14

v1.0.13

07 Nov 11:29
cfbfb5d

Choose a tag to compare

What's Changed

Full Changelog: v1.0.12...v1.0.13

v1.0.12

07 Nov 04:15
0f52345

Choose a tag to compare

What's Changed

Full Changelog: v1.0.11...v1.0.12

v1.0.11

05 Nov 03:12
a8d6bc5

Choose a tag to compare

What's Changed

Full Changelog: v1.0.10...v1.0.11

v1.0.10

30 Oct 12:29
28a0ef1

Choose a tag to compare

What's Changed

Full Changelog: v1.0.9...v1.0.10

v1.0.9

24 Oct 02:43
e959d46

Choose a tag to compare

What's Changed

Full Changelog: v1.0.8...v1.0.9

v1.0.8

22 Oct 08:12
b0244fe

Choose a tag to compare

What's Changed

Full Changelog: v1.0.7...v1.0.8

v1.0.7

22 Oct 03:53
e423cd2

Choose a tag to compare

What's Changed

Full Changelog: v1.0.6...v1.0.7

⚡️Hybird Context Parallelism

20 Oct 10:44
fa3a6e8

Choose a tag to compare

cache-dit is compatible with context parallelism. Currently, we support the use of Hybrid Cache + Context Parallelism scheme (via NATIVE_DIFFUSER parallelism backend) in cache-dit. Users can use Context Parallelism to further accelerate the speed of inference! For more details, please refer to 📚examples/parallelism.

from cache_dit import ParallelismConfig

cache_dit.enable_cache(
    pipe_or_adapter, 
    cache_config=DBCacheConfig(...),
    # Set ulysses_size > 1 to enable ulysses style context parallelism.
    parallelism_config=ParallelismConfig(ulysses_size=2),
)
# Then, run with torchrun cmd:
# torchrun --nproc_per_node=2 parallel_cache.py