simply long version display for torch in UI
This commit is contained in:
parent
aa7ddb8b0c
commit
b5f69ad6af
|
@ -1779,15 +1779,10 @@ def versions_html():
|
||||||
else:
|
else:
|
||||||
xformers_version = "N/A"
|
xformers_version = "N/A"
|
||||||
|
|
||||||
try:
|
|
||||||
torch_version = torch.__long_version__
|
|
||||||
except:
|
|
||||||
torch_version = torch.__version__
|
|
||||||
|
|
||||||
return f"""
|
return f"""
|
||||||
python: <span title="{sys.version}">{python_version}</span>
|
python: <span title="{sys.version}">{python_version}</span>
|
||||||
•
|
•
|
||||||
torch: {torch_version}
|
torch: {getattr(torch, '__long_version__',torch.__version__)}
|
||||||
•
|
•
|
||||||
xformers: {xformers_version}
|
xformers: {xformers_version}
|
||||||
•
|
•
|
||||||
|
|
Loading…
Reference in New Issue