ror HF Staff commited on
Commit
fb3d815
Β·
1 Parent(s): aa16ad3

Tmp commit before I change scroll bars that are white

Browse files
Files changed (1) hide show
  1. app.py +16 -5
app.py CHANGED
@@ -23,13 +23,13 @@ MODELS = {
23
  "gemma3": {
24
  "amd": {
25
  "passed": ["auth_login", "data_validation", "api_response", "file_upload", "cache_hit", "user_permissions", "db_query", "session_mgmt", "input_sanitize", "rate_limit", "error_handling", "memory_alloc", "thread_safety", "backup_restore", "config_load", "log_rotation", "health_check", "metrics", "alerts", "monitoring", "security_scan", "password_hash", "jwt_token", "oauth_flow", "csrf_protect", "xss_filter", "sql_injection", "rate_limiter", "load_balance", "circuit_break", "retry_logic", "timeout_handle", "graceful_shutdown", "hot_reload", "config_watch", "env_vars", "secrets_mgmt", "tls_cert", "encryption", "compression", "serialization", "deserialization", "validation"],
26
- "failed": ["gpu_accel", "cuda_ops", "ml_inference", "tensor_ops", "distributed", "multi_gpu"],
27
  "skipped": ["perf_test", "stress_test", "load_test", "endurance", "benchmark", "profiling", "memory_leak", "cpu_usage", "disk_io", "network_bw", "latency", "throughput"],
28
  "error": []
29
  },
30
  "nvidia": {
31
  "passed": ["auth_login", "data_validation", "api_response", "file_upload", "cache_hit", "user_permissions", "db_query", "session_mgmt", "input_sanitize", "rate_limit", "error_handling", "memory_alloc", "thread_safety", "backup_restore", "config_load", "log_rotation", "health_check", "metrics", "alerts", "monitoring", "security_scan", "password_hash", "jwt_token", "oauth_flow", "csrf_protect", "xss_filter", "sql_injection", "rate_limiter", "load_balance", "circuit_break", "retry_logic", "timeout_handle", "graceful_shutdown", "hot_reload", "config_watch", "env_vars", "secrets_mgmt", "tls_cert", "encryption", "compression", "serialization", "deserialization", "validation", "gpu_accel", "cuda_ops", "ml_inference", "tensor_ops"],
32
- "failed": ["distributed", "multi_gpu"],
33
  "skipped": ["perf_test", "stress_test", "load_test", "endurance", "benchmark", "profiling", "memory_leak", "cpu_usage", "disk_io", "network_bw"],
34
  "error": []
35
  }
@@ -350,7 +350,7 @@ h1, h2, h3, p, .markdown {
350
  margin-left: 300px !important;
351
  }
352
 
353
- /* Failed tests display - seamless appearance */
354
  .failed-tests textarea {
355
  background-color: #000000 !important;
356
  color: #FFFFFF !important;
@@ -360,15 +360,24 @@ h1, h2, h3, p, .markdown {
360
  padding: 10px !important;
361
  outline: none !important;
362
  line-height: 1.4 !important;
 
 
 
 
 
363
  }
364
 
365
  .failed-tests {
366
  background-color: #000000 !important;
 
 
367
  }
368
 
369
  .failed-tests .gr-textbox {
370
  background-color: #000000 !important;
371
  border: none !important;
 
 
372
  }
373
 
374
  """
@@ -409,7 +418,8 @@ with gr.Blocks(title="Model Test Results Dashboard", css=dark_theme_css) as demo
409
  with gr.Column(scale=1):
410
  amd_failed_tests_output = gr.Textbox(
411
  value="Fails on AMD:\n────────────\nnetwork_timeout\ngpu_initialization\nmemory_overflow",
412
- lines=6,
 
413
  interactive=False,
414
  container=False,
415
  elem_classes=["failed-tests"]
@@ -417,7 +427,8 @@ with gr.Blocks(title="Model Test Results Dashboard", css=dark_theme_css) as demo
417
  with gr.Column(scale=1):
418
  nvidia_failed_tests_output = gr.Textbox(
419
  value="Fails on NVIDIA:\n────────────────\ndistributed\nmulti_gpu\ndriver_conflict",
420
- lines=6,
 
421
  interactive=False,
422
  container=False,
423
  elem_classes=["failed-tests"]
 
23
  "gemma3": {
24
  "amd": {
25
  "passed": ["auth_login", "data_validation", "api_response", "file_upload", "cache_hit", "user_permissions", "db_query", "session_mgmt", "input_sanitize", "rate_limit", "error_handling", "memory_alloc", "thread_safety", "backup_restore", "config_load", "log_rotation", "health_check", "metrics", "alerts", "monitoring", "security_scan", "password_hash", "jwt_token", "oauth_flow", "csrf_protect", "xss_filter", "sql_injection", "rate_limiter", "load_balance", "circuit_break", "retry_logic", "timeout_handle", "graceful_shutdown", "hot_reload", "config_watch", "env_vars", "secrets_mgmt", "tls_cert", "encryption", "compression", "serialization", "deserialization", "validation"],
26
+ "failed": ["gpu_accel", "cuda_ops", "ml_inference", "tensor_ops", "distributed", "multi_gpu", "opencl_init", "driver_conflict", "memory_bandwidth", "compute_units", "rocm_version", "hip_compile", "kernel_launch", "buffer_transfer", "atomic_ops", "wavefront_sync"],
27
  "skipped": ["perf_test", "stress_test", "load_test", "endurance", "benchmark", "profiling", "memory_leak", "cpu_usage", "disk_io", "network_bw", "latency", "throughput"],
28
  "error": []
29
  },
30
  "nvidia": {
31
  "passed": ["auth_login", "data_validation", "api_response", "file_upload", "cache_hit", "user_permissions", "db_query", "session_mgmt", "input_sanitize", "rate_limit", "error_handling", "memory_alloc", "thread_safety", "backup_restore", "config_load", "log_rotation", "health_check", "metrics", "alerts", "monitoring", "security_scan", "password_hash", "jwt_token", "oauth_flow", "csrf_protect", "xss_filter", "sql_injection", "rate_limiter", "load_balance", "circuit_break", "retry_logic", "timeout_handle", "graceful_shutdown", "hot_reload", "config_watch", "env_vars", "secrets_mgmt", "tls_cert", "encryption", "compression", "serialization", "deserialization", "validation", "gpu_accel", "cuda_ops", "ml_inference", "tensor_ops"],
32
+ "failed": ["distributed", "multi_gpu", "cuda_version", "nvcc_compile", "stream_sync", "device_reset", "peer_access", "unified_memory", "texture_bind", "surface_write", "constant_mem", "shared_mem"],
33
  "skipped": ["perf_test", "stress_test", "load_test", "endurance", "benchmark", "profiling", "memory_leak", "cpu_usage", "disk_io", "network_bw"],
34
  "error": []
35
  }
 
350
  margin-left: 300px !important;
351
  }
352
 
353
+ /* Failed tests display - seamless appearance with fixed height */
354
  .failed-tests textarea {
355
  background-color: #000000 !important;
356
  color: #FFFFFF !important;
 
360
  padding: 10px !important;
361
  outline: none !important;
362
  line-height: 1.4 !important;
363
+ height: 200px !important;
364
+ max-height: 200px !important;
365
+ min-height: 200px !important;
366
+ overflow-y: auto !important;
367
+ resize: none !important;
368
  }
369
 
370
  .failed-tests {
371
  background-color: #000000 !important;
372
+ height: 220px !important;
373
+ max-height: 220px !important;
374
  }
375
 
376
  .failed-tests .gr-textbox {
377
  background-color: #000000 !important;
378
  border: none !important;
379
+ height: 200px !important;
380
+ max-height: 200px !important;
381
  }
382
 
383
  """
 
418
  with gr.Column(scale=1):
419
  amd_failed_tests_output = gr.Textbox(
420
  value="Fails on AMD:\n────────────\nnetwork_timeout\ngpu_initialization\nmemory_overflow",
421
+ lines=8,
422
+ max_lines=8,
423
  interactive=False,
424
  container=False,
425
  elem_classes=["failed-tests"]
 
427
  with gr.Column(scale=1):
428
  nvidia_failed_tests_output = gr.Textbox(
429
  value="Fails on NVIDIA:\n────────────────\ndistributed\nmulti_gpu\ndriver_conflict",
430
+ lines=8,
431
+ max_lines=8,
432
  interactive=False,
433
  container=False,
434
  elem_classes=["failed-tests"]