Skip to content

移除依赖地板提升后不可达的兼容 shim(上下游错配 A 组) #1592

Description

@TATP-233

问题

unisim-core>=1.4.2 / unilab-rl==1.2.1 地板下,一批为旧上游准备的兼容 shim 已不可达(升级审计确认,逐项对照已安装上游验证):

  1. backend_factory.py:_legacy_genesis_device_option_error + TypeError 重试链(为 unisim-core <1.2);owner 侧 newton_\* 预 pop(1.4.2 共享 factory 已全部 pop);superdex_execution_mode 非默认才转发的旧版避让
  2. cli.py:superdex "requires unisim-core>=1.1.5" 的 ImportError 死守卫
  3. benchmark_replay_buffer_placement.py:硬编码清单仍报告 uni_rl 1.2.1 已删除的 supports_async_submit 及不存在的 xpu 后端分支
  4. 过时注释/文档:process_device.py、env_factory.py、7-newton.md(en/zh)、test_process_device.py 中 "uni_rl 1.0.0 gate 只覆盖 mjwarp" 等描述(1.2.1 已为注入式绑定)
  5. pyproject.toml superdex extra 元数据 >=1.4.0 对齐到 >=1.4.2

交付

删除/简化上述 shim,注释与文档改写为描述当前 1.2.1 注入式契约(非单纯删除);同步更新 test_superdex_backend_options、test_training_helpers、test_cli_runtime_requirements、test_replay_buffer_placement_benchmark。

依赖:#1591(dep bump)先行。

影响面

无行为变更(shim 在新地板下本不可达);后端/训练行为不变。

验收

版本引用扫描(1.1.5 / predate the Newton / only knows mjwarp / uni_rl 1.0.0)零残留;make test-all 通过。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions