
"""simple docstring"""







from __future__ import annotations
def __lowerCAmelCase       (_UpperCamelCase	):
	if len(SCREAMING_SNAKE_CASE_	) == 0:
		return []
	__lowerCAmelCase    :		List[str]		    =   min(SCREAMING_SNAKE_CASE_	), max(SCREAMING_SNAKE_CASE_	)
	__lowerCAmelCase    :		Optional[int]		    =   int(max_value - min_value	) + 1
	__lowerCAmelCase    :		list[list]		    =   [[] for _ in range(SCREAMING_SNAKE_CASE_	)]

	for i in my_list:
		buckets[int(i - min_value	)].append(SCREAMING_SNAKE_CASE_	)

	return [v for bucket in buckets for v in sorted(SCREAMING_SNAKE_CASE_	)]


if __name__ == "__main__":
							from doctest import testmod

							testmod()
							assert bucket_sort([4, 5, 3, 2, 1]) == [1, 2, 3, 4, 5]
							assert bucket_sort([0, 1, -10, 15, 2, -2]) == [-10, -2, 0, 1, 2, 15]

"""simple docstring"""







from .testing import (
    are_the_same_tensors,
    execute_subprocess_async,
    require_bnb,
    require_cpu,
    require_cuda,
    require_huggingface_suite,
    require_mps,
    require_multi_gpu,
    require_multi_xpu,
    require_safetensors,
    require_single_gpu,
    require_single_xpu,
    require_torch_min_version,
    require_tpu,
    require_xpu,
    skip,
    slow,
)
from .training import RegressionDataset, RegressionModel, RegressionModelaXPU


from .scripts import test_script, test_sync, test_ops  # isort: skip