MickJ commited on
Commit
adf3042
·
1 Parent(s): 0cd41a9

Use SGLang main branch for Cosmos3 install

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -385,10 +385,10 @@ print("Saved image to /tmp/cosmos3_t2i.png")
385
 
386
  ### SGLang
387
 
388
- SGLang-Diffusion can serve `nvidia/Cosmos3-Super-Text2Image` through the OpenAI-compatible image generation endpoint. Install SGLang from source with diffusion dependencies, then start the server:
389
 
390
  ```bash
391
- git clone https://github.com/sgl-project/sglang.git
392
  cd sglang
393
  pip install -e "python[diffusion]"
394
  pip install "cosmos-guardrail==0.3.1"
@@ -398,6 +398,8 @@ sglang serve \
398
  --num-gpus 4
399
  ```
400
 
 
 
401
  Example text-to-image request:
402
 
403
  ```bash
 
385
 
386
  ### SGLang
387
 
388
+ SGLang-Diffusion can serve `nvidia/Cosmos3-Super-Text2Image` through the OpenAI-compatible image generation endpoint. Install SGLang from the main branch with diffusion dependencies, then start the server:
389
 
390
  ```bash
391
+ git clone --branch main https://github.com/sgl-project/sglang.git
392
  cd sglang
393
  pip install -e "python[diffusion]"
394
  pip install "cosmos-guardrail==0.3.1"
 
398
  --num-gpus 4
399
  ```
400
 
401
+ Cosmos 3 support in SGLang Diffusion currently requires the SGLang main branch. Switch to a stable SGLang release once Cosmos 3 support is included there.
402
+
403
  Example text-to-image request:
404
 
405
  ```bash