- 博客(6)
- 收藏
- 关注
原创 Dockerfile拉取仓库遇到error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
Dockerfile通常需要拉取远程仓库,由于Dockfile都是新构建Linux系统,无法生成ssh key并添加公钥,采用ssh git的方法行不通。一种解决办法为,采用先在本地采用ssh方法git clone仓库,然后采用COPY 命令移到镜像中。
2024-07-07 21:50:26
1951
原创 Matlab中的importdata函数在Octave中怎么替换?
importdata是Matlab中功能强大的函数,可以将txt等文件数据读入到数组变量中,但在开源的Octave中却不能直接用。Octave支持标准的类C文件I/O,可以采用按行读取,加载到cell里的方法。首先采用fopen打开文件句柄,创建cell array flist,采用fgetl函数读取每行,采用索引将每行数据添加到flist变量中,最后关闭文件。
2024-07-07 21:40:11
210
原创 octave mex文件编译遇到fatal error: matrix.h: No such file or directory
octave mex文件编译遇到fatal error: matrix.h: No such file or directory
2024-07-05 19:21:41
387
原创 This model has order 7 but KenLM was compiled to support up to 6. If your build system supports cha
This model has order 7 but KenLM was compiled to support up to 6.
2024-07-04 17:22:52
186
原创 pip install flash-attn, 调用ninja卡死,死机
大模型微调需要用到flash_attention_2时,pip安装,自动调用ninja,可能卡死,死机的问题
2024-06-21 21:48:05
2591
原创 Error : ModuleNotFoundError: No module named ‘packaging
问题发生在安装Apex和flash-attn的时候,首先想到安装packaging。这样编译的python环境和实际python环境一致。安装好了还是报错,终极解决方案,是加上参数。
2024-06-21 20:28:35
409
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人