src/transformers/models/chinese_clip/convert_chinese_clip_original_pytorch_to_hf.py/copy_layers
def copy_layers(hf_layers, pt_weights, prefix):
    for layer_id, hf_layer in enumerate(hf_layers):
        copy_layer(hf_layer, pt_weights, f"{prefix}.{layer_id}")