Chern–Simons theory
Another more famous example is Chern–Simons theory, which can be applied to knot invariants. In general, partition functions depend on a metric but the above examples are metric-independent.