logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

ollama linux下载

实验室服务器(A6000)执行curl -fsSL https://ollama.com/install.sh | sh太慢了。发现 https://www.modelscope.cn/models/modelscope/ollama-linux。而sudo snap install ollama,容易爆cudalibrt.so12无法正常使用的bug。使用modelscope进行ollama的下

文章图片
#linux#运维#服务器
/usr/bin/ld: 当搜索用于 /lib/i386-linux-gnu/libcuda.so 时跳过不兼容的 -lcuda

参考 https://stackoverflow.com/questions/16710047/usr-bin-ld-cannot-find-lnameofthelibrary。/usr/bin/ld: 当搜索用于 /lib/i386-linux-gnu/libcuda.so 时跳过不兼容的 -lcuda。做微调时,发现找不到libcuda,很自然想到需要软链接到最新cuda版本下的libcuda

文章图片
#linux#gnu#运维
《编程珠玑》第二章 问题C

#include<iostream>#include<fstream>#include<algorithm>#include<vector>using namespace std;static bool com(pair<string, string> a, pair<string, string> b) {if (a.fir

cppprimer IO类学习笔记

#include<iostream>#include<fstream>#include<string>using namespace std;// 8 .1istream& out(istream& in) { // Not allowed to copy the iostream class variable but can cite it;s

cppprimer 7.3笔记

#include<iostream>using namespace std;struct X {friend void f(){/*友元可以定义在类内部*/ }X() { f(); }//这里f还未在类外声明 无法使用void Y();void z();};void X::Y() { f(); }//不可用;void f() {}void X::z() { f(); }//可用;#in

#c++
到底了