[optim] clean apollo (#6645)

* clean apollo code

* update readme

Former-commit-id: 7a04021d04
This commit is contained in:
hoshi-hiyouga
2025-01-15 01:42:50 +08:00
committed by GitHub
parent 763f9b9df0
commit 9ef85f8fc4
14 changed files with 110 additions and 103 deletions

View File

@@ -49,9 +49,11 @@ def is_fastapi_available():
def is_galore_available():
return _is_package_available("galore_torch")
def is_apollo_available():
return _is_package_available("apollo_torch")
def is_gradio_available():
return _is_package_available("gradio")