Spaces:
Running
Running
Add 3 files
Browse files- README.md +7 -5
- index.html +571 -19
- prompts.txt +1 -0
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: static
|
7 |
pinned: false
|
|
|
|
|
8 |
---
|
9 |
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: haiplatfrom
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: pink
|
5 |
+
colorTo: blue
|
6 |
sdk: static
|
7 |
pinned: false
|
8 |
+
tags:
|
9 |
+
- deepsite
|
10 |
---
|
11 |
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
@@ -1,19 +1,571 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Hai-Platform | Task-Level GPU Time-Sharing for Deep Learning</title>
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
9 |
+
<script>
|
10 |
+
tailwind.config = {
|
11 |
+
theme: {
|
12 |
+
extend: {
|
13 |
+
colors: {
|
14 |
+
primary: '#4F46E5',
|
15 |
+
secondary: '#10B981',
|
16 |
+
dark: '#1F2937',
|
17 |
+
light: '#F9FAFB',
|
18 |
+
},
|
19 |
+
fontFamily: {
|
20 |
+
sans: ['Inter', 'sans-serif'],
|
21 |
+
},
|
22 |
+
}
|
23 |
+
}
|
24 |
+
}
|
25 |
+
</script>
|
26 |
+
<style>
|
27 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
28 |
+
|
29 |
+
body {
|
30 |
+
font-family: 'Inter', sans-serif;
|
31 |
+
}
|
32 |
+
|
33 |
+
.gradient-bg {
|
34 |
+
background: linear-gradient(135deg, #4F46E5 0%, #10B981 100%);
|
35 |
+
}
|
36 |
+
|
37 |
+
.card-hover:hover {
|
38 |
+
transform: translateY(-5px);
|
39 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
40 |
+
}
|
41 |
+
|
42 |
+
.gpu-card {
|
43 |
+
transition: all 0.3s ease;
|
44 |
+
}
|
45 |
+
|
46 |
+
.dashboard-grid {
|
47 |
+
display: grid;
|
48 |
+
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
49 |
+
gap: 1.5rem;
|
50 |
+
}
|
51 |
+
|
52 |
+
@media (max-width: 768px) {
|
53 |
+
.dashboard-grid {
|
54 |
+
grid-template-columns: 1fr;
|
55 |
+
}
|
56 |
+
}
|
57 |
+
</style>
|
58 |
+
</head>
|
59 |
+
<body class="bg-gray-50">
|
60 |
+
<!-- Navigation -->
|
61 |
+
<nav class="bg-white shadow-sm">
|
62 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
63 |
+
<div class="flex justify-between h-16">
|
64 |
+
<div class="flex items-center">
|
65 |
+
<div class="flex-shrink-0 flex items-center">
|
66 |
+
<i class="fas fa-brain text-primary text-2xl mr-2"></i>
|
67 |
+
<span class="text-xl font-bold text-dark">Hai-Platform</span>
|
68 |
+
</div>
|
69 |
+
<div class="hidden sm:ml-6 sm:flex sm:space-x-8">
|
70 |
+
<a href="#" class="border-primary text-dark inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Dashboard</a>
|
71 |
+
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Jobs</a>
|
72 |
+
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">GPUs</a>
|
73 |
+
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Analytics</a>
|
74 |
+
</div>
|
75 |
+
</div>
|
76 |
+
<div class="hidden sm:ml-6 sm:flex sm:items-center">
|
77 |
+
<button class="bg-primary hover:bg-indigo-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center">
|
78 |
+
<i class="fas fa-plus mr-2"></i> New Job
|
79 |
+
</button>
|
80 |
+
<div class="ml-3 relative">
|
81 |
+
<div>
|
82 |
+
<button type="button" class="bg-gray-100 rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary" id="user-menu-button" aria-expanded="false" aria-haspopup="true">
|
83 |
+
<span class="sr-only">Open user menu</span>
|
84 |
+
<img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
|
85 |
+
</button>
|
86 |
+
</div>
|
87 |
+
</div>
|
88 |
+
</div>
|
89 |
+
<div class="-mr-2 flex items-center sm:hidden">
|
90 |
+
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-primary">
|
91 |
+
<span class="sr-only">Open main menu</span>
|
92 |
+
<i class="fas fa-bars"></i>
|
93 |
+
</button>
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
</div>
|
97 |
+
</nav>
|
98 |
+
|
99 |
+
<!-- Hero Section -->
|
100 |
+
<div class="gradient-bg text-white">
|
101 |
+
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
|
102 |
+
<div class="lg:grid lg:grid-cols-2 lg:gap-8 items-center">
|
103 |
+
<div class="mb-8 lg:mb-0">
|
104 |
+
<h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl mb-4">
|
105 |
+
High-Performance Deep Learning Training
|
106 |
+
</h1>
|
107 |
+
<p class="text-xl text-indigo-100 max-w-3xl">
|
108 |
+
Hai-Platform provides task-level GPU time-sharing scheduling for optimal resource utilization and faster model training.
|
109 |
+
</p>
|
110 |
+
<div class="mt-8 flex flex-col sm:flex-row gap-4">
|
111 |
+
<button class="bg-white text-primary px-6 py-3 rounded-md text-lg font-semibold hover:bg-gray-100 transition duration-300 flex items-center justify-center">
|
112 |
+
<i class="fas fa-play-circle mr-2"></i> Start Training
|
113 |
+
</button>
|
114 |
+
<button class="bg-transparent border-2 border-white text-white px-6 py-3 rounded-md text-lg font-semibold hover:bg-white hover:text-primary transition duration-300 flex items-center justify-center">
|
115 |
+
<i class="fas fa-book mr-2"></i> Documentation
|
116 |
+
</button>
|
117 |
+
</div>
|
118 |
+
</div>
|
119 |
+
<div class="relative">
|
120 |
+
<div class="relative w-full h-64 lg:h-96 bg-white/10 rounded-xl overflow-hidden backdrop-blur-sm">
|
121 |
+
<div class="absolute inset-0 flex items-center justify-center">
|
122 |
+
<div class="w-3/4 h-3/4 bg-white/20 rounded-lg flex items-center justify-center">
|
123 |
+
<i class="fas fa-microchip text-6xl text-white"></i>
|
124 |
+
</div>
|
125 |
+
</div>
|
126 |
+
<div class="absolute bottom-0 left-0 right-0 bg-black/30 p-4">
|
127 |
+
<div class="flex justify-between items-center">
|
128 |
+
<div>
|
129 |
+
<p class="text-sm font-medium">Current GPU Utilization</p>
|
130 |
+
<p class="text-2xl font-bold">87%</p>
|
131 |
+
</div>
|
132 |
+
<div class="w-1/2 bg-gray-200 rounded-full h-2.5">
|
133 |
+
<div class="bg-green-400 h-2.5 rounded-full" style="width: 87%"></div>
|
134 |
+
</div>
|
135 |
+
</div>
|
136 |
+
</div>
|
137 |
+
</div>
|
138 |
+
</div>
|
139 |
+
</div>
|
140 |
+
</div>
|
141 |
+
</div>
|
142 |
+
|
143 |
+
<!-- Features Section -->
|
144 |
+
<div class="py-12 bg-white">
|
145 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
146 |
+
<div class="text-center mb-12">
|
147 |
+
<h2 class="text-3xl font-extrabold text-dark sm:text-4xl">
|
148 |
+
Advanced GPU Time-Sharing Technology
|
149 |
+
</h2>
|
150 |
+
<p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto">
|
151 |
+
Optimize your deep learning workflows with our innovative scheduling system
|
152 |
+
</p>
|
153 |
+
</div>
|
154 |
+
|
155 |
+
<div class="grid grid-cols-1 gap-8 md:grid-cols-3">
|
156 |
+
<div class="bg-light rounded-xl p-6 shadow-sm hover:shadow-md transition duration-300">
|
157 |
+
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-primary text-white mb-4">
|
158 |
+
<i class="fas fa-clock text-xl"></i>
|
159 |
+
</div>
|
160 |
+
<h3 class="text-lg font-medium text-dark mb-2">Task-Level Scheduling</h3>
|
161 |
+
<p class="text-gray-500">
|
162 |
+
Precise GPU time allocation at the task level for maximum efficiency and minimal idle time.
|
163 |
+
</p>
|
164 |
+
</div>
|
165 |
+
|
166 |
+
<div class="bg-light rounded-xl p-6 shadow-sm hover:shadow-md transition duration-300">
|
167 |
+
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-secondary text-white mb-4">
|
168 |
+
<i class="fas fa-bolt text-xl"></i>
|
169 |
+
</div>
|
170 |
+
<h3 class="text-lg font-medium text-dark mb-2">High Utilization</h3>
|
171 |
+
<p class="text-gray-500">
|
172 |
+
Achieve up to 95% GPU utilization with our intelligent resource allocation algorithms.
|
173 |
+
</p>
|
174 |
+
</div>
|
175 |
+
|
176 |
+
<div class="bg-light rounded-xl p-6 shadow-sm hover:shadow-md transition duration-300">
|
177 |
+
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-500 text-white mb-4">
|
178 |
+
<i class="fas fa-project-diagram text-xl"></i>
|
179 |
+
</div>
|
180 |
+
<h3 class="text-lg font-medium text-dark mb-2">Multi-Tenancy</h3>
|
181 |
+
<p class="text-gray-500">
|
182 |
+
Run multiple training jobs simultaneously on the same GPU cluster without interference.
|
183 |
+
</p>
|
184 |
+
</div>
|
185 |
+
</div>
|
186 |
+
</div>
|
187 |
+
</div>
|
188 |
+
|
189 |
+
<!-- GPU Cluster Dashboard -->
|
190 |
+
<div class="py-12 bg-gray-50">
|
191 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
192 |
+
<div class="flex justify-between items-center mb-8">
|
193 |
+
<h2 class="text-2xl font-bold text-dark">GPU Cluster Dashboard</h2>
|
194 |
+
<div class="flex items-center space-x-2">
|
195 |
+
<span class="text-sm text-gray-500">Auto-refresh</span>
|
196 |
+
<label class="relative inline-flex items-center cursor-pointer">
|
197 |
+
<input type="checkbox" value="" class="sr-only peer" checked>
|
198 |
+
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-primary/50 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary"></div>
|
199 |
+
</label>
|
200 |
+
</div>
|
201 |
+
</div>
|
202 |
+
|
203 |
+
<div class="dashboard-grid">
|
204 |
+
<!-- GPU Node 1 -->
|
205 |
+
<div class="gpu-card bg-white rounded-lg shadow-sm p-6 card-hover">
|
206 |
+
<div class="flex justify-between items-start mb-4">
|
207 |
+
<div>
|
208 |
+
<h3 class="font-bold text-lg text-dark">Node-1</h3>
|
209 |
+
<p class="text-sm text-gray-500">NVIDIA A100 80GB</p>
|
210 |
+
</div>
|
211 |
+
<span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded-full">Active</span>
|
212 |
+
</div>
|
213 |
+
|
214 |
+
<div class="space-y-4">
|
215 |
+
<div>
|
216 |
+
<div class="flex justify-between text-sm mb-1">
|
217 |
+
<span>GPU Utilization</span>
|
218 |
+
<span>78%</span>
|
219 |
+
</div>
|
220 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
221 |
+
<div class="bg-primary h-2 rounded-full" style="width: 78%"></div>
|
222 |
+
</div>
|
223 |
+
</div>
|
224 |
+
|
225 |
+
<div>
|
226 |
+
<div class="flex justify-between text-sm mb-1">
|
227 |
+
<span>Memory Usage</span>
|
228 |
+
<span>64GB / 80GB</span>
|
229 |
+
</div>
|
230 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
231 |
+
<div class="bg-purple-500 h-2 rounded-full" style="width: 80%"></div>
|
232 |
+
</div>
|
233 |
+
</div>
|
234 |
+
|
235 |
+
<div class="pt-2">
|
236 |
+
<p class="text-sm font-medium text-gray-700 mb-2">Running Jobs:</p>
|
237 |
+
<div class="space-y-2">
|
238 |
+
<div class="flex items-center">
|
239 |
+
<div class="w-2 h-2 rounded-full bg-secondary mr-2"></div>
|
240 |
+
<span class="text-sm">ResNet-50 Training</span>
|
241 |
+
</div>
|
242 |
+
<div class="flex items-center">
|
243 |
+
<div class="w-2 h-2 rounded-full bg-yellow-500 mr-2"></div>
|
244 |
+
<span class="text-sm">BERT Fine-tuning</span>
|
245 |
+
</div>
|
246 |
+
</div>
|
247 |
+
</div>
|
248 |
+
</div>
|
249 |
+
</div>
|
250 |
+
|
251 |
+
<!-- GPU Node 2 -->
|
252 |
+
<div class="gpu-card bg-white rounded-lg shadow-sm p-6 card-hover">
|
253 |
+
<div class="flex justify-between items-start mb-4">
|
254 |
+
<div>
|
255 |
+
<h3 class="font-bold text-lg text-dark">Node-2</h3>
|
256 |
+
<p class="text-sm text-gray-500">NVIDIA V100 32GB</p>
|
257 |
+
</div>
|
258 |
+
<span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded-full">Active</span>
|
259 |
+
</div>
|
260 |
+
|
261 |
+
<div class="space-y-4">
|
262 |
+
<div>
|
263 |
+
<div class="flex justify-between text-sm mb-1">
|
264 |
+
<span>GPU Utilization</span>
|
265 |
+
<span>92%</span>
|
266 |
+
</div>
|
267 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
268 |
+
<div class="bg-primary h-2 rounded-full" style="width: 92%"></div>
|
269 |
+
</div>
|
270 |
+
</div>
|
271 |
+
|
272 |
+
<div>
|
273 |
+
<div class="flex justify-between text-sm mb-1">
|
274 |
+
<span>Memory Usage</span>
|
275 |
+
<span>28GB / 32GB</span>
|
276 |
+
</div>
|
277 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
278 |
+
<div class="bg-purple-500 h-2 rounded-full" style="width: 87.5%"></div>
|
279 |
+
</div>
|
280 |
+
</div>
|
281 |
+
|
282 |
+
<div class="pt-2">
|
283 |
+
<p class="text-sm font-medium text-gray-700 mb-2">Running Jobs:</p>
|
284 |
+
<div class="space-y-2">
|
285 |
+
<div class="flex items-center">
|
286 |
+
<div class="w-2 h-2 rounded-full bg-blue-500 mr-2"></div>
|
287 |
+
<span class="text-sm">YOLOv5 Object Detection</span>
|
288 |
+
</div>
|
289 |
+
<div class="flex items-center">
|
290 |
+
<div class="w-2 h-2 rounded-full bg-pink-500 mr-2"></div>
|
291 |
+
<span class="text-sm">GAN Training</span>
|
292 |
+
</div>
|
293 |
+
</div>
|
294 |
+
</div>
|
295 |
+
</div>
|
296 |
+
</div>
|
297 |
+
|
298 |
+
<!-- GPU Node 3 -->
|
299 |
+
<div class="gpu-card bg-white rounded-lg shadow-sm p-6 card-hover">
|
300 |
+
<div class="flex justify-between items-start mb-4">
|
301 |
+
<div>
|
302 |
+
<h3 class="font-bold text-lg text-dark">Node-3</h3>
|
303 |
+
<p class="text-sm text-gray-500">NVIDIA A40 48GB</p>
|
304 |
+
</div>
|
305 |
+
<span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2.5 py-0.5 rounded-full">Pending</span>
|
306 |
+
</div>
|
307 |
+
|
308 |
+
<div class="space-y-4">
|
309 |
+
<div>
|
310 |
+
<div class="flex justify-between text-sm mb-1">
|
311 |
+
<span>GPU Utilization</span>
|
312 |
+
<span>15%</span>
|
313 |
+
</div>
|
314 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
315 |
+
<div class="bg-primary h-2 rounded-full" style="width: 15%"></div>
|
316 |
+
</div>
|
317 |
+
</div>
|
318 |
+
|
319 |
+
<div>
|
320 |
+
<div class="flex justify-between text-sm mb-1">
|
321 |
+
<span>Memory Usage</span>
|
322 |
+
<span>8GB / 48GB</span>
|
323 |
+
</div>
|
324 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
325 |
+
<div class="bg-purple-500 h-2 rounded-full" style="width: 16.6%"></div>
|
326 |
+
</div>
|
327 |
+
</div>
|
328 |
+
|
329 |
+
<div class="pt-2">
|
330 |
+
<p class="text-sm font-medium text-gray-700 mb-2">Queued Jobs:</p>
|
331 |
+
<div class="space-y-2">
|
332 |
+
<div class="flex items-center">
|
333 |
+
<div class="w-2 h-2 rounded-full bg-gray-400 mr-2"></div>
|
334 |
+
<span class="text-sm">Transformer Pre-training</span>
|
335 |
+
</div>
|
336 |
+
</div>
|
337 |
+
</div>
|
338 |
+
</div>
|
339 |
+
</div>
|
340 |
+
</div>
|
341 |
+
</div>
|
342 |
+
</div>
|
343 |
+
|
344 |
+
<!-- Job Submission Form -->
|
345 |
+
<div class="py-12 bg-white">
|
346 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
347 |
+
<div class="lg:grid lg:grid-cols-2 lg:gap-12 items-center">
|
348 |
+
<div class="mb-8 lg:mb-0">
|
349 |
+
<h2 class="text-3xl font-bold text-dark mb-4">Submit New Training Job</h2>
|
350 |
+
<p class="text-lg text-gray-600 mb-6">
|
351 |
+
Configure your deep learning training job with our advanced scheduling options to maximize GPU utilization.
|
352 |
+
</p>
|
353 |
+
<div class="bg-light p-6 rounded-lg border border-gray-200">
|
354 |
+
<h3 class="font-medium text-dark mb-3">Time-Sharing Benefits</h3>
|
355 |
+
<ul class="space-y-2 text-gray-600">
|
356 |
+
<li class="flex items-start">
|
357 |
+
<i class="fas fa-check-circle text-secondary mt-1 mr-2"></i>
|
358 |
+
<span>Reduced training time through optimized GPU sharing</span>
|
359 |
+
</li>
|
360 |
+
<li class="flex items-start">
|
361 |
+
<i class="fas fa-check-circle text-secondary mt-1 mr-2"></i>
|
362 |
+
<span>Lower costs with efficient resource allocation</span>
|
363 |
+
</li>
|
364 |
+
<li class="flex items-start">
|
365 |
+
<i class="fas fa-check-circle text-secondary mt-1 mr-2"></i>
|
366 |
+
<span>Priority scheduling for critical jobs</span>
|
367 |
+
</li>
|
368 |
+
</ul>
|
369 |
+
</div>
|
370 |
+
</div>
|
371 |
+
|
372 |
+
<div class="bg-light rounded-xl p-8 shadow-sm">
|
373 |
+
<form>
|
374 |
+
<div class="space-y-6">
|
375 |
+
<div>
|
376 |
+
<label for="model" class="block text-sm font-medium text-gray-700 mb-1">Model Architecture</label>
|
377 |
+
<select id="model" name="model" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-primary focus:border-primary sm:text-sm rounded-md">
|
378 |
+
<option>ResNet-50</option>
|
379 |
+
<option>BERT</option>
|
380 |
+
<option>GPT-3</option>
|
381 |
+
<option>YOLOv5</option>
|
382 |
+
<option>Custom...</option>
|
383 |
+
</select>
|
384 |
+
</div>
|
385 |
+
|
386 |
+
<div>
|
387 |
+
<label for="dataset" class="block text-sm font-medium text-gray-700 mb-1">Dataset</label>
|
388 |
+
<select id="dataset" name="dataset" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-primary focus:border-primary sm:text-sm rounded-md">
|
389 |
+
<option>ImageNet</option>
|
390 |
+
<option>COCO</option>
|
391 |
+
<option>Wikipedia</option>
|
392 |
+
<option>Custom Dataset</option>
|
393 |
+
</select>
|
394 |
+
</div>
|
395 |
+
|
396 |
+
<div>
|
397 |
+
<label for="gpu-type" class="block text-sm font-medium text-gray-700 mb-1">GPU Preference</label>
|
398 |
+
<select id="gpu-type" name="gpu-type" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-primary focus:border-primary sm:text-sm rounded-md">
|
399 |
+
<option>Any Available</option>
|
400 |
+
<option>A100 (Priority)</option>
|
401 |
+
<option>V100 (Balanced)</option>
|
402 |
+
<option>T4 (Economy)</option>
|
403 |
+
</select>
|
404 |
+
</div>
|
405 |
+
|
406 |
+
<div>
|
407 |
+
<label for="time-slice" class="block text-sm font-medium text-gray-700 mb-1">Time Slice Duration</label>
|
408 |
+
<div class="mt-1 flex rounded-md shadow-sm">
|
409 |
+
<input type="number" name="time-slice" id="time-slice" class="focus:ring-primary focus:border-primary flex-1 block w-full rounded-none rounded-l-md sm:text-sm border-gray-300" placeholder="30" value="30">
|
410 |
+
<span class="inline-flex items-center px-3 rounded-r-md border border-l-0 border-gray-300 bg-gray-50 text-gray-500 sm:text-sm">minutes</span>
|
411 |
+
</div>
|
412 |
+
<p class="mt-1 text-xs text-gray-500">Recommended: 30-60 minutes for optimal scheduling</p>
|
413 |
+
</div>
|
414 |
+
|
415 |
+
<div class="flex items-center">
|
416 |
+
<input id="priority" name="priority" type="checkbox" class="h-4 w-4 text-primary focus:ring-primary border-gray-300 rounded">
|
417 |
+
<label for="priority" class="ml-2 block text-sm text-gray-700">High Priority Job</label>
|
418 |
+
</div>
|
419 |
+
|
420 |
+
<div>
|
421 |
+
<button type="submit" class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-primary hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary">
|
422 |
+
Submit Training Job
|
423 |
+
</button>
|
424 |
+
</div>
|
425 |
+
</div>
|
426 |
+
</form>
|
427 |
+
</div>
|
428 |
+
</div>
|
429 |
+
</div>
|
430 |
+
</div>
|
431 |
+
|
432 |
+
<!-- Performance Metrics -->
|
433 |
+
<div class="py-12 bg-gray-50">
|
434 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
435 |
+
<h2 class="text-2xl font-bold text-dark mb-8">Cluster Performance Metrics</h2>
|
436 |
+
|
437 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
438 |
+
<div class="bg-white p-6 rounded-lg shadow-sm">
|
439 |
+
<div class="flex justify-between items-center mb-4">
|
440 |
+
<h3 class="font-medium text-lg text-dark">GPU Utilization Over Time</h3>
|
441 |
+
<select class="bg-gray-50 border border-gray-300 text-gray-700 py-1 px-3 pr-8 rounded-md focus:outline-none focus:ring-1 focus:ring-primary text-sm">
|
442 |
+
<option>Last 24 Hours</option>
|
443 |
+
<option>Last 7 Days</option>
|
444 |
+
<option>Last 30 Days</option>
|
445 |
+
</select>
|
446 |
+
</div>
|
447 |
+
<div class="h-64 bg-gray-50 rounded-md flex items-center justify-center">
|
448 |
+
<div class="text-center">
|
449 |
+
<i class="fas fa-chart-line text-4xl text-gray-300 mb-2"></i>
|
450 |
+
<p class="text-gray-500">GPU Utilization Chart</p>
|
451 |
+
</div>
|
452 |
+
</div>
|
453 |
+
</div>
|
454 |
+
|
455 |
+
<div class="bg-white p-6 rounded-lg shadow-sm">
|
456 |
+
<div class="flex justify-between items-center mb-4">
|
457 |
+
<h3 class="font-medium text-lg text-dark">Job Completion Times</h3>
|
458 |
+
<select class="bg-gray-50 border border-gray-300 text-gray-700 py-1 px-3 pr-8 rounded-md focus:outline-none focus:ring-1 focus:ring-primary text-sm">
|
459 |
+
<option>By Model Type</option>
|
460 |
+
<option>By GPU Type</option>
|
461 |
+
<option>By Priority</option>
|
462 |
+
</select>
|
463 |
+
</div>
|
464 |
+
<div class="h-64 bg-gray-50 rounded-md flex items-center justify-center">
|
465 |
+
<div class="text-center">
|
466 |
+
<i class="fas fa-chart-bar text-4xl text-gray-300 mb-2"></i>
|
467 |
+
<p class="text-gray-500">Job Performance Chart</p>
|
468 |
+
</div>
|
469 |
+
</div>
|
470 |
+
</div>
|
471 |
+
</div>
|
472 |
+
</div>
|
473 |
+
</div>
|
474 |
+
|
475 |
+
<!-- Footer -->
|
476 |
+
<footer class="bg-dark text-white">
|
477 |
+
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
|
478 |
+
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
|
479 |
+
<div>
|
480 |
+
<h3 class="text-sm font-semibold uppercase tracking-wider">Hai-Platform</h3>
|
481 |
+
<p class="mt-4 text-sm text-gray-300">
|
482 |
+
Advanced task-level GPU time-sharing for high-performance deep learning training.
|
483 |
+
</p>
|
484 |
+
</div>
|
485 |
+
|
486 |
+
<div>
|
487 |
+
<h3 class="text-sm font-semibold uppercase tracking-wider">Product</h3>
|
488 |
+
<ul class="mt-4 space-y-2">
|
489 |
+
<li><a href="#" class="text-sm text-gray-300 hover:text-white">Features</a></li>
|
490 |
+
<li><a href="#" class="text-sm text-gray-300 hover:text-white">Pricing</a></li>
|
491 |
+
<li><a href="#" class="text-sm text-gray-300 hover:text-white">Documentation</a></li>
|
492 |
+
<li><a href="#" class="text-sm text-gray-300 hover:text-white">API</a></li>
|
493 |
+
</ul>
|
494 |
+
</div>
|
495 |
+
|
496 |
+
<div>
|
497 |
+
<h3 class="text-sm font-semibold uppercase tracking-wider">Resources</h3>
|
498 |
+
<ul class="mt-4 space-y-2">
|
499 |
+
<li><a href="#" class="text-sm text-gray-300 hover:text-white">Blog</a></li>
|
500 |
+
<li><a href="#" class="text-sm text-gray-300 hover:text-white">Case Studies</a></li>
|
501 |
+
<li><a href="#" class="text-sm text-gray-300 hover:text-white">Research</a></li>
|
502 |
+
<li><a href="#" class="text-sm text-gray-300 hover:text-white">Community</a></li>
|
503 |
+
</ul>
|
504 |
+
</div>
|
505 |
+
|
506 |
+
<div>
|
507 |
+
<h3 class="text-sm font-semibold uppercase tracking-wider">Company</h3>
|
508 |
+
<ul class="mt-4 space-y-2">
|
509 |
+
<li><a href="#" class="text-sm text-gray-300 hover:text-white">About</a></li>
|
510 |
+
<li><a href="#" class="text-sm text-gray-300 hover:text-white">Careers</a></li>
|
511 |
+
<li><a href="#" class="text-sm text-gray-300 hover:text-white">Contact</a></li>
|
512 |
+
<li><a href="#" class="text-sm text-gray-300 hover:text-white">Legal</a></li>
|
513 |
+
</ul>
|
514 |
+
</div>
|
515 |
+
</div>
|
516 |
+
|
517 |
+
<div class="mt-12 border-t border-gray-700 pt-8 flex flex-col md:flex-row justify-between items-center">
|
518 |
+
<p class="text-sm text-gray-400">
|
519 |
+
© 2023 Hai-Platform. All rights reserved.
|
520 |
+
</p>
|
521 |
+
<div class="mt-4 md:mt-0 flex space-x-6">
|
522 |
+
<a href="#" class="text-gray-400 hover:text-white">
|
523 |
+
<i class="fab fa-twitter"></i>
|
524 |
+
</a>
|
525 |
+
<a href="#" class="text-gray-400 hover:text-white">
|
526 |
+
<i class="fab fa-github"></i>
|
527 |
+
</a>
|
528 |
+
<a href="#" class="text-gray-400 hover:text-white">
|
529 |
+
<i class="fab fa-linkedin"></i>
|
530 |
+
</a>
|
531 |
+
<a href="#" class="text-gray-400 hover:text-white">
|
532 |
+
<i class="fab fa-youtube"></i>
|
533 |
+
</a>
|
534 |
+
</div>
|
535 |
+
</div>
|
536 |
+
</div>
|
537 |
+
</footer>
|
538 |
+
|
539 |
+
<script>
|
540 |
+
// Simple interactive elements
|
541 |
+
document.addEventListener('DOMContentLoaded', function() {
|
542 |
+
// GPU card hover effect
|
543 |
+
const gpuCards = document.querySelectorAll('.gpu-card');
|
544 |
+
gpuCards.forEach(card => {
|
545 |
+
card.addEventListener('mouseenter', function() {
|
546 |
+
this.style.transform = 'translateY(-5px)';
|
547 |
+
this.style.boxShadow = '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)';
|
548 |
+
});
|
549 |
+
card.addEventListener('mouseleave', function() {
|
550 |
+
this.style.transform = '';
|
551 |
+
this.style.boxShadow = '';
|
552 |
+
});
|
553 |
+
});
|
554 |
+
|
555 |
+
// Job submission form validation
|
556 |
+
const jobForm = document.querySelector('form');
|
557 |
+
if (jobForm) {
|
558 |
+
jobForm.addEventListener('submit', function(e) {
|
559 |
+
e.preventDefault();
|
560 |
+
const timeSlice = document.getElementById('time-slice').value;
|
561 |
+
if (timeSlice < 10 || timeSlice > 120) {
|
562 |
+
alert('Please enter a time slice between 10 and 120 minutes');
|
563 |
+
return;
|
564 |
+
}
|
565 |
+
alert('Job submitted successfully! Our scheduler will optimize your training.');
|
566 |
+
});
|
567 |
+
}
|
568 |
+
});
|
569 |
+
</script>
|
570 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=tongxiaojun/haiplatfrom" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
571 |
+
</html>
|
prompts.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
OpenDeepInfra , Hai-Platform 一种任务级GPU算力分时调度的高性能深度学习训练平台。
|