- 博客(303)
- 收藏
- 关注
原创 VScode 中 Python 代码不高亮显示
参考:VScode 中 Python 代码不高亮显示怎么办?_vscode python代码高亮-CSDN博客补充:需要保证你的用户,工作区,远程(三个)都要设置 Python 的 Language Server
2025-07-17 14:51:30
248
原创 could not handshake: error in the pull function.
你当前系统的95proxies这通常是用于配置代理的,可能系统或云服务平台自动生成了它。你可以检查这个文件内容是否已经正确配置了和。
2025-07-14 14:39:38
439
原创 python 在运行时没有加载修改后的版本
最常见的原因!Python 会把你修改的 .py 文件编译成 .pyc 字节码来加速后续运行。有时,即使你修改了 .py 文件,系统可能仍然固执地加载旧的、未被删除的 .pyc 文件。
2025-07-09 21:30:36
275
原创 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。
2025-06-27 15:02:44
383
原创 matplotlib无法显示中文字体
python使用matplotlib无法显示中文字体报错_findfont: font family 'wenquanyi micro hei' not fo-CSDN博客让Matplotlib正确显示中文 · Zodiac Wang
2025-06-26 13:31:46
187
原创 ConnectionError: Couldn‘t reach ‘neil-code/dialogsum-test‘ on the Hub (LocalEntryNotFoundError)
加载数据集(正常加载)
2025-06-10 16:21:37
207
原创 Unable to make field long java.nio.Buffer.address accessible:
【代码】Unable to make field long java.nio.Buffer.address accessible:
2025-06-08 11:23:06
301
原创 Send [xxx] times, still failed, cost [xxx]ms, Topic: xxx, BrokersSent ...
单节点 `broker-a` 存在单点故障风险。建议部署 **多 Master 集群**(如 `broker-a`, `broker-b`),确保 Topic 分布在多个节点。- Topic `index12306_pay-service_topic` 未在 `broker-a` 上创建,或权限不足(需至少 `-w-` 写入权限)。- 检查 `broker-a` 的日志(如 `$ROCKETMQ_HOME/logs/broker.log`),确认是否有 OOM、磁盘满、端口冲突等错误。
2025-06-07 23:43:25
631
原创 sendDefaultImpl call timeout(rocketmq)
修改broker 的配置如下,注意brokerIP1 这个配置必须有,不然 rocketmq-console 显示依然是内网地址。中的mq的话,需要设置超时时间。因为可能是超时导致的。
2025-06-07 22:17:31
343
原创 caused by: org.apache.rocketmq.remoting.exception.remotingconnectexception: connect to <192.168.56.1
需要配置外网/本地地址。
2025-06-07 17:08:11
403
原创 World-writable config file /etc/mysql/mysql.conf.d/my.cnf is ignored
修改权限 -> 重启mysql。
2025-06-06 00:24:05
198
原创 ERROR: No matching distribution found for ipython==9.1.0
1.官方下载:https://www.python.org/downloads/2.推荐使用工具管理多版本(如 pyenv。
2025-06-05 14:01:08
217
原创 Unable to generate pydantic-core schema for <class ‘starlette.requests.Request‘>. Set arbitrary_type
【代码】Unable to generate pydantic-core schema for <class ‘starlette.requests.Request‘>. Set arbitrary_type。
2025-06-02 23:02:07
110
原创 OSError: We couldn‘t connect to ‘https://huggingface.co‘ to load the files(加载 llava )
方法1:预先下载CLIP模型(推荐) ,修改 config.json。
2025-06-02 15:12:18
143
原创 ValueError: Cannot find corresponding multimodal processor registered in sglang for model type `clip
这个config.json 符合 SGLang 格式。
2025-06-02 15:04:14
230
原创 (SGLang)TypeError: argument of type ‘NoneType‘ is not iterable
无法正确从 config.json 中读取 模型架构。
2025-06-02 14:49:11
128
原创 ValueError: No available memory for the cache blocks. Try increasing `gpu_memory_utilization` (vllm)
1. 增加限制 max_seq_len(不成功) -> 可能是 16G 显存不足。
2025-06-01 22:46:56
295
原创 Exception: Capture CUDA graph failed: CUDA error: out of memory
部署 Qwen/Qwen2-0.5B。
2025-06-01 11:47:17
337
原创 RuntimeError: CUDA error: no kernel image is available for execution on the device
这对环境配置和编译经验有一定要求,我们在配置相对较低的机器上手动编译未能成功。根据我们的测试,SGLang 目前最高支持到 CUDA 12.4。vLLM 是一个非常流行的推理框架,但其最新发布版(如 0.8.2)配置过程非常简单,对于想快速上手体验的用户来说是首选。2. 当前 5090 ,无法适配 SGLang。的 sm_120 计算能力。1. 查看当前显卡计算能力。希望后续版本能尽快适配。
2025-06-01 11:05:27
475
原创 SGLang 无法正常部署
1. 考虑 torch 版本 与 SGLang 不兼容:-> Python环境中的包被更新(如torch, deepspeed, transformers等)导致不兼容 -2. 添加外部网络参数,卡死解决方法:添加。
2025-06-01 01:32:26
581
原创 lost connection to mysql server at ‘reading initial communication packet‘
> windows 访问 WSL 直接使用 localhost。
2025-05-29 18:55:28
359
原创 ERR AUTH <password> called without any password configured for the default user. Are you sure your c
在 application.yaml 全局替换 redis 端口 6379 -> 6380。默认连接 6379 -> 错误。
2025-05-28 22:55:29
505
原创 failed to bind host port for 0.0.0.0:3306
1. netstat 查不到 3306 端口2. 确定原因:本地已经安装了mysql,mysql服务已经启动导致的。
2025-05-28 22:21:46
395
原创 java: java.lang.ExceptionInInitializerErrorcom.sun.tools.javac.code.TypeTag :: UNKNOWN
2. 切换 jdk1.8 提示,需要 jdk 17。3.切换 jdk 17 -> 解决。1. 开始使用 jdk24 出错。
2025-05-28 20:03:51
163
网络层和链路层的基本功能和交互过程
2024-05-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人