from typing import Dict
from typing import Any


def max_val_diff(dict1: Dict[Any, float], dict2: Dict[Any, float]) -> float:
    """ Calculate the max difference between two dictionaries values. """
    d1_values = dict1.values()
    d2_values = dict2.values()
    return max([abs(d1_val - d2_val) for d1_val, d2_val in zip(d1_values, d2_values)])