Implement support for sampler order in the backend code

This commit is contained in:
Gnome Ann
2022-06-13 19:12:23 -04:00
parent a273a5ebc4
commit 2d3db7b4ba
3 changed files with 48 additions and 27 deletions

View File

@ -20,6 +20,8 @@ from_pretrained_index_filename: Optional[str] = None
from_pretrained_kwargs = {}
bar = None
default_sampler_order = [0, 1, 2, 3, 4, 5]
#==================================================================#
# Decorator to prevent a function's actions from being run until
# at least x seconds have passed without the function being called