Document migration to the Model repository and retain legacy downloads
Browse files- README.md +7 -3
- README_zh.md +7 -3
README.md
CHANGED
|
@@ -14,13 +14,15 @@ pretty_name: Quantized LingBot-Map artifacts
|
|
| 14 |
|
| 15 |
<p align="center"><img src="assets/icon.svg" width="96" alt="Quantized LingBot-Map"></p>
|
| 16 |
|
| 17 |
-
# Quantized LingBot-Map
|
| 18 |
|
| 19 |
[中文](README_zh.md) · [GitHub code and full instructions](https://github.com/shuinb/Quantized-LingBot-Map)
|
| 20 |
|
|
|
|
|
|
|
| 21 |
Project artifacts for streaming 3D mapping: **source code, recorded results and the calibrated DSFQ checkpoint**. DSFQ combines Hadamard rotation, channel smoothing and learned weight/activation clipping for W4A4 GCT Linear layers.
|
| 22 |
|
| 23 |
-
## Files
|
| 24 |
|
| 25 |
| Path | Content |
|
| 26 |
|---|---|
|
|
@@ -40,13 +42,15 @@ Install the project following its [GitHub README](https://github.com/shuinb/Quan
|
|
| 40 |
|
| 41 |
```bash
|
| 42 |
hf download shuinb/Quantized-LingBot-Map models/dsfq/model.pt \
|
| 43 |
-
--
|
| 44 |
|
| 45 |
export CUDA_VISIBLE_DEVICES=0
|
| 46 |
python -m qmap infer --method dsfq --deployment models/dsfq/model.pt \
|
| 47 |
--images data/xyz/images --start 64 --frames 732 --output runs/xyz_dsfq
|
| 48 |
```
|
| 49 |
|
|
|
|
|
|
|
| 50 |
For your own chronologically named images, change `--images`, use `--start 0` and set `--frames` to the image count. Run one GPU job at a time. The automatic backend uses native S4 on SM8x GPUs such as RTX 3080, and 4-bit codes with INT8 GEMM on other supported CUDA GPUs. Native S4 requires the CUDA toolkit and CUTLASS; see GitHub for setup.
|
| 51 |
|
| 52 |
The BF16 reference uses the original [robbyant/lingbot-map](https://huggingface.co/robbyant/lingbot-map) checkpoint. Direct calibrated W4A4 can be reproduced with `python -m qmap calibrate --method w4a4` using the source project's independent calibration configuration.
|
|
|
|
| 14 |
|
| 15 |
<p align="center"><img src="assets/icon.svg" width="96" alt="Quantized LingBot-Map"></p>
|
| 16 |
|
| 17 |
+
# Quantized LingBot-Map (legacy Dataset repository)
|
| 18 |
|
| 19 |
[中文](README_zh.md) · [GitHub code and full instructions](https://github.com/shuinb/Quantized-LingBot-Map)
|
| 20 |
|
| 21 |
+
**DSFQ weights and current project artifacts have moved to the [Model repository](https://huggingface.co/shuinb/Quantized-LingBot-Map).** Use that repository for new downloads. Files in this Dataset repository remain available so existing links and commands continue to work.
|
| 22 |
+
|
| 23 |
Project artifacts for streaming 3D mapping: **source code, recorded results and the calibrated DSFQ checkpoint**. DSFQ combines Hadamard rotation, channel smoothing and learned weight/activation clipping for W4A4 GCT Linear layers.
|
| 24 |
|
| 25 |
+
## Files from the original Dataset release
|
| 26 |
|
| 27 |
| Path | Content |
|
| 28 |
|---|---|
|
|
|
|
| 42 |
|
| 43 |
```bash
|
| 44 |
hf download shuinb/Quantized-LingBot-Map models/dsfq/model.pt \
|
| 45 |
+
--local-dir .
|
| 46 |
|
| 47 |
export CUDA_VISIBLE_DEVICES=0
|
| 48 |
python -m qmap infer --method dsfq --deployment models/dsfq/model.pt \
|
| 49 |
--images data/xyz/images --start 64 --frames 732 --output runs/xyz_dsfq
|
| 50 |
```
|
| 51 |
|
| 52 |
+
The command above downloads from the Model repository. Earlier commands with `--repo-type dataset` still retrieve the original Dataset copy.
|
| 53 |
+
|
| 54 |
For your own chronologically named images, change `--images`, use `--start 0` and set `--frames` to the image count. Run one GPU job at a time. The automatic backend uses native S4 on SM8x GPUs such as RTX 3080, and 4-bit codes with INT8 GEMM on other supported CUDA GPUs. Native S4 requires the CUDA toolkit and CUTLASS; see GitHub for setup.
|
| 55 |
|
| 56 |
The BF16 reference uses the original [robbyant/lingbot-map](https://huggingface.co/robbyant/lingbot-map) checkpoint. Direct calibrated W4A4 can be reproduced with `python -m qmap calibrate --method w4a4` using the source project's independent calibration configuration.
|
README_zh.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
-
# Quantized LingBot-Map
|
| 2 |
|
| 3 |
[English](README.md) · [GitHub 源码和完整用法](https://github.com/shuinb/Quantized-LingBot-Map)
|
| 4 |
|
|
|
|
|
|
|
| 5 |
本仓库存放流式三维建图项目的**源码、已记录结果和校准后的 DSFQ 权重**。DSFQ 在 GCT Linear 的 W4A4 量化中使用 Hadamard 旋转、通道平滑和可学习的权重/激活裁剪。
|
| 6 |
|
| 7 |
-
## 文件
|
| 8 |
|
| 9 |
| 路径 | 内容 |
|
| 10 |
|---|---|
|
|
@@ -24,13 +26,15 @@
|
|
| 24 |
|
| 25 |
```bash
|
| 26 |
hf download shuinb/Quantized-LingBot-Map models/dsfq/model.pt \
|
| 27 |
-
--
|
| 28 |
|
| 29 |
export CUDA_VISIBLE_DEVICES=0
|
| 30 |
python -m qmap infer --method dsfq --deployment models/dsfq/model.pt \
|
| 31 |
--images data/xyz/images --start 64 --frames 732 --output runs/xyz_dsfq
|
| 32 |
```
|
| 33 |
|
|
|
|
|
|
|
| 34 |
使用自己的图像时,提供按时间顺序命名的图像文件夹,将 `--start` 改为 `0`,`--frames` 改为实际帧数。每次仅运行一项 GPU 任务。自动后端在 RTX 3080 等 SM8x GPU 上使用原生 S4,在其他支持的 CUDA GPU 上使用 4-bit 码值+INT8 GEMM。原生 S4 需要 CUDA toolkit 和 CUTLASS,安装说明见 GitHub。
|
| 35 |
|
| 36 |
BF16 参照使用上游 [robbyant/lingbot-map](https://huggingface.co/robbyant/lingbot-map) 权重。直接校准 W4A4 可通过源码的独立校准配置与 `python -m qmap calibrate --method w4a4` 复现。
|
|
|
|
| 1 |
+
# Quantized LingBot-Map(旧 Dataset 仓库)
|
| 2 |
|
| 3 |
[English](README.md) · [GitHub 源码和完整用法](https://github.com/shuinb/Quantized-LingBot-Map)
|
| 4 |
|
| 5 |
+
**DSFQ 权重和当前项目文件已迁至 [Model 仓库](https://huggingface.co/shuinb/Quantized-LingBot-Map)。** 新下载请使用模型仓库。本 Dataset 中的已有文件继续保留,兼容旧链接和旧命令。
|
| 6 |
+
|
| 7 |
本仓库存放流式三维建图项目的**源码、已记录结果和校准后的 DSFQ 权重**。DSFQ 在 GCT Linear 的 W4A4 量化中使用 Hadamard 旋转、通道平滑和可学习的权重/激活裁剪。
|
| 8 |
|
| 9 |
+
## 原 Dataset 发布文件
|
| 10 |
|
| 11 |
| 路径 | 内容 |
|
| 12 |
|---|---|
|
|
|
|
| 26 |
|
| 27 |
```bash
|
| 28 |
hf download shuinb/Quantized-LingBot-Map models/dsfq/model.pt \
|
| 29 |
+
--local-dir .
|
| 30 |
|
| 31 |
export CUDA_VISIBLE_DEVICES=0
|
| 32 |
python -m qmap infer --method dsfq --deployment models/dsfq/model.pt \
|
| 33 |
--images data/xyz/images --start 64 --frames 732 --output runs/xyz_dsfq
|
| 34 |
```
|
| 35 |
|
| 36 |
+
上面的命令从 Model 仓库下载;此前带有 `--repo-type dataset` 的命令仍可获取旧 Dataset 中保留的文件。
|
| 37 |
+
|
| 38 |
使用自己的图像时,提供按时间顺序命名的图像文件夹,将 `--start` 改为 `0`,`--frames` 改为实际帧数。每次仅运行一项 GPU 任务。自动后端在 RTX 3080 等 SM8x GPU 上使用原生 S4,在其他支持的 CUDA GPU 上使用 4-bit 码值+INT8 GEMM。原生 S4 需要 CUDA toolkit 和 CUTLASS,安装说明见 GitHub。
|
| 39 |
|
| 40 |
BF16 参照使用上游 [robbyant/lingbot-map](https://huggingface.co/robbyant/lingbot-map) 权重。直接校准 W4A4 可通过源码的独立校准配置与 `python -m qmap calibrate --method w4a4` 复现。
|