Skip to content

Commit 4640f9c

Browse files
authored
Merge pull request #41 from Justjustifyjudge/linyifan_branch
Justjustifyjudge branch
2 parents 95a02b7 + b078f64 commit 4640f9c

File tree

4 files changed

+64
-2
lines changed

4 files changed

+64
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Made with [contrib.rocks](https://contrib.rocks).
3030
- huggingface resources(包括如何换源/加速下载
3131
- dataset resources
3232
- NLP / CV / Audio / Recommendation System / Large Language Model
33-
- 常见的tutorials
33+
- 常见的tutorials,主要围绕有监督学习方向提供材料
3434
- prompts的使用
3535
- CUDA & NVIDIA
3636
- src/cg(computer graphics):计算机图形学相关资料

src/pl/pl.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
本章的内容是Programming Language,期待大佬补充内容。
1+
本章的内容是Programming Language,期待大佬补充内容。
2+
# gleam
3+
4+
- 函数式编程语言,用于编写可维护和可扩展的并发系统,属于BEAM家族,和Erlang和Elixir等基于Actor的并发模型和持久运行时,擅长低延迟、高并发、网络应用程序。
5+
- 没有图形库不适合GUI程序,也不适合命令行程序。
6+
# 代码速查表
7+
8+
- 一个开源的代码规范和基本语法速查工具,包含大部分主流编程语言,而且社区还比较有活力经常更新。直接使用可以访问[Page](https://wangchujiang.com/reference)
9+
- 也可以本地化部署,GitHub开源仓库地址为[[Github](https://github.com/Justjustifyjudge/reference.git)]
10+
11+
- add

src/sys/hpc.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@
33
* 高性能计算学习路线:[[Github: zh-cn](https://heptagonhust.github.io/HPC-roadmap/)]
44
* [高等数值分析(高性能计算,并行计算)](https://math.ecnu.edu.cn/~jypan/Teaching/ParaComp/): 华东师范大学高等数值分析(高性能计算,并行计算)
55
* 超算习堂:[[zh-cn](https://www.easyhpc.net/)]
6+
* [UTAustinX UT.PHP.16.01xLAFF-On](https://learning.edx.org/course/course-v1:UTAustinX+UT.PHP.16.01x+1T2020/home) Programming for High Performance, 一个基于mpi编程的入门课程,可以作为高性能计算的入门课程,资料完善(视频、文档、字幕都很全),课后作业也很合适。
67
* 并行计算课程:
78
* CMU15-418 并行计算架构及编程:[[Bilibili](https://www.bilibili.com/video/BV1Xz4y1p7ZN)] [[课程主页](http://15418.courses.cs.cmu.edu/spring2016/lectures)]
89
* 伯克利CS267 并行计算应用:[[Bilibili: en](https://www.bilibili.com/video/BV1qV411q7RS)] [[课程主页](https://sites.google.com/lbl.gov/cs267-spr2018/home)]
910
* MIT6.172 软件系统性能优化:[[Bilibili](https://www.bilibili.com/video/BV1wA411h7N7)] [[课程主页](https://ocw.mit.edu/courses/6-172-performance-engineering-of-software-systems-fall-2018/)]
1011
* Labs:
1112
* CS149 并行计算(该课程与15-418一致) Lab:[[Github](https://github.com/stanford-cs149/asst1)]
1213
* HPC101 Lab:[[主页](https://www.zjusct.io/HPC101-Labs-2022/)]
14+
* 其他资源:
15+
* [Rolf Rabenseifner拓扑算子的一种仿真实现](https://github.com/Justjustifyjudge/repo4mpi.git),根据Optimization of Collective Reduction Operations给出的拓扑图完成的不同逻辑拓扑的Allreduce算子。
1316
### OpenMPI的安装
1417
> 更多内容可以查看:https://docs.open-mpi.org/en/v5.0.x/installing-open-mpi/quickstart.html
1518
1. OpenMPI的下载及解压: 在[OpenMPI官方主页](https://www-lb.open-mpi.org/software/ompi/v5.0/)找到合适版本的OpenMPI下载并解压

src/useful/git.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,52 @@
2828
Generating public/private rsa key pair.
2929
Enter file in which to save the key (/your_home_path/.ssh/id_rsa):
3030
```
31+
- 下拉/提交远程仓库
32+
- 查看远程仓库的信息:
33+
```bash
34+
git remote -v
35+
```
36+
可以看到远程仓库的名字和地址。
37+
- 查看当前分支名:
38+
```bash
39+
git branch
40+
```
41+
可以看到当前代码分支的名字
42+
- 从远程仓库下拉:
43+
```bash
44+
git pull <远程仓库的名字/地址> <代码的分支名>
45+
```
46+
- 冲突处理(苯人的笨方法)
47+
```bash
48+
git pull <远程仓库的名字/地址> <代码的分支名> --allow-unrelated-histories
49+
```
50+
然后使用
51+
```bash
52+
git status
53+
```
54+
查看冲突文件,手动解决冲突。
55+
- 提交本地代码到远程仓库:
56+
```bash
57+
git push <远程仓库的名字/地址> <代码的分支名>
58+
```
59+
- 强制推送(苯人的笨方法,高风险,慎用):
60+
```bash
61+
git push -f <远程仓库的名字/地址> <代码的分支名>
62+
```
63+
- 推送tags到远程仓库:
64+
```bash
65+
git push --tags
66+
```
67+
- 删除远程分支:
68+
```bash
69+
git push origin --delete <分支名>
70+
```
71+
- 同步本地分支到远程仓库:
72+
```bash
73+
git push origin <本地分支名>:<远程分支名>
74+
```
75+
- 同步远程分支到本地仓库:
76+
```bash
77+
git checkout -b <本地分支名> <远程分支名>
78+
```
79+

0 commit comments

Comments
 (0)