Prasanna Balaprakash Claude commited on
Commit
ceebd8e
·
1 Parent(s): c79b377

Enhance Frontier and HydraGNN case studies with detailed technical data

Browse files

Major improvements to Success Stories:
- Frontier (Case Study 3): Add comprehensive hyperparameter tuning details
- Include TP, PP, MBS, GAS, ZeRO-1, Flash Attention v2 optimization results
- Add optimal configurations for 175B (89.93% scaling) and 1T (87.05% scaling) models
- Enhanced ROI section with GPU throughput and energy efficiency metrics
- Remove PrimaLabs branding, focus on 3D parallelism technical achievement
- Change color scheme from red to blue throughout for consistency

- HydraGNN (Case Study 4): Significantly improve energy-accuracy Pareto visualization
- Switch data source to filtered_energy_vs_mae.csv (271 configs vs 72)
- Add filled region showing achievable performance space
- Highlight best energy (50% reduction) and best accuracy points with stars
- Add "Optimal Zone" annotation with directional guidance
- Improve axis labels with "Lower is Better" indicators
- Enhanced legend, hover information, and overall layout
- Update caption to explain Pareto optimality concept

- Hero section: Refine three-pillar messaging (Cost/Application/Hardware Aware)
- Update platform count from 4 to 6 GPU platforms (NVIDIA + AMD)
- Improve automated model selection language in Qwen case study

This commit advances the technical credibility for $15M seed fundraise.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (1) hide show
  1. components/success_stories.py +574 -310
components/success_stories.py CHANGED
@@ -12,24 +12,34 @@ def render_success_stories():
12
  <h2 style='color: #6366F1; font-size: 2.5rem; margin-bottom: 1rem;'>Success Stories</h2>
13
  <p style='color: rgba(255,255,255,0.8); font-size: 1.2rem; max-width: 800px; margin: 0 auto;'>
14
  PrimaLabs accelerates model development from weeks to hours, delivering breakthrough results
15
- for AI model optimization, scientific computing, and edge deployment across NVIDIA platforms
16
  </p>
17
  </div>
18
  """, unsafe_allow_html=True)
19
 
20
- # Executive Summary - NVIDIA Partnership Positioning
21
  st.markdown("""
22
  <div style='background: linear-gradient(135deg, rgba(118, 185, 0, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
23
  padding: 3rem 2rem; border-radius: 12px; margin-bottom: 3rem; border: 2px solid #76B900;'>
24
  <h2 style='color: #76B900; font-size: 2rem; margin-bottom: 1.5rem; text-align: center;'>
25
- PrimaLabs: Accelerating NVIDIA Platform Adoption
26
  </h2>
27
- <p style='color: rgba(255,255,255,0.9); font-size: 1.1rem; text-align: center; max-width: 900px; margin: 0 auto 2rem auto; line-height: 1.8;'>
28
- PrimaLabs is a <strong>platform acceleration layer</strong> that enables enterprises to achieve production-ready
29
- AI models <strong>10-20× faster</strong> on NVIDIA infrastructure—from cloud GPUs (NVIDIA NeMo 2.0, NVIDIA PhysicsNeMo)
30
- to edge devices (NVIDIA Jetson AGX Orin). Our automated optimization engine eliminates weeks of manual trial-and-error,
31
- maximizing ROI on NVIDIA hardware while accelerating time-to-value.
32
  </p>
 
 
 
 
 
 
 
 
 
 
 
33
  </div>
34
  """, unsafe_allow_html=True)
35
 
@@ -50,9 +60,9 @@ def render_success_stories():
50
  st.markdown("""
51
  <div style='background: rgba(99, 102, 241, 0.1); padding: 1.5rem; border-radius: 10px; text-align: center;
52
  border: 2px solid rgba(99, 102, 241, 0.3); height: 180px; display: flex; flex-direction: column; justify-content: center;'>
53
- <div style='font-size: 2.5rem; font-weight: bold; color: #6366F1;'>4</div>
54
- <div style='color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-top: 0.5rem;'>NVIDIA Platforms</div>
55
- <div style='color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-top: 0.25rem;'>NeMo 2.0, PhysicsNeMo, Jetson AGX Orin, A100 GPUs</div>
56
  </div>
57
  """, unsafe_allow_html=True)
58
 
@@ -352,9 +362,9 @@ def render_success_stories():
352
  st.markdown("""
353
  <div style='background: rgba(99, 102, 241, 0.1); padding: 1.5rem; border-radius: 10px;
354
  border-left: 4px solid #6366F1; margin-bottom: 1rem;'>
355
- <h4 style='color: #6366F1; font-size: 1.1rem; margin-bottom: 0.75rem;'>🎯 Model Selection Matters Most</h4>
356
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
357
- Switching from GPT-OSS to Gemma delivered <strong>+109% improvement</strong>—more than
358
  any hyperparameter tuning. The "best" model wasn't the biggest one.
359
  </p>
360
  </div>
@@ -746,11 +756,10 @@ def render_success_stories():
746
  """, unsafe_allow_html=True)
747
 
748
  # ========================================
749
- # CASE STUDY 3: Ocean Dynamics with FNO
750
  # ========================================
751
 
752
  st.markdown("---")
753
- st.markdown("<br><br>", unsafe_allow_html=True)
754
 
755
  # Case study indicator
756
  st.markdown("""
@@ -764,76 +773,45 @@ def render_success_stories():
764
 
765
  # Title and hero metrics
766
  st.markdown("""
767
- <div style='background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
768
  padding: 2rem; border-radius: 12px; margin-bottom: 2rem; border-left: 4px solid #6366F1;'>
769
  <h3 style='color: #6366F1; font-size: 1.8rem; margin-bottom: 0.5rem;'>
770
- 🌊 Ocean Dynamics Modeling with Fourier Neural Operators
771
  </h3>
772
  <p style='color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 1.5rem;'>
773
- Accelerating NVIDIA PhysicsNeMo: 500 Configurations in 6 Hours on 80 A100 GPUs
774
  </p>
775
  </div>
776
  """, unsafe_allow_html=True)
777
 
778
- # NVIDIA Technology Badges
779
  st.markdown("""
780
  <div style='display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap;'>
781
- <span style='background: rgba(118, 185, 0, 0.2); color: #76B900; padding: 0.4rem 0.8rem;
782
- border-radius: 6px; font-size: 0.85rem; font-weight: 600; border: 1px solid #76B900;'>
783
- NVIDIA PhysicsNeMo
784
- </span>
785
- <span style='background: rgba(118, 185, 0, 0.2); color: #76B900; padding: 0.4rem 0.8rem;
786
- border-radius: 6px; font-size: 0.85rem; font-weight: 600; border: 1px solid #76B900;'>
787
- 80× A100 GPUs
788
- </span>
789
  <span style='background: rgba(99, 102, 241, 0.2); color: #6366F1; padding: 0.4rem 0.8rem;
790
- border-radius: 6px; font-size: 0.85rem; font-weight: 600; border: 1px solid #6366F1;'>
791
- HPC Cluster
792
- </span>
 
 
 
 
 
 
793
  </div>
794
  """, unsafe_allow_html=True)
795
 
796
- # Hero metrics
797
- col1, col2, col3 = st.columns(3)
798
- with col1:
799
- st.metric(
800
- label="Configurations Explored",
801
- value="~500",
802
- help="Evaluated in 6 hours on 80 GPUs"
803
- )
804
- with col2:
805
- st.metric(
806
- label="Forecast Horizon",
807
- value="30 Days",
808
- delta="Autoregressive rollout",
809
- delta_color="normal"
810
- )
811
- with col3:
812
- st.metric(
813
- label="Computing Resources",
814
- value="80 A100 GPUs",
815
- help="20 nodes × 4 GPUs per node"
816
- )
817
-
818
- st.markdown("<br>", unsafe_allow_html=True)
819
-
820
- # Challenge and Solution
821
  col1, col2 = st.columns(2)
822
 
823
  with col1:
824
  st.markdown("""
825
  <div style='background: rgba(30, 41, 59, 0.5); padding: 1.5rem; border-radius: 10px; height: 100%;'>
826
- <h4 style='color: #6366F1; margin-bottom: 1rem;'>📊 The Challenge</h4>
827
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
828
- Train <strong>Fourier Neural Operators (FNOs)</strong> to forecast ocean dynamics from
829
- an idealized baroclinic wind-driven ocean model. Traditional manual experimentation
830
- requires weeks of trial-and-error across data preprocessing, architecture design,
831
- and training strategies—too slow for complex climate models.
832
- </p>
833
- <p style='color: rgba(255,255,255,0.8); line-height: 1.6; margin-top: 1rem;'>
834
- Goal: Systematically explore the full model configuration space to optimize both
835
- single time-step forecasting and long-horizon autoregressive rollout (30 days) while
836
- balancing MSE and anomaly correlation coefficient (ACC) metrics.
837
  </p>
838
  </div>
839
  """, unsafe_allow_html=True)
@@ -841,17 +819,12 @@ def render_success_stories():
841
  with col2:
842
  st.markdown("""
843
  <div style='background: rgba(30, 41, 59, 0.5); padding: 1.5rem; border-radius: 10px; height: 100%;'>
844
- <h4 style='color: #10B981; margin-bottom: 1rem;'>✅ The Solution</h4>
845
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
846
- PrimaLabs accelerated <strong>NVIDIA PhysicsNeMo</strong> FNO model development by systematically
847
- exploring ~500 model configurations in 6 hours. The platform tested data preprocessing strategies,
848
- architecture variations, and training approaches using intelligent search algorithms optimized for
849
- HPC environments with 80 NVIDIA A100 GPUs.
850
- </p>
851
- <p style='color: rgba(255,255,255,0.8); line-height: 1.6; margin-top: 1rem;'>
852
- <strong>Innovation:</strong> Automated experimentation discovered that combining MSE and
853
- negative ACC in the loss function improves both mean field accuracy and anomaly pattern
854
- detection. Dataset: 100 simulations from SOMA test case with varying diffusivity parameters.
855
  </p>
856
  </div>
857
  """, unsafe_allow_html=True)
@@ -859,101 +832,167 @@ def render_success_stories():
859
  st.markdown("<br>", unsafe_allow_html=True)
860
 
861
  # Key Results
862
- st.markdown("#### 📈 Performance Improvements")
863
 
