SteEsp commited on
Commit
8407819
·
verified ·
1 Parent(s): ead6ea5

Switch demo to viser server mode — render frames GPU-side, no client WebGL

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -75,6 +75,8 @@ RUN pip install --no-build-isolation --no-deps -e .
75
  # viser serves the GUI here — must equal app_port in README.md.
76
  EXPOSE 7860
77
 
78
- # client mode: viser ships the splats to the browser's WebGL renderer, so the
79
- # GPU is used only for optimization. viser binds 0.0.0.0 by default.
80
- CMD ["python", "demo.py", "--with-gui", "client", "--gui-port", "7860"]
 
 
 
75
  # viser serves the GUI here — must equal app_port in README.md.
76
  EXPOSE 7860
77
 
78
+ # server mode: the optgs decoder renders frames on the GPU and viser streams
79
+ # them as images no multi-MB splat-geometry transfer to the browser and no
80
+ # client-side WebGL, which is far more robust behind HF's HTTP/2 proxy.
81
+ # viser binds 0.0.0.0 by default.
82
+ CMD ["python", "demo.py", "--with-gui", "server", "--gui-port", "7860"]