Christoph Holthaus
commited on
Commit
·
493f720
1
Parent(s):
2fb3212
improve ram display
Browse files
app.py
CHANGED
|
@@ -21,8 +21,8 @@ It uses quantized models in gguf-Format and llama.cpp to run them.
|
|
| 21 |
|
| 22 |
Powered by ...'''
|
| 23 |
|
| 24 |
-
print(f"DEBUG: Memory free: {psutil.virtual_memory().free}")
|
| 25 |
-
print(f"DEBUG: Memory: {psutil.virtual_memory()}")
|
| 26 |
|
| 27 |
import os
|
| 28 |
from threading import Thread
|
|
|
|
| 21 |
|
| 22 |
Powered by ...'''
|
| 23 |
|
| 24 |
+
print(f"DEBUG: Memory free: {psutil.virtual_memory().free / (1024.0 ** 3)} GiB")
|
| 25 |
+
print(f"DEBUG: Memory: {psutil.virtual_memory().total / (1024.0 ** 3)} GiB")
|
| 26 |
|
| 27 |
import os
|
| 28 |
from threading import Thread
|