ghcr.io/huggingface/text-embeddings-inference:cpu-latest linux/amd64

ghcr.io/huggingface/text-embeddings-inference:cpu-latest - 国内下载镜像源 浏览次数:78

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

文本嵌入推断

Hugging Face 提供了一个用于文本嵌入推断的 Docker 镜像。
源镜像 ghcr.io/huggingface/text-embeddings-inference:cpu-latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest
镜像ID sha256:57e60655b3854d2e22fd2659b683f2d26da04a701794eff8e3aa170954497543
镜像TAG cpu-latest
大小 660.31MB
镜像源 ghcr.io
CMD --json-output
启动入口 text-embeddings-router
工作目录 /
OS/平台 linux/amd64
浏览量 78 次
贡献者 *@haozi.net
镜像创建 2024-11-27T15:44:35.851207784Z
同步时间 2024-12-04 09:13
更新时间 2025-02-05 20:23
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HUGGINGFACE_HUB_CACHE=/data PORT=80 MKL_ENABLE_INSTRUCTIONS=AVX512_E4 RAYON_NUM_THREADS=8 LD_PRELOAD=/usr/local/libfakeintel.so LD_LIBRARY_PATH=/usr/local/lib
镜像标签
2024-11-27T15:37:32.328Z: org.opencontainers.image.created A blazing fast inference solution for text embeddings models: org.opencontainers.image.description Apache-2.0: org.opencontainers.image.licenses 0bfeb7e87ca455dfd75378a37ee83a77f391e4a6: org.opencontainers.image.revision https://github.com/huggingface/text-embeddings-inference: org.opencontainers.image.source text-embeddings-inference: org.opencontainers.image.title https://github.com/huggingface/text-embeddings-inference: org.opencontainers.image.url cpu-latest: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.8 扫描引擎: Trivy 扫描时间: 2024-12-04 09:15

低危漏洞:105 中危漏洞:18 高危漏洞:11 严重漏洞:1

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest  ghcr.io/huggingface/text-embeddings-inference:cpu-latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest  ghcr.io/huggingface/text-embeddings-inference:cpu-latest

Shell快速替换命令

sed -i 's#ghcr.io/huggingface/text-embeddings-inference:cpu-latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest  ghcr.io/huggingface/text-embeddings-inference:cpu-latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest  ghcr.io/huggingface/text-embeddings-inference:cpu-latest'

镜像构建历史


# 2024-11-27 23:44:35  0.00B 设置默认要执行的命令
CMD ["--json-output"]
                        
# 2024-11-27 23:44:35  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["text-embeddings-router"]
                        
# 2024-11-27 23:44:35  46.14MB 复制新文件或目录到容器中
COPY /usr/src/target/release/text-embeddings-router /usr/local/bin/text-embeddings-router # buildkit
                        
# 2024-11-25 22:55:26  15.03KB 复制新文件或目录到容器中
COPY /usr/src/libfakeintel.so /usr/local/libfakeintel.so # buildkit
                        
# 2024-11-25 22:55:26  65.71MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_avx512.so.2 /usr/local/lib/libmkl_avx512.so.2 # buildkit
                        
# 2024-11-25 22:55:26  48.84MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_avx2.so.2 /usr/local/lib/libmkl_avx2.so.2 # buildkit
                        
# 2024-11-25 22:55:26  14.25MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_vml_avx512.so.2 /usr/local/lib/libmkl_vml_avx512.so.2 # buildkit
                        
# 2024-11-25 22:55:26  14.79MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_vml_avx2.so.2 /usr/local/lib/libmkl_vml_avx2.so.2 # buildkit
                        
# 2024-11-25 22:55:26  41.16MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_def.so.2 /usr/local/lib/libmkl_def.so.2 # buildkit
                        
# 2024-11-25 22:55:26  8.75MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_vml_def.so.2 /usr/local/lib/libmkl_vml_def.so.2 # buildkit
                        
# 2024-11-25 22:55:26  71.24MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_core.so.2 /usr/local/lib/libmkl_core.so.2 # buildkit
                        
# 2024-11-25 22:55:26  41.93MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_intel_thread.so.2 /usr/local/lib/libmkl_intel_thread.so.2 # buildkit
                        
# 2024-11-25 22:55:26  24.38MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_intel_lp64.so.2 /usr/local/lib/libmkl_intel_lp64.so.2 # buildkit
                        
# 2024-11-25 22:52:48  208.34MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends     libomp-dev     ca-certificates     libssl-dev     curl     && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2024-11-25 22:52:48  0.00B 设置环境变量 HUGGINGFACE_HUB_CACHE PORT MKL_ENABLE_INSTRUCTIONS RAYON_NUM_THREADS LD_PRELOAD LD_LIBRARY_PATH
ENV HUGGINGFACE_HUB_CACHE=/data PORT=80 MKL_ENABLE_INSTRUCTIONS=AVX512_E4 RAYON_NUM_THREADS=8 LD_PRELOAD=/usr/local/libfakeintel.so LD_LIBRARY_PATH=/usr/local/lib
                        
# 2024-11-11 08:00:00  0.00B 设置默认要执行的命令
CMD ["bash"]
                        
