Skip to content

Justjustifyjudge branch #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Made with [contrib.rocks](https://contrib.rocks).
- huggingface resources(包括如何换源/加速下载
- dataset resources
- NLP / CV / Audio / Recommendation System / Large Language Model
- 常见的tutorials
- 常见的tutorials,主要围绕有监督学习方向提供材料
- prompts的使用
- CUDA & NVIDIA
- src/cg(computer graphics):计算机图形学相关资料
Expand Down
12 changes: 11 additions & 1 deletion src/pl/pl.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
本章的内容是Programming Language,期待大佬补充内容。
本章的内容是Programming Language,期待大佬补充内容。
# gleam

- 函数式编程语言,用于编写可维护和可扩展的并发系统,属于BEAM家族,和Erlang和Elixir等基于Actor的并发模型和持久运行时,擅长低延迟、高并发、网络应用程序。
- 没有图形库不适合GUI程序,也不适合命令行程序。
# 代码速查表

- 一个开源的代码规范和基本语法速查工具,包含大部分主流编程语言,而且社区还比较有活力经常更新。直接使用可以访问[Page](https://wangchujiang.com/reference)。
- 也可以本地化部署,GitHub开源仓库地址为[[Github](https://github.com/Justjustifyjudge/reference.git)]。

- add
3 changes: 3 additions & 0 deletions src/sys/hpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
* 高性能计算学习路线:[[Github: zh-cn](https://heptagonhust.github.io/HPC-roadmap/)]
* [高等数值分析(高性能计算,并行计算)](https://math.ecnu.edu.cn/~jypan/Teaching/ParaComp/): 华东师范大学高等数值分析(高性能计算,并行计算)
* 超算习堂:[[zh-cn](https://www.easyhpc.net/)]
* [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编程的入门课程,可以作为高性能计算的入门课程,资料完善(视频、文档、字幕都很全),课后作业也很合适。
* 并行计算课程:
* CMU15-418 并行计算架构及编程:[[Bilibili](https://www.bilibili.com/video/BV1Xz4y1p7ZN)] [[课程主页](http://15418.courses.cs.cmu.edu/spring2016/lectures)]
* 伯克利CS267 并行计算应用:[[Bilibili: en](https://www.bilibili.com/video/BV1qV411q7RS)] [[课程主页](https://sites.google.com/lbl.gov/cs267-spr2018/home)]
* MIT6.172 软件系统性能优化:[[Bilibili](https://www.bilibili.com/video/BV1wA411h7N7)] [[课程主页](https://ocw.mit.edu/courses/6-172-performance-engineering-of-software-systems-fall-2018/)]
* Labs:
* CS149 并行计算(该课程与15-418一致) Lab:[[Github](https://github.com/stanford-cs149/asst1)]
* HPC101 Lab:[[主页](https://www.zjusct.io/HPC101-Labs-2022/)]
* 其他资源:
* [Rolf Rabenseifner拓扑算子的一种仿真实现](https://github.com/Justjustifyjudge/repo4mpi.git),根据Optimization of Collective Reduction Operations给出的拓扑图完成的不同逻辑拓扑的Allreduce算子。
### OpenMPI的安装
> 更多内容可以查看:https://docs.open-mpi.org/en/v5.0.x/installing-open-mpi/quickstart.html
1. OpenMPI的下载及解压: 在[OpenMPI官方主页](https://www-lb.open-mpi.org/software/ompi/v5.0/)找到合适版本的OpenMPI下载并解压
Expand Down
49 changes: 49 additions & 0 deletions src/useful/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,52 @@
Generating public/private rsa key pair.
Enter file in which to save the key (/your_home_path/.ssh/id_rsa):
```
- 下拉/提交远程仓库
- 查看远程仓库的信息:
```bash
git remote -v
```
可以看到远程仓库的名字和地址。
- 查看当前分支名:
```bash
git branch
```
可以看到当前代码分支的名字
- 从远程仓库下拉:
```bash
git pull <远程仓库的名字/地址> <代码的分支名>
```
- 冲突处理(苯人的笨方法)
```bash
git pull <远程仓库的名字/地址> <代码的分支名> --allow-unrelated-histories
```
然后使用
```bash
git status
```
查看冲突文件,手动解决冲突。
- 提交本地代码到远程仓库:
```bash
git push <远程仓库的名字/地址> <代码的分支名>
```
- 强制推送(苯人的笨方法,高风险,慎用):
```bash
git push -f <远程仓库的名字/地址> <代码的分支名>
```
- 推送tags到远程仓库:
```bash
git push --tags
```
- 删除远程分支:
```bash
git push origin --delete <分支名>
```
- 同步本地分支到远程仓库:
```bash
git push origin <本地分支名>:<远程分支名>
```
- 同步远程分支到本地仓库:
```bash
git checkout -b <本地分支名> <远程分支名>
```