linhongyu510
linhongyu510
This looks already fixed on `main`. `_cast_types_to_schema` now skips `Any`-typed columns instead of calling the type as a constructor: https://github.com/pathwaycom/pathway/blob/main/python/pathway/io/http/_server.py#L481-L482 ```python exact_type = unoptionalize(dtype).typehint if exact_type is Any: continue payload[column]...
I independently reproduced this on current `main` and traced both dangling-reference paths. I also prepared and locally validated an equivalent complete fix, but I noticed your branch is already ready,...
补充一次基于当前 `master`、教程初始提交和上游源码的依赖审计。这个报错不一定表示 `sentence-transformers` 没有安装,更可能是其**内部导入失败被 LangChain 包装成了通用提示**。 ### 证据 当前教程从初始提交 `5877a4145103` 起就同时包含: ```bash pip install -U huggingface_hub pip install langchain==0.0.292 pip install sentence-transformers==2.2.2 ``` 所以简单重复添加 `pip install sentence-transformers` 不能解决版本契约问题。 `sentence-transformers==2.2.2` 的...
确认该问题成立,但有一个需要澄清的 PyTorch 契约细节:`nn.Embedding` 并不会拒绝 `(B, S, 1)`。官方文档说明输入可以是任意形状 `(*)` 的整型索引张量,输出是在输入形状末尾追加 `embedding_dim`,即 `(*, H)`: https://docs.pytorch.org/docs/stable/generated/torch.nn.Embedding.html 因此,对本章模型而言必须使用 `(B, S)`,原因是模型整体只接受两维 token id,而不是 Embedding API 本身只允许二维输入。 我用隔离安装的 PyTorch 2.13.0 做了最小复现(`B=2, S=3, E=4`): ```text idx (B,S)...
补充一下当前主分支状态,避免后续读者重复实现: - Issue 指向的 `code/C8/rag_modules/retrieval_optimization.py` 目前仍使用 `BM25Retriever.from_documents(self.chunks, k=5)`,没有传入中文 `preprocess_func`;`code/C8/requirements.txt` 也没有 `jieba`。因此“C8 对连续中文查询分词不足”的现象仍然成立。 - 但维护者在上面说明该处有意保持教学主流程简洁后,工程化版本已经通过 #106 合入 `code/C9/rag_modules/hybrid_retrieval.py`(merge commit `b3d0d7db64`):当前 C9 使用 `jieba` + `rank_bm25.BM25Okapi`,并把 BM25 与双层检索、向量检索通过 RRF 融合;`code/C9/requirements.txt` 也已包含 `jieba>=0.42.1`。...
I verified this against `main` (`f1003e1`) before commenting, because two things in the report needed checking: whether the four locations are accurate, and whether "fully backward compatible" holds. Both check...
我对当前 `main`(`b82fde0`)做了可重复的 Markdown 本地资源检查,已定位到一个具体章节中的 3 类问题: 目标文件:`06-策略抓取或抓取VLA/大模型控制、VLA、VLM/04mujoco复现ACT、Pi0、SmolVLA/README.md` 1. **回放入口已经失效**:README 的“2. 回放数据”仍链接 `2.visualize_data.ipynb`,但该文件不存在。Git 历史显示它在 `45fbd94` 中被重命名为 `2.visualize_data-omy.ipynb`,当前目录另有 `2.visualize_data-nova5.ipynb` 与 `2.visualize_data-xarm7.ipynb`。因此这里更适合明确列出三个机器人入口,而不是猜测恢复旧文件名。 2. **两条训练命令缺少配置文件**:README 和 `7.pi0.ipynb` / `8.smolvla.ipynb` 分别引用 `pi0_datawhale_eai.yaml`、`smolvla_datawhale_eai.yaml`,但仓库当前及 Git 历史中均找不到这两个文件。直接执行文档命令会在配置加载前因路径不存在而失败。Notebook/README 内虽有...
I reproduced this on current `main` (`ba1a963`). The executor still creates `AbortSignal.timeout(timeout)` once in `requestOptions` before the retry loop, and a Node 22 probe confirms the second attempt starts with...
I can take this. I reproduced the snapshot containing only the root symlink. The patch dereferences only mutable-root symlinks for size accounting and snapshot copy, records the original link target,...
Opened #11031 for this. Confirmed the ordering in `BoundedDecode::push`: after an exact-fit stream, a zero-length trailing chunk reached the `input_budget == Some` / `remaining == 0` branch, set `stopped_early =...