864
- col1, col2, col3 = st.columns(3)
865
  with col1:
866
  st.markdown("""
867
- <div style='background: rgba(99, 102, 241, 0.1); padding: 1rem; border-radius: 8px; text-align: center;'>
868
- <div style='color: rgba(255,255,255,0.6); font-size: 0.9rem;'>Single Time-Step</div>
869
- <div style='color: #6366F1; font-size: 1.3rem; font-weight: bold;'>Outperformed</div>
870
- <div style='color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 0.5rem;'>
871
- All 4 variables improved
872
- </div>
873
  </div>
874
  """, unsafe_allow_html=True)
875
 
876
  with col2:
877
  st.markdown("""
878
- <div style='background: rgba(16, 185, 129, 0.1); padding: 1rem; border-radius: 8px; text-align: center;'>
879
- <div style='color: rgba(255,255,255,0.6); font-size: 0.9rem;'>30-Day Rollout</div>
880
- <div style='color: #10B981; font-size: 1.3rem; font-weight: bold;'>Low Degradation</div>
881
- <div style='color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 0.5rem;'>
882
- Minimal error accumulation
883
- </div>
884
  </div>
885
  """, unsafe_allow_html=True)
886
 
887
  with col3:
888
  st.markdown("""
889
- <div style='background: rgba(245, 158, 11, 0.1); padding: 1rem; border-radius: 8px; text-align: center;'>
890
- <div style='color: rgba(255,255,255,0.6); font-size: 0.9rem;'>Search Efficiency</div>
891
- <div style='color: #F59E0B; font-size: 1.3rem; font-weight: bold;'>6 Hours</div>
892
- <div style='color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 0.5rem;'>
893
- ~500 evaluations on HPC
894
- </div>
 
 
 
 
 
 
 
 
 
895
  </div>
896
  """, unsafe_allow_html=True)
897
 
898
  st.markdown("<br>", unsafe_allow_html=True)
899
 
900
- # Key Findings
901
- st.markdown("#### 💡 Key Findings")
 
902
 
903
- col1, col2 = st.columns(2)
 
904
 
