We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
platform_info
diffusers-cli env
1 parent 3bc3b48 commit f4a44b7Copy full SHA for f4a44b7
src/diffusers/commands/env.py
@@ -31,7 +31,6 @@
31
is_transformers_available,
32
is_xformers_available,
33
)
34
-from ..utils.testing_utils import get_python_version
35
from . import BaseDiffusersCLICommand
36
37
@@ -106,10 +105,7 @@ def run(self) -> dict:
106
105
107
xformers_version = xformers.__version__
108
109
- if get_python_version() >= (3, 10):
110
- platform_info = f"{platform.freedesktop_os_release().get('PRETTY_NAME', None)} - {platform.platform()}"
111
- else:
112
- platform_info = platform.platform()
+ platform_info = platform.platform()
113
114
is_notebook_str = "Yes" if is_notebook() else "No"
115
0 commit comments