lvkaokao commited on
Commit
228e920
1 Parent(s): 79f5596

add group_size=64.

Browse files
Files changed (3) hide show
  1. app.py +3 -3
  2. src/display/utils.py +3 -0
  3. src/submission/submit.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ def update_table(
118
  compute_dtype = [compute_dtype]
119
  weight_dtype = [weight_dtype]
120
  if group_dtype == 'All':
121
- group_dtype = [-1, 1024, 256, 128, 32]
122
  else:
123
  try:
124
  group_dtype = [int(group_dtype)]
@@ -220,7 +220,7 @@ leaderboard_df = filter_models(
220
  compute_dtype=[i.value.name for i in ComputeDtype],
221
  weight_dtype=[i.value.name for i in WeightDtype],
222
  double_quant=[True, False],
223
- group_dtype=[-1, 1024, 256, 128, 32]
224
  )
225
 
226
  demo = gr.Blocks(css=custom_css)
@@ -515,7 +515,7 @@ with demo:
515
 
516
  scheduler = BackgroundScheduler()
517
  scheduler.add_job(restart_space, "interval", hours=3) # restarted every 3h
518
- scheduler.add_job(update_dynamic_files, "interval", hours=2) # launched every 2 hour
519
  scheduler.start()
520
 
521
  # demo.queue(default_concurrency_limit=40).launch()
 
118
  compute_dtype = [compute_dtype]
119
  weight_dtype = [weight_dtype]
120
  if group_dtype == 'All':
121
+ group_dtype = [-1, 1024, 256, 128, 64, 32]
122
  else:
123
  try:
124
  group_dtype = [int(group_dtype)]
 
220
  compute_dtype=[i.value.name for i in ComputeDtype],
221
  weight_dtype=[i.value.name for i in WeightDtype],
222
  double_quant=[True, False],
223
+ group_dtype=[-1, 1024, 256, 128, 64, 32]
224
  )
225
 
226
  demo = gr.Blocks(css=custom_css)
 
515
 
516
  scheduler = BackgroundScheduler()
517
  scheduler.add_job(restart_space, "interval", hours=3) # restarted every 3h
518
+ scheduler.add_job(update_dynamic_files, "interval", hours=12) # launched every 2 hour
519
  scheduler.start()
520
 
521
  # demo.queue(default_concurrency_limit=40).launch()
src/display/utils.py CHANGED
@@ -267,6 +267,7 @@ class GroupDtype(Enum):
267
  group_1024 = ModelDetails("1024")
268
  group_256 = ModelDetails("256")
269
  group_128 = ModelDetails("128")
 
270
  group_32 = ModelDetails("32")
271
 
272
  group_all = ModelDetails("All")
@@ -280,6 +281,8 @@ class GroupDtype(Enum):
280
  return GroupDtype.group_256
281
  if compute_dtype in ["128"]:
282
  return GroupDtype.group_128
 
 
283
  if compute_dtype in ["32"]:
284
  return GroupDtype.group_32
285
  return GroupDtype.group_all
 
267
  group_1024 = ModelDetails("1024")
268
  group_256 = ModelDetails("256")
269
  group_128 = ModelDetails("128")
270
+ group_64 = ModelDetails("64")
271
  group_32 = ModelDetails("32")
272
 
273
  group_all = ModelDetails("All")
 
281
  return GroupDtype.group_256
282
  if compute_dtype in ["128"]:
283
  return GroupDtype.group_128
284
+ if compute_dtype in ["64"]:
285
+ return GroupDtype.group_64
286
  if compute_dtype in ["32"]:
287
  return GroupDtype.group_32
288
  return GroupDtype.group_all
src/submission/submit.py CHANGED
@@ -251,5 +251,5 @@ def add_new_eval(
251
  GLOBAL_COND.release()
252
 
253
  return styled_message(
254
- "Your request has been submitted to the evaluation queue!\nPlease wait for up to an hour for the model to show in the PENDING list."
255
  )
 
251
  GLOBAL_COND.release()
252
 
253
  return styled_message(
254
+ "Your request has been submitted to the evaluation queue!\nPlease wait for up to 3 hours for the model to show in the PENDING list."
255
  )