AirLLM 2.8T LLM inference with single 4GB GPU
Python chinese-llmchinese-nlpfinetunegenerative-aiinstruct-gptinstruction-setllamallmloraopen-modelsopen-sourceopen-source-modelsqlora
2048 block size for 8bit
Yu Li5e5b362b0f42
diff --git a/air_llm/tests/test_compression.py b/air_llm/tests/test_compression.pyindex 52f77db..7456b01 100644--- a/air_llm/tests/test_compression.py+++ b/air_llm/tests/test_compression.py@@ -40,4 +40,4 @@ class TestCompression(unittest.TestCase):else:RMSE_loss = torch.sqrt(loss_fn(aa[k], a_state_dict[k])).detach().cpu().item()print(f"compression {compression} loss: {RMSE_loss}")- self.assertLess(RMSE_loss, 2.5)\ No newline at end of file+ self.assertLess(RMSE_loss, 0.1)\ No newline at end of file