上一页 1 2 3 4 5 6 ··· 28 下一页
摘要: 下面内容是大模型生成的,目前试了下第一种方法可行,直接 curl 会失败。 假设有个文件 data.zip 在某个仓库,建议先共享到自己仓库里。 使用 gdown 下载 data.zip gdown 是一个Python包,因此您需要确保服务器上安装了Python和pip。 步骤 1: 获取 data 阅读全文
posted @ 2025-07-30 23:49 Cold_Chair 阅读(818) 评论(0) 推荐(0)
摘要: 体验 CPRet 立即访问我们的在线演示平台,亲身体验 CPRet 强大的算法题检索功能: 在线体验: https://www.cpret.online/ 欢迎大家把这个网站推荐给同学/老师。 很高兴向大家介绍我的本科毕业设计项目——CPRet,一个专为编程竞赛和算法题目设计的智能检索工具,目前总搜 阅读全文
posted @ 2025-07-18 03:23 Cold_Chair 阅读(586) 评论(0) 推荐(2)
摘要: chatgpt plus 实在是有点贵啊,最近换成了 gemini,淘宝上花几十块搞了个学生会员,日常使用也不会被限制。 但是 gemini 很烦的是,不管 flash 还是 pro,总是用英文回答,虽然也看得懂,但是速度就慢了。 参考:https://linux.do/t/topic/593501 阅读全文
posted @ 2025-07-10 23:46 Cold_Chair 阅读(2751) 评论(1) 推荐(0)
摘要: 服务器上用 vllm 部署了多个 Qwen2.5-72B-Instruct 节点,都只支持单次推理,不支持批量推理。 要清洗数据,有上万个单轮请求,通过 GPT 写了一个简单的多线程批量推理脚本,基于线程锁,见下面: import openai import concurrent.futures i 阅读全文
posted @ 2025-04-03 16:50 Cold_Chair 阅读(333) 评论(0) 推荐(0)
摘要: 如题,无论怎么配置 rsa 的公钥和私钥那一套,都要输入密码才能登录。 一些新版本的 SSH 客户端默认可能会禁用或限制 rsa,在 config 里加入两行: HostKeyAlgorithms +ssh-rsa PubkeyAcceptedKeyTypes +ssh-rsa 这两行配置分别指定了 阅读全文
posted @ 2025-03-09 00:45 Cold_Chair 阅读(829) 评论(1) 推荐(1)
摘要: 完整问题: ValueError: You can't train a model that has been loaded with device_map='auto' in any distributed mode. Please rerun your script specifying --n 阅读全文
posted @ 2025-03-05 17:45 Cold_Chair 阅读(364) 评论(0) 推荐(0)
摘要: 我的 vscode 版本: January 2025 (version 1.97) 无论是在 remote-SSH 连接远程服务器时,还是本地编辑时,都会反复弹出: 我们卸载了“equinusocio.vsc-material-theme”,它被报告存在问题。 参考: https://github. 阅读全文
posted @ 2025-03-01 20:34 Cold_Chair 阅读(204) 评论(0) 推荐(0)
摘要: deepspeed 优化原理: 不是专门做优化的,只是使用的话,大致了解原理即可,参考: https://zhuanlan.zhihu.com/p/674745061 官网: https://github.com/microsoft/DeepSpeed 安装: 先安装 torch,再直接安装 dee 阅读全文
posted @ 2025-01-14 19:45 Cold_Chair 阅读(864) 评论(0) 推荐(0)
摘要: 参考: https://blog.csdn.net/huaanxiang/article/details/143687649 绝对导入: 标准库导入 假设有 a.py 这么写: import os 这个是从标准库导入。 当前文件目录导入 如果 a.py 的同级目录下有一个 b.py,b.py 中有 阅读全文
posted @ 2024-12-20 21:21 Cold_Chair 阅读(456) 评论(0) 推荐(0)
摘要: 参考: https://blog.csdn.net/weixin_39589455/article/details/135995424 https://github.com/keras-team/autokeras/issues/1475 引入环境变量: export LD_PRELOAD=$LD_ 阅读全文
posted @ 2024-12-18 23:30 Cold_Chair 阅读(188) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 28 下一页