[Chore] Replace all base64 usages with faster pybase64 package (#37290)

Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
This commit is contained in:
Isotr0py
2026-03-17 14:44:19 +00:00
committed by GitHub
parent 3717a4dd47
commit a836524d20
37 changed files with 46 additions and 40 deletions
+1 -1
View File
@@ -14,7 +14,6 @@ generation. Supported dataset types include:
import argparse
import ast
import base64
import io
import json
import logging
@@ -31,6 +30,7 @@ from tempfile import NamedTemporaryFile
from typing import Any, cast
import numpy as np
import pybase64 as base64
from huggingface_hub import snapshot_download
from PIL import Image
from typing_extensions import deprecated