905
- with col1:
906
- st.markdown("""
907
- <div style='background: rgba(99, 102, 241, 0.1); padding: 1.5rem; border-radius: 10px;
908
- border-left: 4px solid #6366F1; margin-bottom: 1rem;'>
909
- <h4 style='color: #6366F1; font-size: 1.1rem; margin-bottom: 0.75rem;'>🎯 Composite Loss Function Works</h4>
910
- <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
911
- Combining MSE and negative ACC improved overall learning. MSE penalizes large errors
912
- while ACC captures pattern variations. <strong>No trade-off found</strong>—both objectives
913
- improved jointly, suggesting ACC enhances MSE minimization for ocean modeling.
914
- </p>
915
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
916
 
917
- <div style='background: rgba(99, 102, 241, 0.1); padding: 1.5rem; border-radius: 10px;
918
- border-left: 4px solid #6366F1;'>
919
- <h4 style='color: #6366F1; font-size: 1.1rem; margin-bottom: 0.75rem;'>⚙️ Critical Configuration Insights</h4>
920
- <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
921
- Automated sensitivity analysis revealed <strong>learning rate, optimizer choice, and weight
922
- decay</strong> had the most impact on validation MSE. For ACC, <strong>number of FNO blocks,
923
- optimizer, and projection activation</strong> were most influential. Automated experimentation
924
- discovered that fewer FNO blocks surprisingly improved performance—a counterintuitive finding.
925
- </p>
926
- </div>
927
- """, unsafe_allow_html=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
928
 
929
- with col2:
 
 
 
 
 
 
 
 
 
 
930
  st.markdown("""
931
- <div style='background: rgba(99, 102, 241, 0.1); padding: 1.5rem; border-radius: 10px;
932
- border-left: 4px solid #6366F1; margin-bottom: 1rem;'>
933
- <h4 style='color: #6366F1; font-size: 1.1rem; margin-bottom: 0.75rem;'>📊 Autoregressive Excellence</h4>
934
- <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
935
- The optimized model showed <strong>minimal error accumulation</strong> over 30-day rollouts,
936
- while the baseline degraded rapidly. Better single time-step predictions directly translated
937
- to superior long-horizon forecasting without special training techniques.
938
  </p>
939
- </div>
940
-
941
- <div style='background: rgba(99, 102, 241, 0.1); padding: 1.5rem; border-radius: 10px;
942
- border-left: 4px solid #6366F1;'>
943
- <h4 style='color: #6366F1; font-size: 1.1rem; margin-bottom: 0.75rem;'>✅ Accelerating NVIDIA PhysicsNeMo at Scale</h4>
944
- <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
945
- PrimaLabs's parallel search algorithms accelerated <strong>NVIDIA PhysicsNeMo</strong> workflows
946
- across <strong>80 NVIDIA A100 GPUs</strong>, exploring 500 FNO model configurations in 6 hours.
947
- Intelligent early stopping eliminated unpromising experiments within 10 epochs, maximizing GPU
948
- utilization and dramatically accelerating the discovery of production-ready climate models.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
949
  </p>
950
  </div>
951
  """, unsafe_allow_html=True)
952
 
953
- # Business Impact
954
  st.markdown("<br>", unsafe_allow_html=True)
955
- st.markdown("#### 💰 Business Impact")
956
 
 
957
  st.markdown("""
958
  <div style='background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
959
  padding: 2rem; border-radius: 12px; border-left: 4px solid #10B981;'>
@@ -961,18 +1000,22 @@ def render_success_stories():
961
  <div style='display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;'>
962
  <div>
963
  <p style='color: rgba(255,255,255,0.8); line-height: 1.8;'>
964
- <strong style='color: #10B981;'>Research Acceleration:</strong> 6 hours on HPC vs
965
- <strong>weeks of manual experimentation</strong>—researchers publish results faster<br/>
966
- <strong style='color: #10B981;'>Grant Competitiveness:</strong> Faster model development
967
- enables more experiments per grant cycle, <strong>increasing publication output</strong>
 
 
968
  </p>
969
  </div>
970
  <div>
971
  <p style='color: rgba(255,255,255,0.8); line-height: 1.8;'>
972
- <strong style='color: #10B981;'>GPU Utilization:</strong> 95%+ utilization on 80 A100 GPUs
973
- through parallel search, maximizing <strong>$2M+ HPC infrastructure ROI</strong><br/>
974
- <strong style='color: #10B981;'>Scientific Discovery:</strong> Counterintuitive findings
975
- (fewer FNO blocks improve accuracy) accelerate climate modeling breakthroughs
 
 
976
  </p>
977
  </div>
978
  </div>
@@ -980,16 +1023,15 @@ def render_success_stories():
980
  """, unsafe_allow_html=True)
981
 
982
  # ========================================
983
- # CASE STUDY 4: X-ray NAS
984
  # ========================================
985
 
986
  st.markdown("---")
987
- st.markdown("<br><br>", unsafe_allow_html=True)
988
 
989
  # Case study indicator
990
  st.markdown("""
991
  <div style='text-align: center; margin: 2rem 0 1rem 0;'>
992
- <span style='background: rgba(99, 102, 241, 0.2); color: #6366F1; padding: 0.5rem 1rem;
993
  border-radius: 20px; font-size: 0.9rem; font-weight: 600;'>
994
  Case Study 4 of 4
995
  </span>
@@ -998,193 +1040,415 @@ def render_success_stories():
998
 
999
  # Title and hero metrics
1000
  st.markdown("""
1001
- <div style='background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
1002
- padding: 2rem; border-radius: 12px; margin-bottom: 2rem; border-left: 4px solid #6366F1;'>
1003
- <h3 style='color: #6366F1; font-size: 1.8rem; margin-bottom: 0.5rem;'>
1004
- 🔬 X-ray Microscopy Optimized for NVIDIA Jetson Edge
1005
  </h3>
1006
  <p style='color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 1.5rem;'>
1007
- 87% Smaller Models, 44% Less Energy on NVIDIA Jetson AGX Orin
1008
  </p>
1009
  </div>
1010
  """, unsafe_allow_html=True)
1011
 
1012
- # NVIDIA Technology Badges
1013
  st.markdown("""
1014
  <div style='display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap;'>
1015
- <span style='background: rgba(118, 185, 0, 0.2); color: #76B900; padding: 0.4rem 0.8rem;
1016
- border-radius: 6px; font-size: 0.85rem; font-weight: 600; border: 1px solid #76B900;'>
1017
- NVIDIA Jetson AGX Orin
1018
- </span>
1019
- <span style='background: rgba(118, 185, 0, 0.2); color: #76B900; padding: 0.4rem 0.8rem;
1020
- border-radius: 6px; font-size: 0.85rem; font-weight: 600; border: 1px solid #76B900;'>
1021
- TensorRT
1022
- </span>
1023
- <span style='background: rgba(99, 102, 241, 0.2); color: #6366F1; padding: 0.4rem 0.8rem;
1024
- border-radius: 6px; font-size: 0.85rem; font-weight: 600; border: 1px solid #6366F1;'>
1025
- Ampere Architecture
1026
- </span>
1027
  </div>
1028
  """, unsafe_allow_html=True)
1029
 
1030
- # Hero metrics
1031
- col1, col2, col3 = st.columns(3)
1032
- with col1:
1033
- st.metric(
1034
- label="BraggNN Accuracy Gain",
1035
- value="31.03%",
1036
- help="Improvement in Bragg peak detection"
1037
- )
1038
- with col2:
1039
- st.metric(
1040
- label="PtychoNN Accuracy Gain",
1041
- value="16.77%",
1042
- help="Improvement in ptychographic reconstruction"
1043
- )
1044
- with col3:
1045
- st.metric(
1046
- label="Model Size Reduction",
1047
- value="Up to 87.57%",
1048
- help="BraggNN parameter reduction"
1049
- )
1050
-
1051
- st.markdown("<br>", unsafe_allow_html=True)
1052
-
1053
- # Challenge and Solution
1054
  col1, col2 = st.columns(2)
1055
 
1056
  with col1:
1057
  st.markdown("""
1058
- <div style='background: rgba(30, 41, 59, 0.5); padding: 1.5rem; border-radius: 10px; height: 100%;'>
1059
- <h4 style='color: #6366F1; margin-bottom: 1rem;'>📊 The Challenge</h4>
 
1060
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
1061
- X-ray diffraction microscopy generates massive data volumes requiring real-time processing
1062
- at the beamline. <strong>BraggNN</strong> detects Bragg peaks and <strong>PtychoNN</strong>
1063
- performs ptychographic reconstruction—computationally intensive tasks traditionally run offline.
1064
- </p>
1065
- <p style='color: rgba(255,255,255,0.8); line-height: 1.6; margin-top: 1rem;'>
1066
- Goal: Deploy optimized models on <strong>NVIDIA Jetson AGX Orin</strong> edge devices for
1067
- real-time beamline processing, balancing accuracy, model size, latency, and energy for
1068
- instant scientific feedback without cloud latency.
1069
  </p>
1070
  </div>
1071
  """, unsafe_allow_html=True)
1072
 
1073
  with col2:
1074
  st.markdown("""
1075
- <div style='background: rgba(30, 41, 59, 0.5); padding: 1.5rem; border-radius: 10px; height: 100%;'>
1076
- <h4 style='color: #10B981; margin-bottom: 1rem;'>✅ The Solution</h4>
 
1077
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
1078
- PrimaLabs automated architecture search (MLP vs CNN), configuration optimization, and
1079
- multi-objective balancing of accuracy, model size, latency, and energy—specifically
1080
- targeting <strong>NVIDIA Jetson AGX Orin</strong> deployment constraints. Discovered models
1081
- optimized for the Jetson's Ampere GPU architecture with TensorRT acceleration.
1082
- </p>
1083
- <p style='color: rgba(255,255,255,0.8); line-height: 1.6; margin-top: 1rem;'>
1084
- <strong>Result:</strong> BraggNN achieved 87.57% parameter reduction + 31.03% accuracy gain
1085
- + 44.18% energy savings. PtychoNN improved 16.77% + 12.82% size reduction + 15.34% energy
1086
- savings. Both models validated on NVIDIA Jetson AGX Orin for real-time beamline deployment.
1087
  </p>
1088
  </div>
1089
  """, unsafe_allow_html=True)
1090
 
1091
  st.markdown("<br>", unsafe_allow_html=True)
1092
 
1093
- # Performance Comparison
1094
- st.markdown("#### ⚡ Baseline vs Optimized Performance")
1095
-
1096
- col1, col2 = st.columns(2)
1097
 
1098
  with col1:
1099
  st.markdown("""
1100
- <div style='background: rgba(239, 68, 68, 0.1); padding: 1.5rem; border-radius: 10px;
1101
- border-left: 4px solid #EF4444; height: 100%;'>
1102
- <h4 style='color: #EF4444; margin-bottom: 1rem;'>📊 BraggNN Results</h4>
1103
- <div style='color: rgba(255,255,255,0.8); line-height: 2;'>
1104
- <p><strong>Accuracy Improvement:</strong> 31.03%</p>
1105
- <p><strong>Model Size Reduction:</strong> 87.57%</p>
1106
- <p><strong>Latency Reduction:</strong> 10.51%</p>
1107
- <p><strong>Energy Reduction:</strong> 44.18%</p>
1108
- <p><strong>Architecture:</strong> MLP-based</p>
1109
- </div>
1110
  </div>
1111
  """, unsafe_allow_html=True)
1112
 
1113
  with col2:
1114
  st.markdown("""
1115
- <div style='background: rgba(16, 185, 129, 0.1); padding: 1.5rem; border-radius: 10px;
1116
- border-left: 4px solid #10B981; height: 100%;'>
1117
- <h4 style='color: #10B981; margin-bottom: 1rem;'>📊 PtychoNN Results</h4>
1118
- <div style='color: rgba(255,255,255,0.8); line-height: 2;'>
1119
- <p><strong>Accuracy Improvement:</strong> 16.77%</p>
1120
- <p><strong>Model Size Reduction:</strong> 12.82%</p>
1121
- <p><strong>Latency Reduction:</strong> 9.47%</p>
1122
- <p><strong>Energy Reduction:</strong> 15.34%</p>
1123
- <p><strong>Architecture:</strong> CNN-based</p>
1124
- </div>
1125
  </div>
1126
  """, unsafe_allow_html=True)
1127
 
1128
- st.markdown("<br>", unsafe_allow_html=True)
1129
-
1130
- # Key Findings
1131
- st.markdown("#### 💡 Key Findings")
1132
-
1133
- col1, col2 = st.columns(2)
1134
-
1135
- with col1:
1136
  st.markdown("""
1137
- <div style='background: rgba(99, 102, 241, 0.1); padding: 1.5rem; border-radius: 10px;
1138
- border-left: 4px solid #6366F1; margin-bottom: 1rem;'>
1139
- <h4 style='color: #6366F1; font-size: 1.1rem; margin-bottom: 0.75rem;'>🎯 Architecture Discovery</h4>
1140
- <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
1141
- Automated architecture search discovered that <strong>MLP architectures excel for BraggNN</strong>
1142
- (regression task), achieving massive size reduction. <strong>CNN architectures remained
1143
- optimal for PtychoNN</strong> (reconstruction task), but automated optimization identified
1144
- significantly improved depth and filter configurations.
1145
- </p>
1146
  </div>
 
1147
 
1148
- <div style='background: rgba(99, 102, 241, 0.1); padding: 1.5rem; border-radius: 10px;
1149
- border-left: 4px solid #6366F1;'>
1150
- <h4 style='color: #6366F1; font-size: 1.1rem; margin-bottom: 0.75rem;'>⚡ NVIDIA Jetson Edge Success</h4>
1151
- <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
1152
- Optimized models deployed on <strong>NVIDIA Jetson AGX Orin</strong> achieved dramatic
1153
- efficiency gains: 10-44% latency reduction and 15-44% energy savings. This enables real-time
1154
- scientific computing at X-ray beamlines—processing data locally on Jetson's Ampere GPU with
1155
- TensorRT, eliminating cloud latency and bandwidth bottlenecks.
1156
- </p>
1157
  </div>
1158
  """, unsafe_allow_html=True)
1159
 
1160
- with col2:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1161
  st.markdown("""
1162
- <div style='background: rgba(99, 102, 241, 0.1); padding: 1.5rem; border-radius: 10px;
1163
- border-left: 4px solid #6366F1; margin-bottom: 1rem;'>
1164
- <h4 style='color: #6366F1; font-size: 1.1rem; margin-bottom: 0.75rem;'>📊 Efficient Search Strategies</h4>
1165
- <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
1166
- PrimaLabs's intelligent search algorithms achieved <strong>faster convergence</strong> and
1167
- <strong>better final performance</strong> through parallel evaluation and adaptive sampling
1168
- strategies. The system efficiently explored the vast configuration space to discover optimal
1169
- model designs.
1170
  </p>
1171
- </div>
1172
-
1173
- <div style='background: rgba(99, 102, 241, 0.1); padding: 1.5rem; border-radius: 10px;
1174
- border-left: 4px solid #6366F1;'>
1175
- <h4 style='color: #6366F1; font-size: 1.1rem; margin-bottom: 0.75rem;'>✅ Multi-Objective Optimization</h4>
1176
- <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
1177
- Pareto front analysis revealed optimal trade-offs between accuracy, model size, and
1178
- inference metrics. Users can select models based on deployment constraints (latency-critical
1179
- vs accuracy-critical scenarios).
 
 
 
 
 
 
1180
  </p>
1181
  </div>
1182
  """, unsafe_allow_html=True)
1183
 
1184
- # Business Impact
1185
  st.markdown("<br>", unsafe_allow_html=True)
1186
- st.markdown("#### 💰 Business Impact")
1187
 
 
1188
  st.markdown("""
1189
  <div style='background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
1190
  padding: 2rem; border-radius: 12px; border-left: 4px solid #10B981;'>
@@ -1192,18 +1456,18 @@ def render_success_stories():
1192
  <div style='display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;'>
1193
  <div>
1194
  <p style='color: rgba(255,255,255,0.8); line-height: 1.8;'>
1195
- <strong style='color: #10B981;'>Edge Deployment Savings:</strong> NVIDIA Jetson AGX Orin eliminates
1196
- <strong>cloud compute and bandwidth costs</strong>—$50K-$200K annually per beamline<br/>
1197
- <strong style='color: #10B981;'>Real-Time Processing Value:</strong> Instant scientific feedback
1198
- accelerates <strong>experimental workflows by 5-10×</strong>, increasing throughput
1199
  </p>
1200
  </div>
1201
  <div>
1202
  <p style='color: rgba(255,255,255,0.8); line-height: 1.8;'>
1203
- <strong style='color: #10B981;'>Energy Efficiency:</strong> 44% energy reduction on edge devices
1204
- cuts operational costs and enables <strong>sustainable deployment at scale</strong><br/>
1205
- <strong style='color: #10B981;'>NVIDIA Jetson ROI:</strong> Automated NAS maximizes TensorRT
1206
- optimization value, unlocking edge deployment for complex scientific workloads
1207
  </p>
1208
  </div>
1209
  </div>
@@ -1221,19 +1485,19 @@ def render_success_stories():
1221
  <div style='text-align: center; margin-bottom: 2rem;'>
1222
  <h2 style='color: #6366F1; font-size: 2rem; margin-bottom: 0.5rem;'>Platform Coverage Overview</h2>
1223
  <p style='color: rgba(255,255,255,0.8); font-size: 1.1rem;'>
1224
- PrimaLabs accelerates optimization across the entire NVIDIA ecosystem
1225
  </p>
1226
  </div>
1227
  """, unsafe_allow_html=True)
1228
 
1229
  comparison_data = {
1230
- 'Use Case': ['Tau Benchmark', 'Qwen3-8B Pruning', 'Ocean Dynamics FNO', 'X-ray Microscopy'],
1231
- 'Domain': ['LLM Optimization', 'Model Compression', 'Scientific Computing', 'Edge Deployment'],
1232
- 'NVIDIA Platform': ['Multi-GPU', 'NeMo 2.0 + TensorRT', 'PhysicsNeMo + A100', 'Jetson AGX Orin'],
1233
- 'Configurations': ['330', '142', '~500', 'Architecture Search'],
1234
- 'Time to Results': ['16 hours', 'Days', '6 hours', 'Hours'],
1235
- 'Speed vs Manual': ['10×', '5-10×', '15-20×', '8-12×'],
1236
- 'Key Outcome': ['+128% accuracy', '50% compression', 'Improved MSE+ACC', '87% size, +31% acc']
1237
  }
1238
 
1239
  df_comparison = pd.DataFrame(comparison_data)
@@ -1247,7 +1511,7 @@ def render_success_stories():
1247
  <div style='background: rgba(99, 102, 241, 0.1); padding: 1.5rem; border-radius: 10px; border: 2px solid #6366F1;'>
1248
  <h4 style='color: #6366F1; text-align: center; margin-bottom: 1rem;'>Cloud to Edge</h4>
1249
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6; text-align: center;'>
1250
- From 80-GPU HPC clusters to power-efficient Jetson edge devices
1251
  </p>
1252
  </div>
1253
  """, unsafe_allow_html=True)
@@ -1255,9 +1519,9 @@ def render_success_stories():
1255
  with col2:
1256
  st.markdown("""
1257
  <div style='background: rgba(16, 185, 129, 0.1); padding: 1.5rem; border-radius: 10px; border: 2px solid #10B981;'>
1258
- <h4 style='color: #10B981; text-align: center; margin-bottom: 1rem;'>Any Workload</h4>
1259
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6; text-align: center;'>
1260
- LLMs, computer vision, scientific ML, multi-objective optimization
1261
  </p>
1262
  </div>
1263
  """, unsafe_allow_html=True)
@@ -1267,7 +1531,7 @@ def render_success_stories():
1267
  <div style='background: rgba(245, 158, 11, 0.1); padding: 1.5rem; border-radius: 10px; border: 2px solid #F59E0B;'>
1268
  <h4 style='color: #F59E0B; text-align: center; margin-bottom: 1rem;'>Consistent ROI</h4>
1269
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6; text-align: center;'>
1270
- 5-20× faster development across all validated use cases
1271
  </p>
1272
  </div>
1273
  """, unsafe_allow_html=True)
@@ -1280,15 +1544,15 @@ def render_success_stories():
1280
  st.markdown("<br>", unsafe_allow_html=True)
1281
 
1282
  st.markdown("""
1283
- <div style='background: linear-gradient(135deg, rgba(118, 185, 0, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
1284
  padding: 3rem 2rem 2rem 2rem; border-radius: 12px; text-align: center; border: 2px solid #76B900;'>
1285
  <h2 style='color: #76B900; font-size: 2.2rem; margin-bottom: 1rem;'>
1286
- Ready to Accelerate Your NVIDIA Platform?
1287
  </h2>
1288
- <p style='color: rgba(255,255,255,0.9); font-size: 1.2rem; max-width: 800px; margin: 0 auto 1rem auto; line-height: 1.8;'>
1289
- PrimaLabs is production-ready and validated across NVIDIA's cloud, HPC, and edge platforms.
1290
- Let's discuss how we can help you achieve <strong>10-20× faster</strong> model
1291
- development and maximize ROI on NVIDIA infrastructure.
1292
  </p>
1293
  </div>
1294
  """, unsafe_allow_html=True)
 
12
  <h2 style='color: #6366F1; font-size: 2.5rem; margin-bottom: 1rem;'>Success Stories</h2>
13
  <p style='color: rgba(255,255,255,0.8); font-size: 1.2rem; max-width: 800px; margin: 0 auto;'>
14
  PrimaLabs accelerates model development from weeks to hours, delivering breakthrough results
15
+ for LLM optimization, scientific AI, and edge deployment across NVIDIA and AMD platforms—from cloud to exascale
16
  </p>
17
  </div>
18
  """, unsafe_allow_html=True)
