__init__.py 941 B

12345678910111213141516171819202122232425262728
  1. from aphrodite.common.outputs import (CompletionOutput, EmbeddingOutput,
  2. EmbeddingRequestOutput, RequestOutput)
  3. from aphrodite.common.sampling_params import SamplingParams
  4. from aphrodite.endpoints.llm import LLM
  5. from aphrodite.engine.aphrodite_engine import AphroditeEngine
  6. from aphrodite.engine.args_tools import AsyncEngineArgs, EngineArgs
  7. from aphrodite.engine.async_aphrodite import AsyncAphrodite
  8. from aphrodite.executor.ray_utils import initialize_ray_cluster
  9. from aphrodite.modeling.models import ModelRegistry
  10. from aphrodite.common.pooling_params import PoolingParams
  11. __version__ = "0.5.3"
  12. __all__ = [
  13. "LLM",
  14. "ModelRegistry",
  15. "SamplingParams",
  16. "RequestOutput",
  17. "CompletionOutput",
  18. "EmbeddingOutput",
  19. "EmbeddingRequestOutput",
  20. "AphroditeEngine",
  21. "EngineArgs",
  22. "AsyncAphrodite",
  23. "AsyncEngineArgs",
  24. "initialize_ray_cluster",
  25. "PoolingParams",
  26. ]