vscode remote ssh使用记录

ssh-copy-id -p [端口号] [用户名]@[vnc] 不用每次操作都输入远程服务器密码

举例 ssh-copy-id -p 22249 root@10.255.0.129

 

远程服务器扩展安装不上的解决办法

vscode下链接远程服务器安装插件失败、速度慢等解决方法_vscode ssh服务器后无法安装插件-CSDN博客

vscode 扩展插件下载市场

All categories Extensions - Visual Studio Code

python代码不高亮

(已解决)vscode python 代码高亮异常 - 引入的包不显示 - MoonOut - 博客园 (cnblogs.com)

pytorch - how does one fix when torch can't find cuda, error: version libcublasLt.so.11 not defined in file libcublasLt.so.11 with link time reference? - Stack Overflow

aitemplate安装的最后一步还是直接到dist目录下安装比较靠谱,正确的版本应该是0.3.dev0 且包名是小写的

 

Vscode 导入导出所有扩展

  导出扩展:code --list-extensions > extensions.txt

  导入扩展:Get-Content extensions.txt | ForEach-Object { code --install-extension $_ }

 

cannot import name 'library' from partially initialized module 'cutlass_lib'

  aitemplate库用的是cutlass-fork而不是普通的cutlass。

  https://github.com/facebookincubator/cutlass-fork/tree/a9d9b80493e20086732f51f90f10f99ae50ae5ed

 

Vscode 设置终端默认启动环境

  进入~/.zshrc 添加 conda activate your_env_name

 

posted @ 2024-02-18 10:38  白与花糖  阅读(52)  评论(0)    收藏  举报