开发常用工具

1.pycharm配置
1)pycharm git 配置: https://blog.csdn.net/u012856866/article/details/132688006
开发时,只需要在空白文件夹中git clone, 再使用pycharm以项目方式打开,即可同步
2)pycharm 自建项目Unresolved reference解决:
https://stackoverflow.com/questions/21236824/unresolved-reference-issue-in-pycharmhttps://blog.csdn.net/u010899985/article/details/79482639

2.pip
指定当前路径为编辑路径:pip install -e . ;
需要写setup.py文档,见 https://www.cnblogs.com/lollipopnougat/p/14269046.htmlhttps://zhuanlan.zhihu.com/p/276461821

镜像配置

pip config set global.index-url https://mirrors.aliyun.com/pypi/simple
pip config set global.trusted-host mirrors.aliyun.com/pypi/simple

配置文件地址:

/home/user/.config/pip/pip.conf

whl包导出

# 1.进入安装位置 cd /home/gaoruimin/programs/Qwen3-TTS/qwen-tts/lib/python3.12/site-packages

# 2.找到需要导出的包

ls |grep flash_attn

结果一般显示如下: flash_attn flash_attn-2.8.3.dist-info flash_attn_2_cuda.cpython-312-x86_64-linux-gnu.so

# 拷贝info进包(害怕出问题可以创建tmp dir进行以下操作)

cp -r flash_attn-2.8.3.dist-info flash_attn

# 打包

python -m wheel pack flash_attn --dest-dir /home/gaoruimin/

3.anaconda
常用命令:https://www.cnblogs.com/gcxblogs/p/14669514.html
windows配置教程:https://blog.csdn.net/fly_enum/article/details/139753360

4.截图工具Snipaste
www.snipaste.com

5.git常用指令
https://geek-docs.com/git/git-top-articles/1004100_git_create_operation.html

6.xshell
快速指令集

7.ssh免费工具
WindTerm

posted on 2024-11-29 17:37  uestc001  阅读(37)  评论(0)    收藏  举报