# 2024-11-11 08:00:00  74.78MB 复制文件或目录到容器中
ADD rootfs.tar.xz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:57e60655b3854d2e22fd2659b683f2d26da04a701794eff8e3aa170954497543",
    "RepoTags": [
        "ghcr.io/huggingface/text-embeddings-inference:cpu-latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest"
    ],
    "RepoDigests": [
        "ghcr.io/huggingface/text-embeddings-inference@sha256:7800777a8725fb777626207ca7566462478bafbd7b7057ceea4ed0b4dd31cd33",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference@sha256:654ae53297a703994a43e62f026b37cfcb32e5b29b70bb4c88f69e97e1a0153a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-11-27T15:44:35.851207784Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "HUGGINGFACE_HUB_CACHE=/data",
            "PORT=80",
            "MKL_ENABLE_INSTRUCTIONS=AVX512_E4",
            "RAYON_NUM_THREADS=8",
            "LD_PRELOAD=/usr/local/libfakeintel.so",
            "LD_LIBRARY_PATH=/usr/local/lib"
        ],
        "Cmd": [
            "--json-output"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": [
            "text-embeddings-router"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.created": "2024-11-27T15:37:32.328Z",
            "org.opencontainers.image.description": "A blazing fast inference solution for text embeddings models",
            "org.opencontainers.image.licenses": "Apache-2.0",
            "org.opencontainers.image.revision": "0bfeb7e87ca455dfd75378a37ee83a77f391e4a6",
            "org.opencontainers.image.source": "https://github.com/huggingface/text-embeddings-inference",
            "org.opencontainers.image.title": "text-embeddings-inference",
            "org.opencontainers.image.url": "https://github.com/huggingface/text-embeddings-inference",
            "org.opencontainers.image.version": "cpu-latest"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 660312947,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3964962e2acef476e2e12f9701e304e9e2ed03cb64a6bef38c516cf4a3550029/diff:/var/lib/docker/overlay2/c54bf07863e977b1ab6c58f790b91b4be1b9daf58a409afaca71a225bfdf7ef1/diff:/var/lib/docker/overlay2/e8f326ddb1c5f52b08bff404061b40b2ee4440ac96255a149b1298d46839ce90/diff:/var/lib/docker/overlay2/e6326ee72bfeeeb3f478c8b38208f16bae3e3a2bdb136ac046cabd3de2245bf9/diff:/var/lib/docker/overlay2/c798009876da820030036d7816676cab5cd85640cd6aae4ca898092b2fb3f5a4/diff:/var/lib/docker/overlay2/1ed90d3e59c3ec4b9dad65c6484c538baa2b49fdb7725170bea0d6e97877ff3d/diff:/var/lib/docker/overlay2/5d016624763f2fcf972f6492884357a1ab43779143153e57b1c7220f8873bbcd/diff:/var/lib/docker/overlay2/edc758b68fe9a25252db063455edc8ddeca5aeb786261fa8771b03107bb18e9e/diff:/var/lib/docker/overlay2/37f7bebb73751995a1b8a9bb00614c634acdede7a88ff62f007527cb52fcf0e6/diff:/var/lib/docker/overlay2/23e8d84c18fb36dc7f1d513f4834b2182e6afa48b955200d2020d8b2476490ca/diff:/var/lib/docker/overlay2/96f17c3632c0239cfd744870b0e04ecf1dc4bc927eb5b7aa490d24a62b4b40f4/diff:/var/lib/docker/overlay2/91eaeb3375babd906dc7e8a6c516620560ab7dbfb21b9881f9ae71d2e2f398b0/diff",
            "MergedDir": "/var/lib/docker/overlay2/f2be07fc968a913c31f071d3c5ea72ce1afa39d08ad78d667afcab4d464fc89f/merged",
            "UpperDir": "/var/lib/docker/overlay2/f2be07fc968a913c31f071d3c5ea72ce1afa39d08ad78d667afcab4d464fc89f/diff",
            "WorkDir": "/var/lib/docker/overlay2/f2be07fc968a913c31f071d3c5ea72ce1afa39d08ad78d667afcab4d464fc89f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:c3548211b8264f8bfa47a6727043a64f1791b82ac965a284a7ea187e971a95e2",
            "sha256:3841a521f96156cec417ae553cd1f1940bdc3b259368acc98b46bf49a4449b8e",
            "sha256:c7adc32c4a1452bb10ae828390dbeaafc327f936baec5e96e6ff76dec81741e4",
            "sha256:64457ae86fde46d41d3d93c5cb4fed5936509ec5720b2555905c182dfd832e3a",
            "sha256:b7b6858a6a0976f0d9cfe27e474ad6cf590b0a59edd2713bdae2d6bce8d427c8",
            "sha256:d7f5bf2b06e6843597aab0d663889faf700e5d2043415b742846e697be647cbe",
            "sha256:c79995c8243308d856796c1d47889d2e4df1b5cc660b56bf0a3dcba31a7a207f",
            "sha256:0dfba741b91eddb795614e74b74f818f1afa8c3fef118775a0cc56579cd92a66",
            "sha256:ee19b914d0505222a0749847a72028416975e78225597984a9df5df8769a17ec",
            "sha256:723b13ba1c196cf9a4ee89e5864255e9919651c4c7f3b3e381df00afe0149ac0",
            "sha256:5b25c01618013ff5bd74ca4182d2225e97cc8de16a0453c255bdff7a87dab9ef",
            "sha256:609934939b48e39e30c98563f886b42ec2fc7e5357e10c7ed435942d6c19614f",
            "sha256:f6d59a1aff3eeafb05f20980e782e48a4044b021ae8441181f28d2e7dd12f3ed"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-04T09:13:13.230190264+08:00"
    }
}

更多版本

ghcr.io/huggingface/text-embeddings-inference:cpu-1.2

linux/amd64 ghcr.io636.68MB2024-07-25 11:53
275

ghcr.io/huggingface/text-embeddings-inference:turing-1.5

linux/amd64 ghcr.io900.87MB2024-10-23 11:14
149

ghcr.io/huggingface/text-embeddings-inference:cpu-latest

linux/amd64 ghcr.io660.31MB2024-12-04 09:13
77