19
 
20
+ # Executive Summary - Cost, Application, and Hardware Aware Optimization
21
  st.markdown("""
22
  <div style='background: linear-gradient(135deg, rgba(118, 185, 0, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
23
  padding: 3rem 2rem; border-radius: 12px; margin-bottom: 3rem; border: 2px solid #76B900;'>
24
  <h2 style='color: #76B900; font-size: 2rem; margin-bottom: 1.5rem; text-align: center;'>
25
+ Cost-Aware • Application-Aware • Hardware-Aware Optimization
26
  </h2>
27
+ <p style='color: rgba(255,255,255,0.9); font-size: 1.1rem; text-align: center; max-width: 900px; margin: 0 auto 1rem auto; line-height: 1.8;'>
28
+ PrimaLabs optimizes AI models for <strong>your specific application requirements</strong>, <strong>your cost constraints</strong>,
29
+ and <strong>your hardware infrastructure</strong>—delivering <strong>10-20× faster</strong> model development across NVIDIA and AMD platforms.
30
+ Our automated optimization engine eliminates weeks of manual trial-and-error, maximizing ROI while accelerating time-to-value.
 
31
  </p>
32
+ <div style='text-align: center; margin-top: 1.5rem;'>
33
+ <span style='background: rgba(251, 191, 36, 0.2); padding: 0.5rem 1rem; border-radius: 8px; margin: 0 0.5rem; display: inline-block;'>
34
+ <strong style='color: #FBBF24;'>💰 Cost-Aware</strong> Optimize for inference cost, training budget, energy consumption
35
+ </span>
36
+ <span style='background: rgba(99, 102, 241, 0.2); padding: 0.5rem 1rem; border-radius: 8px; margin: 0 0.5rem; display: inline-block;'>
37
+ <strong style='color: #6366F1;'>🎯 Application-Aware</strong> Maintain accuracy on your benchmarks and use cases
38
+ </span>
39
+ <span style='background: rgba(16, 185, 129, 0.2); padding: 0.5rem 1rem; border-radius: 8px; margin: 0 0.5rem; display: inline-block;'>
40
+ <strong style='color: #10B981;'>⚙️ Hardware-Aware</strong> NVIDIA (A100, H100, Jetson) • AMD (MI250X, Frontier)
41
+ </span>
42
+ </div>
43
  </div>
44
  """, unsafe_allow_html=True)
45
 
 
60
  st.markdown("""
61
  <div style='background: rgba(99, 102, 241, 0.1); padding: 1.5rem; border-radius: 10px; text-align: center;
62
  border: 2px solid rgba(99, 102, 241, 0.3); height: 180px; display: flex; flex-direction: column; justify-content: center;'>
63
+ <div style='font-size: 2.5rem; font-weight: bold; color: #6366F1;'>6</div>
64
+ <div style='color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-top: 0.5rem;'>GPU Platforms</div>
65
+ <div style='color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-top: 0.25rem;'>NVIDIA A100/H100/Jetson, AMD MI250X/Frontier</div>
66
  </div>
67
  """, unsafe_allow_html=True)
68
 
 
362
  st.markdown("""
363
  <div style='background: rgba(99, 102, 241, 0.1); padding: 1.5rem; border-radius: 10px;
364
  border-left: 4px solid #6366F1; margin-bottom: 1rem;'>
365
+ <h4 style='color: #6366F1; font-size: 1.1rem; margin-bottom: 0.75rem;'>🎯 Automated Model Selection Matters Most</h4>
366
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
367
+ Automated choice of model delivered <strong>+109% improvement</strong>—more than
368
  any hyperparameter tuning. The "best" model wasn't the biggest one.
369
  </p>
370
  </div>
 
756
  """, unsafe_allow_html=True)
757
 
758
  # ========================================
759
+ # CASE STUDY 5: FRONTIER 1T-PARAMETER LLM TRAINING
760
  # ========================================
761
 
762
  st.markdown("---")
 
763
 
764
  # Case study indicator
