PygmalionAI / aphrodite-engine

Large-scale LLM inference engine
https://aphrodite.pygmalion.chat
GNU Affero General Public License v3.0
1.15k stars 126 forks source link

[Tracker]: Passing all unit tests #820

Open AlpinDale opened 1 week ago

AlpinDale commented 1 week ago

As of #769, our test units have been overhauled. This issue documents the progress to pass all those tests.

Current status:

To run a test:

pip install -r requirements-dev.txt

Then

pytest tests/your_test_module.py

Tests that currently pass will be marked with a ✅, tests that do not pass will be marked with ❌, and untested ones will be left blank (default).

[!NOTE]
A failed test does not mean that the associated feature does not work. A test may have many items (sometimes hundreds). The number of passed items will be logged for each test. Some feature tests may completely fail, but still work end-to-end.

The following features are known to be currently broken:

General Tests

Async Aphrodite

Basic Correctness

Compilation

Core

Distributed

Endpoints

OpenAI

LLM

Engine

Output Processor

Kernels

LoRA

Metrics

Modeling

Models

Multimodal

Prefix Caching

Prompt Adapter

Quantization

Samplers

Spec Decode

End-to-end spec decode tests

Tensorizer Loader

Tokenization

Weight Loading

Worker