Lightweight test with 8GB GPU
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- linux, python, ubuntu
- Domain
- documentation
Research direction
Read the reported demo.py loading path and compare it with the command and environment details in this issue. There is no requested file change or defined completion condition; a contribution would need an agreed documentation location and scope for recording the 8GB GPU workflow.
Written by the indexing model from the issue text.
Description
I have successfully run lingbot-map in my environment.
Here is informations, hope it helps others.
Environment
| Item | Detail |
|---|---|
| Machine | Dell G15 5530 Laptop |
| GPU | NVIDIA RTX4060 Laptop 8GB |
| OS | Ubuntu 22.04 + 6.0.0-1020-oem kernel + Xfce X11 gdm3 |
| NVIDIA DRIVER | 580-server |
Modifications
- Use only 21 frames of example/courthouse.
- In load_model(demo.py), load the model to CPU first, then transfer to GPU to avoid memory peak.
- Use Chrome instead of Firefox. Firefox may be incompatible with Viser, causing the point cloud to fail to render.
CMD and Log
python demo.py --model_path ../models/lingbot-map-long.pt --image_folder example/courthouse_0_20 --use_sdpa --offload_to_cpu --mask_sky
Loading 21 images...
Loading images: 100%|████████████████████████████████████████████████████████████████████████████████████████████| 21/21 [00:00<00:00, 509.37it/s]
Preprocessed images to 518x294 using canonical crop mode
/home/jcy/miniconda3/envs/lingbot-map/lib/python3.10/site-packages/tvm_ffi/_optional_torch_c_dlpack.py:181: UserWarning: Failed to JIT torch c dlpack extension, EnvTensorAllocator will not be enabled.
We recommend installing via pip install torch-c-dlpack-ext
warnings.warn(
Building model...
pretrained_path:
Failed to load pretrained weights: [Errno 2] No such file or directory: ''
Loading checkpoint: ../models/lingbot-map-long.pt
Checkpoint loaded.
Total load time: 9.4s
Casting aggregator to torch.bfloat16 (heads kept in fp32)
Input: 21 frames, shape (21, 3, 294, 518)
Mode: streaming
GPU mem after load: alloc=2.85 GB, reserved=2.88 GB
Running streaming inference (dtype=torch.bfloat16)...
Streaming inference: 100%|████████████████████████████████████████████████████████████████████████████████████████| 21/21 [00:02<00:00, 4.63it/s]
Inference done in 5.4s
GPU peak during inference: 6.02 GB (reserved peak 6.42 GB)
Moving results to CPU...
╭────── viser (listening *:8080) ───────╮
│ ╷ │
│ HTTP │ http://localhost:8080 │
│ Websocket │ ws://localhost:8080 │
│ ╵ │
╰───────────────────────────────────────╯
Generating sky masks from image array...
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████| 21/21 [00:00<00:00, 784.82it/s]
Sky segmentation applied successfully
Screenshot
- Dominant language
- Python
- Stars
- 17.1k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Robbyant/lingbot-map
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Robbyant/lingbot-map#107 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Robbyant/lingbot-map#86 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Robbyant/lingbot-map#22 · 2 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Robbyant/lingbot-map#4 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Robbyant/lingbot-map#105 · 2 comments ·
All issues in Robbyant/lingbot-map
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100