[optim] add support to APOLLO (#6617)

This commit is contained in:
zhuHQ
2025-01-14 10:24:56 -06:00
committed by GitHub
parent 9b7ba093c7
commit d9189f9f0b
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")