add llamafactory-cli env
Former-commit-id: 1df077184845ff5f394b9324d46f8c382869e590
This commit is contained in:
@@ -20,6 +20,10 @@ def _get_package_version(name: str) -> "Version":
|
||||
return version.parse("0.0.0")
|
||||
|
||||
|
||||
def is_deepspeed_available():
|
||||
return _is_package_available("deepspeed")
|
||||
|
||||
|
||||
def is_fastapi_available():
|
||||
return _is_package_available("fastapi")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user