Source code for megatron.energon.wrappers.skip

# Copyright (c) 2025, NVIDIA CORPORATION.
# SPDX-License-Identifier: BSD-3-Clause


[docs] class SkipSample(Exception): """Exception to raise in the map_fn to skip a sample."""