Skip to content

Commit 5beb680

Browse files
committed
target rounding
1 parent ce7f7e3 commit 5beb680

File tree

12 files changed

+58
-58
lines changed

12 files changed

+58
-58
lines changed

algorithmic_efficiency/workloads/criteo1tb/criteo1tb_jax/workload.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def use_layer_norm(self) -> bool:
173173

174174
@property
175175
def validation_target_value(self) -> float:
176-
return 0.1237562372
176+
return 0.123757
177177

178178
@property
179179
def test_target_value(self) -> float:
@@ -191,23 +191,23 @@ def use_resnet(self) -> bool:
191191

192192
@property
193193
def validation_target_value(self) -> float:
194-
return 0.1241490923
194+
return 0.12415
195195

196196
@property
197197
def test_target_value(self) -> float:
198-
return 0.1264799502
198+
return 0.12648
199199

200200

201201
class Criteo1TbDlrmSmallEmbedInitWorkload(Criteo1TbDlrmSmallWorkload):
202202

203203
@property
204204
def validation_target_value(self) -> float:
205-
return 0.129656005
205+
return 0.129657
206206

207207
@property
208208
def test_target_value(self) -> float:
209209
# Todo
210-
return 0.1319666458
210+
return 0.131967
211211

212212
@property
213213
def embedding_init_multiplier(self) -> float:

algorithmic_efficiency/workloads/criteo1tb/criteo1tb_pytorch/workload.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def use_layer_norm(self) -> bool:
254254

255255
@property
256256
def validation_target_value(self) -> float:
257-
return 0.1237562372
257+
return 0.123757
258258

259259
@property
260260
def test_target_value(self) -> float:
@@ -272,23 +272,23 @@ def use_resnet(self) -> bool:
272272

273273
@property
274274
def validation_target_value(self) -> float:
275-
return 0.1241490923
275+
return 0.12415
276276

277277
@property
278278
def test_target_value(self) -> float:
279-
return 0.1264799502
279+
return 0.12648
280280

281281

282282
class Criteo1TbDlrmSmallEmbedInitWorkload(Criteo1TbDlrmSmallWorkload):
283283

284284
@property
285285
def validation_target_value(self) -> float:
286-
return 0.129656005
286+
return 0.129657
287287

288288
@property
289289
def test_target_value(self) -> float:
290290
# Todo
291-
return 0.1319666458
291+
return 0.131967
292292

293293
@property
294294
def embedding_init_multiplier(self) -> float:

algorithmic_efficiency/workloads/imagenet_resnet/imagenet_jax/workload.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,11 @@ def use_silu(self) -> bool:
272272

273273
@property
274274
def validation_target_value(self) -> float:
275-
return 0.7544599771
275+
return 0.75445
276276

277277
@property
278278
def test_target_value(self) -> float:
279-
return 0.6323000193
279+
return 0.6323
280280

281281

282282
class ImagenetResNetGELUWorkload(ImagenetResNetWorkload):
@@ -287,11 +287,11 @@ def use_gelu(self) -> bool:
287287

288288
@property
289289
def validation_target_value(self) -> float:
290-
return 0.7676599622
290+
return 0.76765
291291

292292
@property
293293
def test_target_value(self) -> float:
294-
return 0.651900053
294+
return 0.6519
295295

296296

297297
class ImagenetResNetLargeBNScaleWorkload(ImagenetResNetWorkload):

algorithmic_efficiency/workloads/imagenet_resnet/imagenet_pytorch/workload.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -326,11 +326,11 @@ def use_silu(self) -> bool:
326326

327327
@property
328328
def validation_target_value(self) -> float:
329-
return 0.7544599771
329+
return 0.75445
330330

331331
@property
332332
def test_target_value(self) -> float:
333-
return 0.6323000193
333+
return 0.6323
334334

335335

336336
class ImagenetResNetGELUWorkload(ImagenetResNetWorkload):
@@ -341,11 +341,11 @@ def use_gelu(self) -> bool:
341341

