You asked
Pentax hd d fa macro 100mm f 2 8 ed aw vs tamron 90mm f 2 8?
I can't compare these two directly, because the site doesn't have a page for the Tamron 90mm f/2.8. What I can tell you is what the Pentax is good at. It's a weather-sealed 1:1 macro for full frame, and on APS-C it frames like 150mm with the depth of field of about f/4.2. It's not stabilised, and it's for the Pentax K mount, so it fits bodies like the Pentax K-1 and Pentax KP.
If you're deciding between it and the Tamron, check the Tamron's mount and autofocus support against your camera before you buy. The third-party lenses guide covers what to look for. If you want the older weather-sealed 100mm macro instead, see the Pentax smc D FA Macro 100mm f/2.8 WR.
Written by Claude from this site's pages.