天数服务器使用记录
· 2 分钟阅读
环境设置
通过ssh连接到服务器
ssh moyigeek@zibo.saas.iluvatar.com.cn -p 30134

- 添加环境变量到bashrc文件
export COREX_HOME=/usr/local/corex
export PATH=$PATH:$COREX_HOME/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$COREX_HOME/lib
- 添加自己公钥文件的到服务器上并用vscode打开
- 添加python环境变量到bashrc文件

服务器使用
大模型推理作业阶段
安装rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
克隆项目
git clone git@github.com:moyigeek/learning-lm-rs.git
进入项目目录
cd learning-lm-rs
cargo test