342342
@property
343343
def validation_target_value(self) -> float:
344-
return 0.7676599622
344+
return 0.76765
345345

346346
@property
347347
def test_target_value(self) -> float:
348-
return 0.651900053
348+
return 0.6519
349349

350350

351351
class ImagenetResNetLargeBNScaleWorkload(ImagenetResNetWorkload):

algorithmic_efficiency/workloads/imagenet_vit/imagenet_jax/workload.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ def use_glu(self) -> bool:
9999

100100
@property
101101
def validation_target_value(self) -> float:
102-
return 0.7573800087
102+
return 0.75738
103103

104104
@property
105105
def test_target_value(self) -> float:
106-
return 0.6359000206
106+
return 0.6359
107107

108108

109109
class ImagenetVitPostLNWorkload(ImagenetVitWorkload):
@@ -129,7 +129,7 @@ def use_map(self) -> bool:
129129

130130
@property
131131
def validation_target_value(self) -> float:
132-
return 0.77114
132+
return 0.77113
133133

134134
@property
135135
def test_target_value(self) -> float:

algorithmic_efficiency/workloads/imagenet_vit/imagenet_pytorch/workload.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ def use_glu(self) -> bool:
9090

9191
@property
9292
def validation_target_value(self) -> float:
93-
return 0.7573800087
93+
return 0.75738
9494

9595
@property
9696
def test_target_value(self) -> float:
97-
return 0.6359000206
97+
return 0.6359
9898

9999

100100
class ImagenetVitPostLNWorkload(ImagenetVitWorkload):
@@ -120,7 +120,7 @@ def use_map(self) -> bool:
120120

121121
@property
122122
def validation_target_value(self) -> float:
123-
return 0.77114
123+
return 0.77113
124124

125125
@property
126126
def test_target_value(self) -> float:

algorithmic_efficiency/workloads/librispeech_conformer/librispeech_jax/workload.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -388,11 +388,11 @@ def attention_temperature(self) -> float:
388388

389389
@property
390390
def validation_target_value(self) -> float:
391-
return 0.109976153
391+
return 0.109977
392392

393393
@property
394394
def test_target_value(self) -> float:
395-
return 0.06806410335
395+
return 0.068065
396396

397397

398398
class LibriSpeechConformerLayerNormWorkload(LibriSpeechConformerWorkload):
@@ -403,11 +403,11 @@ def use_post_layer_norm(self) -> bool:
403403

404404
@property
405405
def validation_target_value(self) -> float:
406-
return 0.09730924819
406+
return 0.09731
407407

408408
@property
409409
def test_target_value(self) -> float:
410-
return 0.05995978307
410+
return 0.05996
411411

412412

413413
class LibriSpeechConformerGeluWorkload(LibriSpeechConformerWorkload):
@@ -418,8 +418,8 @@ def use_gelu(self) -> bool:
418418

419419
@property
420420
def validation_target_value(self) -> float:
421-
return 0.09411355803
421+
return 0.094114
422422

423423
@property
424424
def test_target_value(self) -> float:
425-
return 0.05662868401
425+
return 0.056629

algorithmic_efficiency/workloads/librispeech_conformer/librispeech_pytorch/workload.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,11 @@ def attention_temperature(self) -> float:
354354

355355
@property
356356
def validation_target_value(self) -> float:
357-
return 0.109976153
357+
return 0.109977
358358

359359
@property
360360
def test_target_value(self) -> float:
361-
return 0.06806410335
361+
return 0.068065
362362

363363

364364
class LibriSpeechConformerLayerNormWorkload(LibriSpeechConformerWorkload):
@@ -369,11 +369,11 @@ def use_post_layer_norm(self) -> bool:
369369

370370
@property
371371
def validation_target_value(self) -> float:
372-
return 0.09730924819
372+
return 0.09731
373373

374374
@property
375375
def test_target_value(self) -> float:
376-
return 0.05995978307
376+
return 0.05996
377377

378378

379379
class LibriSpeechConformerGeluWorkload(LibriSpeechConformerWorkload):
@@ -384,8 +384,8 @@ def use_gelu(self) -> bool:
384384

