Adsorption of hydrogen on graphdiyne (GDY) and boron-graphdiyne (BGDY) doped with palladium clusters has been investigated by performing density functional calculations. Pd6 fits well the large holes those porous layers, preserving its octahedral structure in GDY changing it to a capped trigonal bipyramid BGDY. Pd6GDY adsorbs up five H2 molecules sizable adsorption energies, two dissociated thr...