765
  st.markdown("""
 
773
 
774
  # Title and hero metrics
775
  st.markdown("""
776
+ <div style='background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(79, 70, 229, 0.15) 100%);
777
  padding: 2rem; border-radius: 12px; margin-bottom: 2rem; border-left: 4px solid #6366F1;'>
778
  <h3 style='color: #6366F1; font-size: 1.8rem; margin-bottom: 0.5rem;'>
779
+ 🚀 Frontier: Exascale LLM Training on AMD GPUs
780
  </h3>
781
  <p style='color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 1.5rem;'>
782
+ First Trillion-Parameter Model on Non-NVIDIA Hardware—87% Scaling Efficiency Across 3,072 AMD GPUs
783
  </p>
784
  </div>
785
  """, unsafe_allow_html=True)
786
 
787
+ # AMD Technology Badges
788
  st.markdown("""
789
  <div style='display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap;'>
 
 
 
 
 
 
 
 
790
  <span style='background: rgba(99, 102, 241, 0.2); color: #6366F1; padding: 0.4rem 0.8rem;
791
+ border-radius: 15px; font-size: 0.85rem; font-weight: 600;'>AMD MI250X</span>
792
+ <span style='background: rgba(99, 102, 241, 0.2); color: #6366F1; padding: 0.4rem 0.8rem;
793
+ border-radius: 15px; font-size: 0.85rem; font-weight: 600;'>Frontier Supercomputer</span>
794
+ <span style='background: rgba(99, 102, 241, 0.2); color: #6366F1; padding: 0.4rem 0.8rem;
795
+ border-radius: 15px; font-size: 0.85rem; font-weight: 600;'>Megatron-DeepSpeed</span>
796
+ <span style='background: rgba(99, 102, 241, 0.2); color: #6366F1; padding: 0.4rem 0.8rem;
797
+ border-radius: 15px; font-size: 0.85rem; font-weight: 600;'>3D Parallelism</span>
798
+ <span style='background: rgba(99, 102, 241, 0.2); color: #6366F1; padding: 0.4rem 0.8rem;
799
+ border-radius: 15px; font-size: 0.85rem; font-weight: 600;'>ROCm</span>
800
  </div>
801
  """, unsafe_allow_html=True)
802
 
803
+ # Challenge & Solution
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
804
  col1, col2 = st.columns(2)
805
 
806
  with col1:
807
  st.markdown("""
808
  <div style='background: rgba(30, 41, 59, 0.5); padding: 1.5rem; border-radius: 10px; height: 100%;'>
809
+ <h4 style='color: #6366F1; margin-bottom: 1rem;'>🎯 Challenge</h4>
810
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
811
+ Oak Ridge National Laboratory (ORNL) researchers needed to train a <strong>1-trillion-parameter GPT model</strong>
812
+ on Frontier, the world's first exascale supercomputer. The challenge: achieve this entirely on
813
+ <strong>AMD hardware</strong> without the "heroic" engineering efforts typically required for large-scale
814
+ training, while breaking NVIDIA's dominance in trillion-parameter LLM training.
 
 
 
 
 
815
  </p>
816
  </div>
817
  """, unsafe_allow_html=True)
 
819
  with col2:
820
  st.markdown("""
821
  <div style='background: rgba(30, 41, 59, 0.5); padding: 1.5rem; border-radius: 10px; height: 100%;'>
822
+ <h4 style='color: #10B981; margin-bottom: 1rem;'>💡 Solution</h4>
823
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
824
+ Automated <strong>3D parallelism optimization</strong> (tensor + pipeline + data parallelism)
825
+ across 3,072 AMD MI250X GPUs, intelligently tuning hyperparameters and resource allocation to achieve
826
+ <strong>87.05% strong scaling efficiency</strong> and <strong>100% weak scaling efficiency</strong>—some
827
+ of the highest efficiency levels ever reported for trillion-parameter models in open science.
 
 
 
 
 
828
  </p>
829
  </div>
830
  """, unsafe_allow_html=True)
 
832
  st.markdown("<br>", unsafe_allow_html=True)
833
 
834
  # Key Results
835
+ col1, col2, col3, col4 = st.columns(4)
836
 
 
837
  with col1:
838
  st.markdown("""
839
+ <div style='background: rgba(99, 102, 241, 0.1); padding: 1.25rem; border-radius: 10px; text-align: center;
840
+ border: 2px solid rgba(99, 102, 241, 0.3);'>
841
+ <div style='font-size: 2rem; font-weight: bold; color: #6366F1;'>87.05%</div>
842
+ <div style='color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.5rem;'>Strong Scaling</div>
843
+ <div style='color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-top: 0.25rem;'>Across 3,072 GPUs</div>
 
844
  </div>
845
  """, unsafe_allow_html=True)
846
 
847
  with col2:
848
  st.markdown("""
849
+ <div style='background: rgba(99, 102, 241, 0.1); padding: 1.25rem; border-radius: 10px; text-align: center;
850
+ border: 2px solid rgba(99, 102, 241, 0.3);'>
851
+ <div style='font-size: 2rem; font-weight: bold; color: #6366F1;'>1T</div>
852
+ <div style='color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.5rem;'>Parameters</div>
853
+ <div style='color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-top: 0.25rem;'>5.7× GPT-3 Size</div>
 
854
  </div>
855
  """, unsafe_allow_html=True)
856
 
857
  with col3:
858
  st.markdown("""
859
+ <div style='background: rgba(99, 102, 241, 0.1); padding: 1.25rem; border-radius: 10px; text-align: center;
860
+ border: 2px solid rgba(99, 102, 241, 0.3);'>
861
+ <div style='font-size: 2rem; font-weight: bold; color: #6366F1;'>16h</div>
862
+ <div style='color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.5rem;'>Time to Optimize</div>
863
+ <div style='color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-top: 0.25rem;'>vs 3 weeks manual</div>
864
+ </div>
865
+ """, unsafe_allow_html=True)
866
+
867
+ with col4:
868
+ st.markdown("""
869
+ <div style='background: rgba(99, 102, 241, 0.1); padding: 1.25rem; border-radius: 10px; text-align: center;
870
+ border: 2px solid rgba(99, 102, 241, 0.3);'>
871
+ <div style='font-size: 2rem; font-weight: bold; color: #6366F1;'>480</div>
872
+ <div style='color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.5rem;'>Configurations</div>
873
+ <div style='color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-top: 0.25rem;'>Automated Search</div>
874
  </div>
875
  """, unsafe_allow_html=True)
876
 
877
  st.markdown("<br>", unsafe_allow_html=True)
878
 
879
+ # Optimization Search Trajectory
880
+ st.markdown("#### 🎯 Optimization Search Trajectory")
881
+ st.caption("480 configurations explored in 16 hours—automated 3D parallelism tuning")
882
 
883
+ # Load objective vs evaluations data
884
+ objective_csv_path = 'evaluations_vs_objective-2.csv'
885
 
886
+ if os.path.exists(objective_csv_path):
887
+ # Read the CSV data
888
+ df_objective = pd.read_csv(objective_csv_path)
889
+
890
+ # Create optimization trajectory plot with line and markers
891
+ fig_objective = go.Figure()
892
+
893
+ # Add line trace
894
+ fig_objective.add_trace(go.Scatter(
895
+ x=df_objective['Evaluations'],
896
+ y=df_objective['Objective'],
897
+ mode='lines+markers',
898
+ name='Optimization Progress',
899
+ line=dict(
900
+ color='#6366F1',
901
+ width=3
902
+ ),
903
+ marker=dict(
904
+ size=10,
905
+ color=df_objective['Objective'],
906
+ colorscale='Viridis',
907
+ showscale=False,
908
+ line=dict(width=2, color='white')
909
+ ),
910
+ hovertemplate=(
911
+ '<b>Evaluation:</b> %{x:.0f}<br>' +
912
+ '<b>Objective:</b> %{y:.1f}<br>' +
913
+ '<extra></extra>'
914
+ )
915
+ ))
916
 
917
+ fig_objective.update_layout(
918
+ plot_bgcolor='rgba(15, 23, 42, 0.5)',
919
+ paper_bgcolor='rgba(0, 0, 0, 0)',
920
+ height=500,
921
+ margin=dict(l=60, r=40, t=40, b=60),
922
+ xaxis=dict(
923
+ title='Evaluation Number',
924
+ title_font=dict(size=14, color='rgba(255,255,255,0.8)'),
925
+ tickfont=dict(size=12, color='rgba(255,255,255,0.8)'),
926
+ gridcolor='rgba(255, 255, 255, 0.1)',
927
+ showgrid=True,
928
+ zeroline=False,
929
+ color='rgba(255,255,255,0.8)'
930
+ ),
931
+ yaxis=dict(
932
+ title='Objective Value (TFLOPS)',
933
+ title_font=dict(size=14, color='rgba(255,255,255,0.8)'),
934
+ tickfont=dict(size=12, color='rgba(255,255,255,0.8)'),
935
+ gridcolor='rgba(255, 255, 255, 0.1)',
936
+ showgrid=True,
937
+ zeroline=False,
938
+ color='rgba(255,255,255,0.8)'
939
+ ),
940
+ hoverlabel=dict(
941
+ bgcolor='rgba(30, 41, 59, 0.95)',
942
+ font_size=14
943
+ )
944
+ )
945
 
946
+ st.plotly_chart(fig_objective, use_container_width=True)
947
+
948
+ else:
949
+ st.info("480 configurations tested in 16 hours—automated 3D parallelism optimization")
950
+
951
+ st.markdown("<br>", unsafe_allow_html=True)
952
+
953
+ # Technical Deep Dive
954
+ st.markdown("#### Technical Implementation", unsafe_allow_html=True)
955
+
956
+ with st.container():
957
  st.markdown("""
958
+ <div style='background: rgba(255, 255, 255, 0.02); padding: 1.5rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1);'>
959
+ <p style='color: rgba(255,255,255,0.9); margin-bottom: 1rem; line-height: 1.7;'>
960
+ <strong style='color: #6366F1;'>Starting Point:</strong><br/>
961
+ ORNL researchers began with a 175B-parameter baseline, manually tuning hyperparameters and resource
962
+ allocation. Scaling to 1T parameters required precise balancing of memory, compute, and communication
963
+ bandwidth—a process that typically takes 2-3 weeks of trial-and-error per configuration.
 
964
  </p>
965
+ <p style='color: rgba(255,255,255,0.9); margin-bottom: 1rem; line-height: 1.7;'>
966
+ <strong style='color: #6366F1;'>Automated 3D Parallelism Optimization:</strong><br/>
967
+ The optimization framework explored 480 configurations in 16 hours across 3,072 AMD MI250X GPUs,
968
+ systematically tuning the 3D parallelism strategy to maximize throughput and scaling efficiency.
969
+ Key hyperparameters optimized:<br/>
970
+ • <strong>Tensor Parallelism (TP)</strong>: Distributing model layers across GPUs for memory efficiency<br/>
971
+ • <strong>Pipeline Parallelism (PP)</strong>: Overlapping forward/backward passes to hide communication latency<br/>
972
+ • <strong>Micro-Batch Size (MBS)</strong>: Most impactful hyperparameter for throughput optimization<br/>
973
+ • <strong>Gradient Accumulation Steps (GAS)</strong>: Balancing memory and compute efficiency<br/>
974
+ • <strong>ZeRO-1 Optimizer Sharding</strong>: Distributing optimizer states for memory savings<br/>
975
+ • <strong>Flash Attention v2</strong>: 30% throughput improvement over baseline attention
976
+ </p>
977
+ <p style='color: rgba(255,255,255,0.9); margin-bottom: 1rem; line-height: 1.7;'>
978
+ <strong style='color: #6366F1;'>Optimal Configurations Found:</strong><br/>
979
+ • <strong>175B model (1,024 GPUs):</strong> TP=4, PP=8, MBS=1 → 89.93% strong scaling efficiency<br/>
980
+ • <strong>1T model (3,072 GPUs):</strong> TP=8, PP=16, MBS=2 → 87.05% strong scaling efficiency<br/>
981
+ • <strong>GPU Throughput:</strong> 36.14% (175B) and 31.96% (1T) of theoretical peak FLOPS
982
+ </p>
983
+ <p style='color: rgba(255,255,255,0.9); line-height: 1.7;'>
984
+ <strong style='color: #6366F1;'>Breakthrough Results:</strong><br/>
985
+ The optimized configuration achieved <strong>87.05% strong scaling efficiency</strong> and
986
+ <strong>100% weak scaling efficiency</strong>—among the highest ever reported for trillion-parameter
987
+ models. This marks the first time a 1T-parameter model was trained entirely on non-NVIDIA hardware,
988
+ using open frameworks without massive custom engineering.
989
  </p>
990
  </div>
991
  """, unsafe_allow_html=True)
992
 
 
993
  st.markdown("<br>", unsafe_allow_html=True)
 
994
 
995
+ # ROI Analysis
996
  st.markdown("""
997
  <div style='background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
998
  padding: 2rem; border-radius: 12px; border-left: 4px solid #10B981;'>
 
1000
  <div style='display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;'>
1001
  <div>
1002
  <p style='color: rgba(255,255,255,0.8); line-height: 1.8;'>
1003
+ <strong style='color: #10B981;'>AMD Hardware Validation:</strong> First trillion-parameter model
1004
+ on AMD MI250X GPUs—breaking NVIDIA's monopoly on large-scale LLM training<br/>
1005
+ <strong style='color: #10B981;'>Elite Scaling Efficiency:</strong> 87.05% strong scaling (1T @ 3,072 GPUs)
1006
+ and 100% weak scaling—among the highest ever reported for exascale training<br/>
1007
+ <strong style='color: #10B981;'>Open Science Accessibility:</strong> Achieved elite performance
1008
+ without "heroic" engineering—using well-supported open-source tools (Megatron-DeepSpeed)
1009
  </p>
1010
  </div>
1011
  <div>
1012
  <p style='color: rgba(255,255,255,0.8); line-height: 1.8;'>
1013
+ <strong style='color: #10B981;'>Energy-Efficient ROI:</strong> Optimized configurations reduce
1014
+ training time by 13% while lowering energy consumption—critical for sustainable exascale AI<br/>
1015
+ <strong style='color: #10B981;'>10× Faster Optimization:</strong> 16 hours automated tuning vs
1016
+ 2-3 weeks manual trial-and-error per configuration—accelerating time-to-science<br/>
1017
+ <strong style='color: #10B981;'>GPU Utilization:</strong> 36% of theoretical peak for 175B model
1018
+ demonstrates efficient hardware use at scale
1019
  </p>
1020
  </div>
1021
  </div>
 
1023
  """, unsafe_allow_html=True)
1024
 
1025
  # ========================================
1026
+ # CASE STUDY 6: HYDRAGNN ENERGY-EFFICIENT GRAPH AI
1027
  # ========================================
1028
 
1029
  st.markdown("---")
 
1030
 
1031
  # Case study indicator
1032
  st.markdown("""
1033
  <div style='text-align: center; margin: 2rem 0 1rem 0;'>
1034
+ <span style='background: rgba(16, 185, 129, 0.2); color: #10B981; padding: 0.5rem 1rem;
1035
  border-radius: 20px; font-size: 0.9rem; font-weight: 600;'>
1036
  Case Study 4 of 4
1037
  </span>
 
1040
 
1041
  # Title and hero metrics
1042
  st.markdown("""
1043
+ <div style='background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
1044
+ padding: 2rem; border-radius: 12px; margin-bottom: 2rem; border-left: 4px solid #10B981;'>
1045
+ <h3 style='color: #10B981; font-size: 1.8rem; margin-bottom: 0.5rem;'>
1046
+ 🧬 Energy-Efficient Graph AI Model Training
1047
  </h3>
1048
  <p style='color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 1.5rem;'>
1049
+ 50% Energy Reduction for Scientific Graph Foundation Models—Published in The Journal of Supercomputing (2025)
1050
  </p>
1051
  </div>
1052
  """, unsafe_allow_html=True)
1053
 
1054
+ # AMD + Scientific AI Technology Badges
1055
  st.markdown("""
1056
  <div style='display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap;'>
1057
+ <span style='background: rgba(239, 68, 68, 0.2); color: #EF4444; padding: 0.4rem 0.8rem;
1058
+ border-radius: 15px; font-size: 0.85rem; font-weight: 600;'>AMD MI250X</span>
1059
+ <span style='background: rgba(239, 68, 68, 0.2); color: #EF4444; padding: 0.4rem 0.8rem;
1060
+ border-radius: 15px; font-size: 0.85rem; font-weight: 600;'>Frontier Supercomputer</span>
1061
+ <span style='background: rgba(16, 185, 129, 0.2); color: #10B981; padding: 0.4rem 0.8rem;
1062
+ border-radius: 15px; font-size: 0.85rem; font-weight: 600;'>HydraGNN</span>
1063
+ <span style='background: rgba(16, 185, 129, 0.2); color: #10B981; padding: 0.4rem 0.8rem;
1064
+ border-radius: 15px; font-size: 0.85rem; font-weight: 600;'>Materials Science AI</span>
1065
+ <span style='background: rgba(16, 185, 129, 0.2); color: #10B981; padding: 0.4rem 0.8rem;
1066
+ border-radius: 15px; font-size: 0.85rem; font-weight: 600;'>Bi-Objective Optimization</span>
 
 
1067
  </div>
1068
  """, unsafe_allow_html=True)
1069
 
1070
+ # Challenge & Solution
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1071
  col1, col2 = st.columns(2)
1072
 
1073
  with col1:
1074
  st.markdown("""
1075
+ <div style='background: rgba(239, 68, 68, 0.1); padding: 1.5rem; border-radius: 10px; height: 100%;
1076
+ border: 2px solid rgba(239, 68, 68, 0.3);'>
1077
+ <h4 style='color: #EF4444; margin-bottom: 1rem;'>🎯 Challenge</h4>
1078
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
1079
+ ORNL researchers faced a critical challenge: train <strong>scalable graph foundation models</strong>
1080
+ for atomistic materials modeling that are both <strong>scientifically trustworthy</strong> and
1081
+ <strong>energy-efficient</strong>. Traditional training approaches prioritize accuracy alone, leading
1082
+ to excessive power consumption—a growing concern for sustainable AI research at exascale.
 
 
 
 
1083
  </p>
1084
  </div>
1085
  """, unsafe_allow_html=True)
1086
 
1087
  with col2:
1088
  st.markdown("""
1089
+ <div style='background: rgba(16, 185, 129, 0.1); padding: 1.5rem; border-radius: 10px; height: 100%;
1090
+ border: 2px solid rgba(16, 185, 129, 0.3);'>
1091
+ <h4 style='color: #10B981; margin-bottom: 1rem;'>💡 Solution</h4>
1092
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6;'>
1093
+ Bi-objective optimization framework that simultaneously optimizes for predictive reliability and computational
1094
+ efficiency. Running on Frontier's AMD MI250X GPUs, the system explored 320 configurations in 18 hours,
1095
+ achieving <strong>50% energy reduction</strong> while maintaining scientific fidelity—proving that
1096
+ trustworthy AI and sustainability can coexist.
 
 
 
 
 
1097
  </p>
1098
  </div>
1099
  """, unsafe_allow_html=True)
1100
 
1101
  st.markdown("<br>", unsafe_allow_html=True)
1102
 
1103
+ # Key Results
1104
+ col1, col2, col3, col4 = st.columns(4)
 
 
1105
 
1106
  with col1:
1107
  st.markdown("""
1108
+ <div style='background: rgba(16, 185, 129, 0.1); padding: 1.25rem; border-radius: 10px; text-align: center;
1109
+ border: 2px solid rgba(16, 185, 129, 0.3);'>
1110
+ <div style='font-size: 2rem; font-weight: bold; color: #10B981;'>50%</div>
1111
+ <div style='color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.5rem;'>Energy Reduction</div>
1112
+ <div style='color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-top: 0.25rem;'>vs Baseline Training</div>
 
 
 
 
 
1113
  </div>
1114
  """, unsafe_allow_html=True)
1115
 
1116
  with col2:
1117
  st.markdown("""
1118
+ <div style='background: rgba(16, 185, 129, 0.1); padding: 1.25rem; border-radius: 10px; text-align: center;
1119
+ border: 2px solid rgba(16, 185, 129, 0.3);'>
1120
+ <div style='font-size: 2rem; font-weight: bold; color: #10B981;'>Published</div>
1121
+ <div style='color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.5rem;'>JSC 2025</div>
1122
+ <div style='color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-top: 0.25rem;'>Peer-Reviewed</div>
 
 
 
 
 
1123
  </div>
1124
  """, unsafe_allow_html=True)
1125
 
1126
+ with col3:
 
 
 
 
 
 
 
1127
  st.markdown("""
1128
+ <div style='background: rgba(16, 185, 129, 0.1); padding: 1.25rem; border-radius: 10px; text-align: center;
1129
+ border: 2px solid rgba(16, 185, 129, 0.3);'>
1130
+ <div style='font-size: 2rem; font-weight: bold; color: #10B981;'>18h</div>
1131
+ <div style='color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.5rem;'>Time to Optimize</div>
1132
+ <div style='color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-top: 0.25rem;'>vs 2 weeks manual</div>
 
 
 
 
1133
  </div>
1134
+ """, unsafe_allow_html=True)
1135
 
1136
+ with col4:
1137
+ st.markdown("""
1138
+ <div style='background: rgba(16, 185, 129, 0.1); padding: 1.25rem; border-radius: 10px; text-align: center;
1139
+ border: 2px solid rgba(16, 185, 129, 0.3);'>
1140
+ <div style='font-size: 2rem; font-weight: bold; color: #10B981;'>320</div>
1141
+ <div style='color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.5rem;'>Configurations</div>
1142
+ <div style='color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-top: 0.25rem;'>Automated Search</div>
 
 
1143
  </div>
1144
  """, unsafe_allow_html=True)
1145
 
1146
+ st.markdown("<br>", unsafe_allow_html=True)
1147
+
1148
+ # Energy-Accuracy Trade-off Visualization
1149
+ st.markdown("#### 📊 Energy-Accuracy Pareto Frontier")
1150
+ st.caption("320 configurations explored—optimal points achieve the best trade-offs where no other configuration offers both better accuracy AND lower energy. Green region shows achievable performance space.")
1151
+
1152
+ # Load HydraGNN energy vs MAE data
1153
+ hydra_csv_path = 'filtered_energy_vs_mae.csv'
1154
+
1155
+ if os.path.exists(hydra_csv_path):
1156
+ # Read the CSV data
1157
+ df_hydra = pd.read_csv(hydra_csv_path)
1158
+
1159
+ # Convert log10 values back to actual values for better readability
1160
+ df_hydra['Validation_MAE'] = 10 ** df_hydra['log10_Validation_MAE']
1161
+ df_hydra['Energy_kWh'] = 10 ** df_hydra['log10_Energy_kWh']
1162
+
1163
+ # Calculate Pareto frontier
1164
+ # Sort by energy, then find points where MAE improves
1165
+ df_sorted = df_hydra.sort_values('Energy_kWh')
1166
+ pareto_points = []
1167
+ min_mae_so_far = float('inf')
1168
+
1169
+ for idx, row in df_sorted.iterrows():
1170
+ if row['Validation_MAE'] < min_mae_so_far:
1171
+ pareto_points.append(idx)
1172
+ min_mae_so_far = row['Validation_MAE']
1173
+
1174
+ df_hydra['is_pareto'] = df_hydra.index.isin(pareto_points)
1175
+
1176
+ # Create the visualization
1177
+ fig_hydra = go.Figure()
1178
+
1179
+ # All configurations (non-Pareto)
1180
+ df_non_pareto = df_hydra[~df_hydra['is_pareto']]
1181
+ fig_hydra.add_trace(go.Scatter(
1182
+ x=df_non_pareto['Energy_kWh'],
1183
+ y=df_non_pareto['Validation_MAE'],
1184
+ mode='markers',
1185
+ name='Explored Configs',
1186
+ marker=dict(
1187
+ size=7,
1188
+ color='rgba(148, 163, 184, 0.3)',
1189
+ line=dict(width=0.5, color='rgba(255,255,255,0.2)')
1190
+ ),
1191
+ hovertemplate=(
1192
+ '<b>Configuration</b><br>' +
1193
+ '<b>Energy:</b> %{x:.2f} kWh<br>' +
1194
+ '<b>MAE:</b> %{y:.5f}<br>' +
1195
+ '<extra></extra>'
1196
+ )
1197
+ ))
1198
+
1199
+ # Pareto-optimal configurations with filled area
1200
+ df_pareto = df_hydra[df_hydra['is_pareto']].sort_values('Energy_kWh')
1201
+
1202
+ # Add filled area under Pareto frontier
1203
+ fig_hydra.add_trace(go.Scatter(
1204
+ x=df_pareto['Energy_kWh'].tolist() + [df_pareto['Energy_kWh'].max(), df_pareto['Energy_kWh'].min()],
1205
+ y=df_pareto['Validation_MAE'].tolist() + [df_hydra['Validation_MAE'].max(), df_hydra['Validation_MAE'].max()],
1206
+ fill='toself',
1207
+ fillcolor='rgba(16, 185, 129, 0.08)',
1208
+ line=dict(width=0),
1209
+ showlegend=False,
1210
+ hoverinfo='skip'
1211
+ ))
1212
+
1213
+ # Pareto frontier line
1214
+ fig_hydra.add_trace(go.Scatter(
1215
+ x=df_pareto['Energy_kWh'],
1216
+ y=df_pareto['Validation_MAE'],
1217
+ mode='lines',
1218
+ name='Pareto Frontier',
1219
+ line=dict(color='#10B981', width=3),
1220
+ showlegend=True,
1221
+ hoverinfo='skip'
1222
+ ))
1223
+
1224
+ # Pareto-optimal points
1225
+ fig_hydra.add_trace(go.Scatter(
1226
+ x=df_pareto['Energy_kWh'],
1227
+ y=df_pareto['Validation_MAE'],
1228
+ mode='markers',
1229
+ name='Optimal Configs',
1230
+ marker=dict(
1231
+ size=11,
1232
+ color='#10B981',
1233
+ symbol='diamond',
1234
+ line=dict(width=2, color='white')
1235
+ ),
1236
+ hovertemplate=(
1237
+ '<b>✓ Pareto Optimal</b><br>' +
1238
+ '<b>Energy:</b> %{x:.2f} kWh<br>' +
1239
+ '<b>MAE:</b> %{y:.5f}<br>' +
1240
+ '<extra></extra>'
1241
+ )
1242
+ ))
1243
+
1244
+ # Highlight best energy-efficient point
1245
+ best_energy_point = df_pareto.loc[df_pareto['Energy_kWh'].idxmin()]
1246
+ fig_hydra.add_trace(go.Scatter(
1247
+ x=[best_energy_point['Energy_kWh']],
1248
+ y=[best_energy_point['Validation_MAE']],
1249
+ mode='markers+text',
1250
+ name='Best Energy',
1251
+ marker=dict(
1252
+ size=16,
1253
+ color='#10B981',
1254
+ symbol='star',
1255
+ line=dict(width=2, color='white')
1256
+ ),
1257
+ text=['50% Energy<br>Reduction'],
1258
+ textposition='top center',
1259
+ textfont=dict(size=10, color='#10B981', family='Arial Black'),
1260
+ showlegend=False,
1261
+ hovertemplate=(
1262
+ '<b>⭐ Optimal Energy Efficiency</b><br>' +
1263
+ '<b>Energy:</b> %{x:.2f} kWh<br>' +
1264
+ '<b>MAE:</b> %{y:.5f}<br>' +
1265
+ '<b>50% reduction vs baseline</b><br>' +
1266
+ '<extra></extra>'
1267
+ )
1268
+ ))
1269
+
1270
+ # Highlight most accurate point
1271
+ best_accuracy_point = df_pareto.loc[df_pareto['Validation_MAE'].idxmin()]
1272
+ fig_hydra.add_trace(go.Scatter(
1273
+ x=[best_accuracy_point['Energy_kWh']],
1274
+ y=[best_accuracy_point['Validation_MAE']],
1275
+ mode='markers+text',
1276
+ name='Best Accuracy',
1277
+ marker=dict(
1278
+ size=16,
1279
+ color='#6366F1',
1280
+ symbol='star',
1281
+ line=dict(width=2, color='white')
1282
+ ),
1283
+ text=['Best<br>Accuracy'],
1284
+ textposition='bottom center',
1285
+ textfont=dict(size=10, color='#6366F1', family='Arial Black'),
1286
+ showlegend=False,
1287
+ hovertemplate=(
1288
+ '<b>⭐ Highest Accuracy</b><br>' +
1289
+ '<b>Energy:</b> %{x:.2f} kWh<br>' +
1290
+ '<b>MAE:</b> %{y:.5f}<br>' +
1291
+ '<extra></extra>'
1292
+ )
1293
+ ))
1294
+
1295
+ # Calculate energy reduction (50% is the published result vs baseline)
1296
+ # Note: The full range shows ~97% reduction, but the meaningful comparison
1297
+ # is baseline vs optimized Pareto-optimal configurations (~50% reduction)
1298
+ max_energy = df_hydra['Energy_kWh'].max()
1299
+ min_energy = df_hydra['Energy_kWh'].min()
1300
+ full_range_reduction = ((max_energy - min_energy) / max_energy) * 100
1301
+
1302
+ # Use the published 50% energy reduction figure (baseline vs optimized)
1303
+ energy_reduction = 50.0
1304
+
1305
+ fig_hydra.update_layout(
1306
+ plot_bgcolor='rgba(15, 23, 42, 0.5)',
1307
+ paper_bgcolor='rgba(0, 0, 0, 0)',
1308
+ height=600,
1309
+ margin=dict(l=70, r=40, t=60, b=70),
1310
+ xaxis=dict(
1311
+ title='Energy Consumption (kWh) — Lower is Better →',
1312
+ title_font=dict(size=13, color='rgba(255,255,255,0.8)'),
1313
+ tickfont=dict(size=11, color='rgba(255,255,255,0.8)'),
1314
+ gridcolor='rgba(255, 255, 255, 0.15)',
1315
+ showgrid=True,
1316
+ zeroline=False,
1317
+ color='rgba(255,255,255,0.8)',
1318
+ type='log'
1319
+ ),
1320
+ yaxis=dict(
1321
+ title='↑ Lower is Better — Validation Mean Absolute Error (MAE)',
1322
+ title_font=dict(size=13, color='rgba(255,255,255,0.8)'),
1323
+ tickfont=dict(size=11, color='rgba(255,255,255,0.8)'),
1324
+ gridcolor='rgba(255, 255, 255, 0.15)',
1325
+ showgrid=True,
1326
+ zeroline=False,
1327
+ color='rgba(255,255,255,0.8)',
1328
+ type='log'
1329
+ ),
1330
+ hoverlabel=dict(
1331
+ bgcolor='rgba(30, 41, 59, 0.95)',
1332
+ font_size=13,
1333
+ font_color='white'
1334
+ ),
1335
+ legend=dict(
1336
+ x=0.02,
1337
+ y=0.02,
1338
+ bgcolor='rgba(30, 41, 59, 0.85)',
1339
+ bordercolor='rgba(255,255,255,0.3)',
1340
+ borderwidth=1,
1341
+ font=dict(color='rgba(255,255,255,0.9)', size=11)
1342
+ ),
1343
+ annotations=[
1344
+ dict(
1345
+ x=0.98,
1346
+ y=0.98,
1347
+ xref='paper',
1348
+ yref='paper',
1349
+ text='<b>Optimal Zone</b><br><span style="font-size:10px">Lower energy<br>+ better accuracy</span>',
1350
+ showarrow=True,
1351
+ arrowhead=2,
1352
+ arrowsize=1,
1353
+ arrowwidth=2,
1354
+ arrowcolor='rgba(16, 185, 129, 0.6)',
1355
+ ax=-80,
1356
+ ay=-60,
1357
+ font=dict(size=11, color='#10B981'),
1358
+ align='right',
1359
+ bgcolor='rgba(16, 185, 129, 0.1)',
1360
+ bordercolor='rgba(16, 185, 129, 0.4)',
1361
+ borderwidth=1,
1362
+ borderpad=4
1363
+ )
1364
+ ]
1365
+ )
1366
+
1367
+ st.plotly_chart(fig_hydra, use_container_width=True)
1368
+
1369
+ # Show key statistics
1370
+ st.markdown("<br>", unsafe_allow_html=True)
1371
+
1372
+ col1, col2, col3 = st.columns(3)
1373
+
1374
+ with col1:
1375
+ best_energy_idx = df_hydra['Energy_kWh'].idxmin()
1376
+ st.markdown(f"""
1377
+ <div style='background: rgba(16, 185, 129, 0.1); padding: 1rem; border-radius: 8px; text-align: center;
1378
+ border: 2px solid rgba(16, 185, 129, 0.3);'>
1379
+ <div style='color: rgba(255,255,255,0.6); font-size: 0.9rem;'>Most Energy-Efficient</div>
1380
+ <div style='color: #10B981; font-size: 1.3rem; font-weight: bold;'>{df_hydra['Energy_kWh'].min():.2f} kWh</div>
1381
+ <div style='color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 0.5rem;'>
1382
+ MAE: {df_hydra.loc[best_energy_idx, 'Validation_MAE']:.4f}
1383
+ </div>
1384
+ </div>
1385
+ """, unsafe_allow_html=True)
1386
+
1387
+ with col2:
1388
+ best_mae_idx = df_hydra['Validation_MAE'].idxmin()
1389
+ st.markdown(f"""
1390
+ <div style='background: rgba(99, 102, 241, 0.1); padding: 1rem; border-radius: 8px; text-align: center;
1391
+ border: 2px solid rgba(99, 102, 241, 0.3);'>
1392
+ <div style='color: rgba(255,255,255,0.6); font-size: 0.9rem;'>Most Accurate</div>
1393
+ <div style='color: #6366F1; font-size: 1.3rem; font-weight: bold;'>{df_hydra['Validation_MAE'].min():.4f}</div>
1394
+ <div style='color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 0.5rem;'>
1395
+ Energy: {df_hydra.loc[best_mae_idx, 'Energy_kWh']:.2f} kWh
1396
+ </div>
1397
+ </div>
1398
+ """, unsafe_allow_html=True)
1399
+
1400
+ with col3:
1401
+ st.markdown(f"""
1402
+ <div style='background: rgba(245, 158, 11, 0.1); padding: 1rem; border-radius: 8px; text-align: center;
1403
+ border: 2px solid rgba(245, 158, 11, 0.3);'>
1404
+ <div style='color: rgba(255,255,255,0.6); font-size: 0.9rem;'>Energy Reduction vs Baseline</div>
1405
+ <div style='color: #F59E0B; font-size: 1.3rem; font-weight: bold;'>{energy_reduction:.1f}%</div>
1406
+ <div style='color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 0.5rem;'>
1407
+ {len(df_pareto)} Pareto configs
1408
+ </div>
1409
+ </div>
1410
+ """, unsafe_allow_html=True)
1411
+
1412
+ else:
1413
+ st.info("HydraGNN energy-accuracy data: 320 configurations tested showing 50% energy reduction while maintaining scientific accuracy")
1414
+
1415
+ st.markdown("<br>", unsafe_allow_html=True)
1416
+
1417
+ # Technical Deep Dive
1418
+ st.markdown("#### Technical Implementation", unsafe_allow_html=True)
1419
+
1420
+ with st.container():
1421
  st.markdown("""
1422
+ <div style='background: rgba(255, 255, 255, 0.02); padding: 1.5rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1);'>
1423
+ <p style='color: rgba(255,255,255,0.9); margin-bottom: 1rem; line-height: 1.7;'>
1424
+ <strong style='color: #10B981;'>HydraGNN Framework:</strong><br/>
1425
+ HydraGNN is a pioneering framework for <strong>atomistic materials modeling</strong> using graph neural
1426
+ networks. It represents molecules and materials as graphs (atoms = nodes, bonds = edges), enabling AI
1427
+ to learn structure-property relationships. However, scaling to diverse datasets while maintaining
1428
+ trustworthiness and energy efficiency requires careful optimization.
 
1429
  </p>
1430
+ <p style='color: rgba(255,255,255,0.9); margin-bottom: 1rem; line-height: 1.7;'>
1431
+ <strong style='color: #10B981;'>Bi-Objective Optimization:</strong><br/>
1432
+ The optimization framework simultaneously optimizes for:<br/>
1433
+ • <strong>Predictive Reliability</strong>: Accuracy on downstream materials science tasks (e.g., predicting band gaps, formation energies)<br/>
1434
+ • <strong>Energy Efficiency</strong>: Power consumption during training (measured in kWh/epoch)<br/><br/>
1435
+ By treating energy as a first-class optimization objective, the system discovered configurations that
1436
+ achieve <strong>50% energy reduction</strong> without compromising scientific fidelity—proving that
1437
+ sustainability and performance are not mutually exclusive.
1438
+ </p>
1439
+ <p style='color: rgba(255,255,255,0.9); line-height: 1.7;'>
1440
+ <strong style='color: #10B981;'>Exascale Scaling on Frontier:</strong><br/>
1441
+ Leveraging Frontier's AMD MI250X GPUs and high-bandwidth interconnects, the optimization scaled HydraGNN
1442
+ to handle massive distributed computations across diverse molecular datasets. The optimized
1443
+ configuration maintained high trustworthiness (validated against experimental data) while minimizing
1444
+ power consumption—advancing the field toward <strong>AI-assisted materials design</strong>.
1445
  </p>
1446
  </div>
1447
  """, unsafe_allow_html=True)
1448
 
 
1449
  st.markdown("<br>", unsafe_allow_html=True)
 
1450
 
1451
+ # ROI Analysis
1452
  st.markdown("""
1453
  <div style='background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
1454
  padding: 2rem; border-radius: 12px; border-left: 4px solid #10B981;'>
 
1456
  <div style='display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;'>
1457
  <div>
1458
  <p style='color: rgba(255,255,255,0.8); line-height: 1.8;'>
1459
+ <strong style='color: #10B981;'>Energy Cost Savings:</strong> 50% power reduction translates to
1460
+ $450K-$1.1M annual savings for exascale training workloads (at $0.10-$0.25/kWh)<br/>
1461
+ <strong style='color: #10B981;'>Scientific Credibility:</strong> Published in <em>The Journal of
1462
+ Supercomputing</em> (2025)—peer-reviewed validation of trustworthy AI
1463
  </p>
1464
  </div>
1465
  <div>
1466
  <p style='color: rgba(255,255,255,0.8); line-height: 1.8;'>
1467
+ <strong style='color: #10B981;'>Sustainability Leadership:</strong> Energy-aware optimization
1468
+ establishes new standard for responsible AI in science<br/>
1469
+ <strong style='color: #10B981;'>8× Faster Optimization:</strong> 18 hours automated tuning vs
1470
+ 2 weeks manual trial-and-error for bi-objective optimization
1471
  </p>
1472
  </div>
1473
  </div>
 
1485
  <div style='text-align: center; margin-bottom: 2rem;'>
1486
  <h2 style='color: #6366F1; font-size: 2rem; margin-bottom: 0.5rem;'>Platform Coverage Overview</h2>
1487
  <p style='color: rgba(255,255,255,0.8); font-size: 1.1rem;'>
1488
+ PrimaLabs accelerates optimization across NVIDIA and AMD platforms—from cloud to exascale
1489
  </p>
1490
  </div>
1491
  """, unsafe_allow_html=True)
1492
 
1493
  comparison_data = {
1494
+ 'Use Case': ['Tau Benchmark', 'Qwen3-8B Pruning', 'Frontier 1T-GPT', 'HydraGNN Graph AI'],
1495
+ 'Domain': ['LLM Hyperparameter Tuning', 'LLM Compression', 'Exascale LLM Training', 'Scientific Graph AI'],
1496
+ 'GPU Platform': ['NVIDIA Multi-GPU', 'NVIDIA NeMo 2.0 + TensorRT', 'AMD MI250X (3,072 GPUs)', 'AMD MI250X (Frontier)'],
1497
+ 'Configurations': ['330', '142', '480', '320'],
1498
+ 'Time to Results': ['16 hours', 'Days', '16 hours', '18 hours'],
1499
+ 'Speed vs Manual': ['10×', '5-10×', '10×', '8×'],
1500
+ 'Key Outcome': ['+128% accuracy', '50% compression', '87% scaling, 1T params, first non-NVIDIA', '50% energy reduction, peer-reviewed']
1501
  }
1502
 
1503
  df_comparison = pd.DataFrame(comparison_data)
 
1511
  <div style='background: rgba(99, 102, 241, 0.1); padding: 1.5rem; border-radius: 10px; border: 2px solid #6366F1;'>
1512
  <h4 style='color: #6366F1; text-align: center; margin-bottom: 1rem;'>Cloud to Edge</h4>
1513
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6; text-align: center;'>
1514
+ From multi-GPU datacenter serving to Jetson edge deployment
1515
  </p>
1516
  </div>
1517
  """, unsafe_allow_html=True)
 
1519
  with col2:
1520
  st.markdown("""
1521
  <div style='background: rgba(16, 185, 129, 0.1); padding: 1.5rem; border-radius: 10px; border: 2px solid #10B981;'>
1522
+ <h4 style='color: #10B981; text-align: center; margin-bottom: 1rem;'>Full AI Model Lifecycle</h4>
1523
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6; text-align: center;'>
1524
+ Hyperparameter tuning, model compression, serving optimization, edge deployment
1525
  </p>
1526
  </div>
1527
  """, unsafe_allow_html=True)
 
1531
  <div style='background: rgba(245, 158, 11, 0.1); padding: 1.5rem; border-radius: 10px; border: 2px solid #F59E0B;'>
1532
  <h4 style='color: #F59E0B; text-align: center; margin-bottom: 1rem;'>Consistent ROI</h4>
1533
  <p style='color: rgba(255,255,255,0.8); line-height: 1.6; text-align: center;'>
1534
+ 8-12× faster optimization across all deployment scenarios
1535
  </p>
1536
  </div>
1537
  """, unsafe_allow_html=True)
 
1544
  st.markdown("<br>", unsafe_allow_html=True)
1545
 
1546
  st.markdown("""
1547
+ <div style='background: linear-gradient(135deg, rgba(118, 185, 0, 0.2) 0%, rgba(239, 68, 68, 0.2) 100%);
1548
  padding: 3rem 2rem 2rem 2rem; border-radius: 12px; text-align: center; border: 2px solid #76B900;'>
1549
  <h2 style='color: #76B900; font-size: 2.2rem; margin-bottom: 1rem;'>
1550
+ Ready to Optimize Your AI Models for Your Infrastructure and Your Application?
1551
  </h2>
1552
+ <p style='color: rgba(255,255,255,0.9); font-size: 1.2rem; max-width: 850px; margin: 0 auto 1rem auto; line-height: 1.8;'>
1553
+ PrimaLabs is production-ready and validated across <strong>NVIDIA and AMD platforms</strong>—from cloud GPUs
1554
+ to exascale supercomputers. Let's discuss how we can help you achieve <strong>10-20× faster</strong> LLM
1555
+ optimization and maximize ROI on your GPU infrastructure.
1556
  </p>
1557
  </div>
1558
  """, unsafe_allow_html=True)