贝隆

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2026年3月3日

摘要: ## 查看已有wsl wsl -l -o Ubuntu-20.04 Ubuntu 20.04 LTSUbuntu-22.04 Ubuntu 22.04 LTSUbuntu-24.04 Ubuntu 24.04 LTS ## 安装Ubuntu-24.04 wsl --install Ubuntu-24 阅读全文
posted @ 2026-03-03 09:43 贝隆 阅读(5) 评论(0) 推荐(0)

2026年2月18日

摘要: { "registry-mirrors": [ "https://docker.m.daocloud.io", "https://docker.1panel.live", "https://docker.unsee.tech", "https://hub.rat.dev", "https://doc 阅读全文
posted @ 2026-02-18 16:23 贝隆 阅读(6) 评论(0) 推荐(0)

2026年2月2日

摘要: 众所周知,WSL2子系统的文件系统是通过windows挂载磁盘中的vhdx实现的。。。默认情况下,它们都是保存在C盘。比如Ubuntu22.04放在: C:\Users\admin\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS 阅读全文
posted @ 2026-02-02 00:39 贝隆 阅读(57) 评论(0) 推荐(0)

2025年12月21日

摘要: apt update sudo apt install ubuntu-drivers-common pip install uv uv venv --python=3.12 source .venv/bin/activate git clone https://github.com/sgl-proj 阅读全文
posted @ 2025-12-21 00:00 贝隆 阅读(15) 评论(0) 推荐(0)

2025年12月19日

摘要: 国际平台 Google Colab 特点:基于云端的交互式编程环境,支持Jupyter Notebook,与Google Drive集成,适合机器学习和数据分析。 资源:提供多种GPU选项,如Nvidia K80、T4、P4和P100,显存约15GB。 使用限制:单次使用时长最多12小时,空闲超时为 阅读全文
posted @ 2025-12-19 00:15 贝隆 阅读(36) 评论(0) 推荐(0)

2025年12月12日

摘要: def generate_html_table(data, merged_regions=None, is_header=False): """ 根据二维数组和合并区域生成HTML表格 参数: data: 二维列表,表示表格数据 merged_regions: 列表,每个元素是(row_min, c 阅读全文
posted @ 2025-12-12 02:48 贝隆 阅读(11) 评论(0) 推荐(0)

2025年12月4日

摘要: cat /tmp/ray/session_latest/logs/dashboard_agent.logsudo apt install nvidia-utils-510 import ray import os ray.init() @ray.remote def f(x): return x * 阅读全文
posted @ 2025-12-04 00:27 贝隆 阅读(6) 评论(0) 推荐(0)

2025年11月5日

摘要: import json from collections import defaultdict from typing import List, Dict, Any, Optional from docx import Document from llama_index.core.schema im 阅读全文
posted @ 2025-11-05 23:44 贝隆 阅读(9) 评论(0) 推荐(0)

2025年10月28日

摘要: https://blog.csdn.net/The_Thieves/article/details/148650416?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~defaul 阅读全文
posted @ 2025-10-28 23:35 贝隆 阅读(6) 评论(0) 推荐(0)

2025年10月19日

摘要: from llama_index.core import Document from typing import Dict, Any, Optional, List from pydantic import Field import json class CustomDocument(Documen 阅读全文
posted @ 2025-10-19 22:00 贝隆 阅读(13) 评论(0) 推荐(0)