- 博客(10)
- 问答 (1)
- 收藏
- 关注
原创 远程转发Jupyter
目的:代码在远程服务器上运行,本地主机打开服务器上的Jupyter。设置SSH隧道的同时,将本地端口转发到远程端口。因为通过root登录,所以还添加了。
2024-08-01 12:41:07
301
原创 Pytorch | 找不到显卡设备 | RuntimeError: device >= 0 && device < num_gpus INTERNAL ASSERT FAILED at “/opt/c
汇总 运行pytorch找不到GPU的错误情况下的几种解决方法
2024-07-16 19:58:13
1725
原创 保证Redis与MySQL中的数据双写一致性 | 笔记
性能要求高,数据一致性要求没有那么高得时候,还是采用先更后删的策略。数据一致性要求高,且性能有一定容忍度的时候,采取双延迟删除的策略。数据一致性要求再高一些,采取删除重试的策略。最极端就是加锁,但是一般不会采取。Redis中的数据与MySQL中的数据不一样。↩︎缓存的写入速度远大于数据库的写入,故此很少存在:A还在进行缓存的写入,而B完成了数据库到缓存的写入。↩︎。
2024-06-26 16:00:17
476
原创 无法启动docker | “Job for docker.service failed because the control process exited with error code“
无法启动docker 报错["Job for docker.service failed because the control process exited with error code"](https://stackoverflow.com/questions/55906503/docker-how-to-fix-job-for-docker-service-failed-because-the-control-process-ex)
2024-05-09 10:02:52
6186
4
原创 无法使用docker|ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker
无法使用docker:ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
2024-05-09 10:01:12
2429
原创 docker无法拉取(pull)镜像 | 校园网 | 内网 | 代理 | Error response from daemon: Get https://registry-1.docker.io/v2
解决docker拉取镜像问题之一
2024-05-08 23:51:55
5772
1
while (~scanf("%c\n", &ch)) 出错
2022-02-27
TA创建的收藏夹 TA关注的收藏夹
TA关注的人