385385
@property
386386
def validation_target_value(self) -> float:
387-
return 0.09411355803
387+
return 0.094114
388388

389389
@property
390390
def test_target_value(self) -> float:
391-
return 0.05662868401
391+
return 0.056629

algorithmic_efficiency/workloads/librispeech_deepspeech/librispeech_jax/workload.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ def use_tanh(self) -> bool:
109109

110110
@property
111111
def validation_target_value(self) -> float:
112-
return 0.140084
112+
return 0.150883
113113

114114
@property
115115
def test_target_value(self) -> float:
116-
return 0.089249
116+
return 0.098613
117117

118118

119119
class LibriSpeechDeepSpeechNoResNetWorkload(LibriSpeechDeepSpeechWorkload):
@@ -124,11 +124,11 @@ def enable_residual_connections(self) -> bool:
124124

125125
@property
126126
def validation_target_value(self) -> float:
127-
return 0.122745
127+
return 0.131564
128128

129129
@property
130130
def test_target_value(self) -> float:
131-
return 0.073837
131+
return 0.079297
132132

133133

134134
class LibriSpeechDeepSpeechNormAndSpecAugWorkload(LibriSpeechDeepSpeechWorkload
@@ -156,8 +156,8 @@ def time_mask_count(self) -> int:
156156

157157
@property
158158
def validation_target_value(self) -> float:
159-
return 0.137877
159+
return 0.14342
160160

161161
@property
162162
def test_target_value(self) -> float:
163-
return 0.088675
163+
return 0.090976

algorithmic_efficiency/workloads/librispeech_deepspeech/librispeech_pytorch/workload.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@ def use_tanh(self) -> bool:
116116

117117
@property
118118
def validation_target_value(self) -> float:
119-
return 0.140084
119+
return 0.150883
120120

121121
@property
122122
def test_target_value(self) -> float:
123-
return 0.089249
123+
return 0.098613
124124

125125

126126
class LibriSpeechDeepSpeechNoResNetWorkload(LibriSpeechDeepSpeechWorkload):
@@ -131,11 +131,11 @@ def enable_residual_connections(self) -> bool:
131131

132132
@property
133133
def validation_target_value(self) -> float:
134-
return 0.122745
134+
return 0.131564
135135

136136
@property
137137
def test_target_value(self) -> float:
138-
return 0.073837
138+
return 0.079297
139139

140140

141141
class LibriSpeechDeepSpeechNormAndSpecAugWorkload(LibriSpeechDeepSpeechWorkload
@@ -163,8 +163,8 @@ def time_mask_count(self) -> int:
163163

164164
@property
165165
def validation_target_value(self) -> float:
166-
return 0.137877
166+
return 0.14342
167167

168168
@property
169169
def test_target_value(self) -> float:
170-
return 0.088675
170+
return 0.090976

algorithmic_efficiency/workloads/wmt/wmt_jax/workload.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ class WmtWorkloadPostLN(WmtWorkload):
299299

300300
@property
301301
def validation_target_value(self) -> float:
302-
return 30.07797237
302+
return 30.0779
303303

304304
@property
305305
def test_target_value(self) -> float:
@@ -315,11 +315,11 @@ class WmtWorkloadAttentionTemp(WmtWorkload):
315315

316316
@property
317317
def validation_target_value(self) -> float:
318-
return 29.86119393
318+
return 29.8611
319319

320320
@property
321321
def test_target_value(self) -> float:
322-
return 29.41438511
322+
return 29.4143
323323

324324
@property
325325
def attention_temp(self) -> float:
@@ -331,11 +331,11 @@ class WmtWorkloadGLUTanH(WmtWorkload):
331331

332332
@property
333333
def validation_target_value(self) -> float:
334-
return 29.65174349
334+
return 29.6517
335335

336336
@property
337337
def test_target_value(self) -> float:
338-
return 29.05153769
338+
return 29.0515
339339

340340
@property
341341
def activation(self) -> str:

0 commit comments

Comments
 (0)