Spaces:
Runtime error
Runtime error
Yixin Liu
commited on
Commit
•
04e6374
1
Parent(s):
7d9266c
upload
Browse files
main.py
CHANGED
@@ -67,10 +67,13 @@ constrain_rate = st.sidebar.number_input("限制率", value=2, min_value=1, max_
|
|
67 |
gpu_list = " ".join([str(i) for i in gpu_list])
|
68 |
setup_for_gpu_utility = f"""
|
69 |
username={username}
|
|
|
|
|
|
|
|
|
70 |
max_gpu_utilization={max_gpu_utilization}
|
71 |
total_gpu_memory={total_gpu_memory}
|
72 |
max_gpu_memory_gap={max_gpu_memory_gap}
|
73 |
-
available_devices=( {gpu_list} )
|
74 |
current_device_idx=-1
|
75 |
sleeptime={sleep_time_after_loading_task}
|
76 |
cpu_mean_max={cpu_max_utility}
|
|
|
67 |
gpu_list = " ".join([str(i) for i in gpu_list])
|
68 |
setup_for_gpu_utility = f"""
|
69 |
username={username}
|
70 |
+
# available_devices=( 0 1 2 3 4 )
|
71 |
+
# available_devices=( 5 6 7 8 9 )
|
72 |
+
# available_devices=( 0 1 2 3 4 5 6 7 8 9 )
|
73 |
+
available_devices=( {gpu_list} )
|
74 |
max_gpu_utilization={max_gpu_utilization}
|
75 |
total_gpu_memory={total_gpu_memory}
|
76 |
max_gpu_memory_gap={max_gpu_memory_gap}
|
|
|
77 |
current_device_idx=-1
|
78 |
sleeptime={sleep_time_after_loading_task}
|
79 |
cpu_mean_max={cpu_max_utility}
|