peal.generators.rae_pipeline.require_raev2

peal.generators.rae_pipeline.require_raev2(path)[source]

Return path if RAEv2 is installed there, else raise an actionable error.

Only the RAE generators need this. Every other PEAL generator, including the ImageNet and CelebA diffusion autoencoders and their DDPM inversion, runs without RAEv2.