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.
1 parent 6cc4707 commit f1ee631Copy full SHA for f1ee631
benchmarks/requirements.txt
@@ -1,5 +1,6 @@
1
pandas
2
peft
3
+psutil
4
torchprofile
5
bitsandbytes
6
psycopg2==2.9.9
utils/print_env.py
@@ -28,6 +28,16 @@
28
29
print("OS platform:", platform.platform())
30
print("OS architecture:", platform.machine())
31
+try:
32
+ import psutil
33
+
34
+ vm = psutil.virtual_memory()
35
+ total_gb = vm.total / (1024**3)
36
+ available_gb = vm.available / (1024**3)
37
+ print(f"Total RAM: {total_gb:.2f} GB")
38
+ print(f"Available RAM: {available_gb:.2f} GB")
39
+except ImportError:
40
+ pass
41
42
try:
43
import torch
0 commit comments