__init__.py 971 B

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