[optim] add support to APOLLO (#6617)

Former-commit-id: d9189f9f0b
This commit is contained in:
zhuHQ
2025-01-14 10:24:56 -06:00
committed by GitHub
parent 57043fb4e6
commit 763f9b9df0
10 changed files with 351 additions and 5 deletions

View File

@@ -49,6 +49,8 @@ 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")