logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

ImportError: cannot import name ‘Cache‘ from ‘transformers‘ (/usr/local/lib/python3.11/dist-packages

【代码】ImportError: cannot import name ‘Cache‘ from ‘transformers‘ (/usr/local/lib/python3.11/dist-packages。

#python3.11#前端#linux
vscode连接WSL卡住

【代码】vscode连接WSL卡住。

#vscode#ide#编辑器
W: Failed to fetch https:.. Could not handshake: Error in the pull function. (已解决)

【代码】W: Failed to fetch https:.. Could not handshake: Error in the pull function. (已解决)

文章图片
#https#tcp/ip#数据库
Visual Studio上传代码到gitee

打开Visual Studio 2022的工程,点击创建。如果传出项,点击推送 (图中情况传出为0,就不用推送了)

文章图片
#visual studio#ide
ValueError: No available memory for the cache blocks. Try increasing `gpu_memory_utilization` (vllm)

1. 增加限制 max_seq_len(不成功) -> 可能是 16G 显存不足。

docker 镜像问题(解决了)

意思是 Docker 尝试访问 Docker Hub 时,通过了。,但代理服务(127.0.0.1:7890)现在没启动。,仍然尝试直接访问 Docker Hub。JSON 中最后一个元素不能有逗号。Docker 没能使用。数组最后多了一个逗号。

#docker#容器#运维
Apt-get update Err:1 https://download.docker.com/linux/ubuntu jammy InRelease Certificate verificati

APT 无法验证 Docker 仓库的包签名,所以默认禁用了该源。

#eureka#云原生
Temporary failure in name resolution

这个错误通常表示 DNS 解析的问题,也就是说你的baidu.com。

#bug
CUDA Error: the provided PTX was compiled with an unsupported toolchain

CUDA程序编译时生成的PTX代码与系统上的CUDA驱动版本不兼容。

文章图片
#python#人工智能#linux
ValueError: No available memory for the cache blocks. Try increasing `gpu_memory_utilization` (vllm)

1. 增加限制 max_seq_len(不成功) -> 可能是 16G 显存不足。

    共 19 条
  • 1
  • 2
  • 请选择