[optim] clean apollo (#6645)

* clean apollo code

* update readme
This commit is contained in:
hoshi-hiyouga
2025-01-15 01:42:50 +08:00
committed by GitHub
parent d9189f9f0b
commit 7a04021d04
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")