Commit Graph

37 Commits

Author SHA1 Message Date
wls2002
e5fc1167d9 refactor genome.py use (C, 4) to replace (2, N, N) to represent connections
use "cons" to replace "connections" in code for beauty
2023-05-11 19:49:19 +08:00
wls2002
e2a5117554 initial commit in branch developing 2023-05-11 19:04:56 +08:00
wls2002
acc9eab64a change fitness from list to array
optimize the code of reproduction.
2023-05-11 08:15:06 +08:00
wls2002
299ff1f8f1 change fitness from list to array
optimize the code of reproduction.
2023-05-11 08:14:58 +08:00
wls2002
b271a56827 update to test in servers 2023-05-10 22:33:51 +08:00
wls2002
ce35b01896 add package problems 2023-05-10 19:30:12 +08:00
wls2002
097bbf6631 gpu slice is very slow. fixed this problem 2023-05-10 18:36:22 +08:00
wls2002
3f37d79d06 gpu slice is very slow. fix this problem 2023-05-10 17:48:07 +08:00
wls2002
9dfa904ce5 precompile jax.random.split 2023-05-10 15:20:42 +08:00
wls2002
0fdc856f2d add function to put **all** compilation at the beginning of the execution. 2023-05-09 02:55:47 +08:00
wls2002
1f2327bbd6 clean imports and delete "create_XXX_functions" 2023-05-09 01:58:00 +08:00
wls2002
f63a0c447b create function_factory.py, use to manage functions 2023-05-09 01:49:43 +08:00
wls2002
ee6bb01eff try to accelerate the speed of speciate 2023-05-08 18:41:19 +08:00
wls2002
8653f49826 optimize function reproduce for time usage 2023-05-08 16:28:13 +08:00
wls2002
dde338696f reduce the use of device_get in speciate 2023-05-08 15:58:09 +08:00
wls2002
91206c796f add init_speciate to accelerate the time cost of speciate in the first generation 2023-05-08 15:53:31 +08:00
wls2002
e201d03157 add debug mode for create_xx_functions for detail time cost analysis 2023-05-08 15:42:25 +08:00
wls2002
d4a75b9394 use jit().lower.compile in create functions 2023-05-08 02:35:04 +08:00
wls2002
497d89fc69 move o2o_distance and o2m_distance to pipelines 2023-05-08 01:19:45 +08:00
wls2002
c705b5cfe2 accelerate: unify jnp and np 2023-05-08 00:46:48 +08:00
wls2002
cf47c5bb38 huge accelerate: delete recycle new keys 2023-05-08 00:02:51 +08:00
wls2002
64f8eaccaf create function "distance_numpy", serve as o2o distance function 2023-05-07 23:47:53 +08:00
wls2002
b257505bee modify act. agg in mutation. they can have option vals
fix a bug in function 'agg'
2023-05-07 23:00:04 +08:00
wls2002
47bb593a53 add method 'create_crossover_function' and 'create_distance_function' 2023-05-07 22:16:27 +08:00
wls2002
cec40b254f remove useless codes 2023-05-07 16:30:26 +08:00
wls2002
890c928b0f adjust parameter for xor problem 2023-05-07 16:21:41 +08:00
wls2002
a3b9bca866 bug down! Here it can solve xor successfully! 2023-05-07 16:03:52 +08:00
wls2002
d1f54022bd 又搞到3点,还是没有找到问题在哪,不过已经排除了是forward的问题 2023-05-07 02:59:48 +08:00
wls2002
414b620dc8 虽然xor问题还是跑不出来,但至少已经确定不是distance的错了 2023-05-06 23:26:13 +08:00
wls2002
a85e6eba78 debug-branch 2023-05-06 21:04:28 +08:00
wls2002
14fed83193 debuging 2023-05-06 18:33:30 +08:00
wls2002
73ac1bcfe0 generally complete, but not work well. Debug 2023-05-06 11:35:44 +08:00
wls2002
8f780b63d6 Merge remote-tracking branch 'origin/main' 2023-05-05 20:25:55 +08:00
wls2002
0ce1954943 add stagnation and reproduce in species 2023-05-05 20:25:42 +08:00
WLS2002
37b8ce4453 Update and rename readme.md to README.md 2023-05-05 14:42:49 +08:00
wls2002
8734980217 initial commit 2023-05-05 14:28:28 +08:00
wls2002
6faa07f507 initial commit 2023-05-05 14:19:13 +08:00