Skip to content

Commit 1af450b

Browse files
committed
one more test/moons_demo_parallel possible output
1 parent 8da72a8 commit 1af450b

File tree

1 file changed

+60
-4
lines changed

1 file changed

+60
-4
lines changed

test/moons_demo_parallel.ml

Lines changed: 60 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ let%expect_test "Half-moons data parallel" =
8686
the results from the various CI targets. The first result is the one typically observed, the
8787
second comes from targets debian-arm64 and debian-s390x, the third one from debian-ppc. *)
8888
let result = [%expect.output] in
89-
(* TODO: this approach is bordering on ridiculous, might be worth figuring out why computations
90-
don't reproduce across machines. *)
89+
(* TODO: this approach is bordering on, no, it got ridiculous, would be worth figuring out why
90+
computations don't reproduce across machines. *)
9191
let typical_target_sync_cc =
9292
{|
9393
Batch=19, step=20, lr=0.195250, batch loss=0.263769, epoch loss=45.768608
@@ -2009,7 +2009,7 @@ Half-moons scatterplot and decision boundary:
20092009
*************...................................................%%%%%%.%%%%%%%%%%%%%%%%%%%%%%%..........................
20102010
************.......................................................%....%%%%%.%%..%%%%...%..............................|}
20112011
in
2012-
let yet_another_unknown_target_cc =
2012+
let yet_another_mac_target_cc =
20132013
{|
20142014
Batch=59, step=60, lr=0.195250, batch loss=0.749789, epoch loss=43.171278
20152015
Epoch=0, step=60, lr=0.195250, epoch loss=43.171278
@@ -2093,6 +2093,61 @@ Half-moons scatterplot and decision boundary:
20932093
************................................................%%%%%%%%%%%%%%%%%.%%%%%%%%%%%%%%%%%%%.......................
20942094
***********.....................................................%%%%%%.%%%%%%%%%%%%%%%%%%%%%%%..........................
20952095
***********........................................................%....%%%%%.%%..%%%%...%..............................|}
2096+
in
2097+
let yet_yet_another_mac_target_cc =
2098+
{|
2099+
Batch=19, step=20, lr=0.197750, batch loss=1.051057, epoch loss=39.077064
2100+
Batch=39, step=40, lr=0.195250, batch loss=0.261981, epoch loss=42.821264
2101+
Epoch=0, step=40, lr=0.195250, epoch loss=42.821264
2102+
Batch=19, step=60, lr=0.192750, batch loss=0.275695, epoch loss=2.712253
2103+
Batch=39, step=80, lr=0.190250, batch loss=0.221868, epoch loss=6.029776
2104+
Epoch=1, step=80, lr=0.190250, epoch loss=6.029776
2105+
Batch=19, step=100, lr=0.187750, batch loss=0.267967, epoch loss=2.653320
2106+
Batch=39, step=120, lr=0.185250, batch loss=0.210309, epoch loss=5.889293
2107+
Epoch=2, step=120, lr=0.185250, epoch loss=5.889293
2108+
Batch=19, step=140, lr=0.182750, batch loss=0.245252, epoch loss=2.545632
2109+
Batch=39, step=160, lr=0.180250, batch loss=0.198367, epoch loss=5.657765
2110+
Epoch=3, step=160, lr=0.180250, epoch loss=5.657765
2111+
Batch=19, step=180, lr=0.177750, batch loss=0.239847, epoch loss=2.446360
2112+
Batch=39, step=200, lr=0.175250, batch loss=0.187839, epoch loss=5.435921
2113+
Epoch=4, step=200, lr=0.175250, epoch loss=5.435921
2114+
Batch=19, step=220, lr=0.172750, batch loss=0.229536, epoch loss=2.327686
2115+
Batch=39, step=240, lr=0.170250, batch loss=0.179610, epoch loss=5.215845
2116+
Epoch=5, step=240, lr=0.170250, epoch loss=5.215845
2117+
Batch=19, step=260, lr=0.167750, batch loss=0.212184, epoch loss=2.234217
2118+
Batch=39, step=280, lr=0.165250, batch loss=0.167163, epoch loss=5.010860
2119+
Epoch=6, step=280, lr=0.165250, epoch loss=5.010860
2120+
Batch=19, step=300, lr=0.162750, batch loss=0.192092, epoch loss=2.103425
2121+
Batch=39, step=320, lr=0.160250, batch loss=0.144819, epoch loss=4.661177
2122+
Epoch=7, step=320, lr=0.160250, epoch loss=4.661177
2123+
Batch=19, step=340, lr=0.157750, batch loss=0.160005, epoch loss=1.805758
2124+
Batch=39, step=360, lr=0.155250, batch loss=0.126462, epoch loss=4.176613
2125+
Epoch=8, step=360, lr=0.155250, epoch loss=4.176613
2126+
Batch=19, step=380, lr=0.152750, batch loss=0.148654, epoch loss=1.628916
2127+
Batch=39, step=400, lr=0.150250, batch loss=0.096444, epoch loss=3.600679
2128+
Epoch=9, step=400, lr=0.150250, epoch loss=3.600679
2129+
Batch=19, step=420, lr=0.147750, batch loss=0.094088, epoch loss=1.298251
2130+
Batch=39, step=440, lr=0.145250, batch loss=0.072883, epoch loss=3.125359
2131+
Epoch=10, step=440, lr=0.145250, epoch loss=3.125359
2132+
Batch=19, step=460, lr=0.142750, batch loss=0.059548, epoch loss=0.939508
2133+
Batch=39, step=480, lr=0.140250, batch loss=0.045322, epoch loss=2.154090
2134+
Epoch=11, step=480, lr=0.140250, epoch loss=2.154090
2135+
Batch=19, step=500, lr=0.137750, batch loss=0.042893, epoch loss=0.582177
2136+
Batch=39, step=520, lr=0.135250, batch loss=0.034900, epoch loss=1.544519
2137+
Epoch=12, step=520, lr=0.135250, epoch loss=1.544519
2138+
##****##*********.........................%%.%%%%%%%%...................****###*##**....................%%%%%%%%%%......
2139+
****************..........................%%.%%%%%%%......................********......................%..%%.%%%.......
2140+
****************............................%...%%%%%.%%....................*****..................%.%%%%%%%%%%.........
2141+
***************...............................%.%%%%%.%%%%...................**....................%%%%%%%%.%.%%........
2142+
**************..................................%..%%%%%...%......................................%%%%%%%%%%............
2143+
*************.....................................%%%.%%%%%%%%..............................%%..%%%%.%%%%%.%............
2144+
*************....................................%%%.%%%%%%.%%...%.........................%.%%%%%%%.%%%.%..............
2145+
************.........................................%.%%%.%%%%%%%%%...................%.%%%%%%%%%%%%%.%.%..............
2146+
***********...........................................%.%%%%.%%%%%%%%%.%%%%%%%%%.%.%%%%%%%%%%%%%%%%%%%.%................
2147+
***********.............................................%%%%%%%%%%%%%%%%%%%%%.%%%%%%%.%%%.%%%%%%%%%%....................
2148+
**********..................................................%%%%%%%%%%%%%%%%%.%%%%%%%%%%%%%%%%%%%.......................
2149+
*********.......................................................%%%%%%.%%%%%%%%%%%%%%%%%%%%%%%..........................
2150+
********...........................................................%....%%%%%.%%..%%%%...%..............................|}
20962151
in
20972152
let result_deltas =
20982153
List.map
@@ -2109,7 +2164,8 @@ Half-moons scatterplot and decision boundary:
21092164
("another_unknown_target_cc", another_unknown_target_cc);
21102165
("another_mac_arm64_target_cc", another_mac_arm64_target_cc);
21112166
("another_mac_target_cc", another_mac_target_cc);
2112-
("yet_another_unknown_target_cc", yet_another_unknown_target_cc);
2167+
("yet_another_mac_target_cc", yet_another_mac_target_cc);
2168+
("yet_yet_another_mac_target_cc", yet_yet_another_mac_target_cc);
21132169
]
21142170
~f:(fun (name, target) -> (name, Expect_test_patdiff.patdiff target result))
21152171
in

0 commit comments

Comments
 (0)