torch pillow pydantic numpy requests oss2