Skip to content

Commit 8f485b1

Browse files
authored
docs: Update dynamo_run.md with the information how to resolve ModuleNotFou… (#1691)
1 parent 82eae1f commit 8f485b1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/guides/dynamo_run.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,22 @@ To pass extra arguments to the vllm engine see [Extra engine arguments](#extra-e
411411

412412
vllm attempts to allocate enough KV cache for the full context length at startup. If that does not fit in your available memory pass `--context-length <value>`.
413413

414+
If you see an error similar to the following:
415+
```text
416+
2025-06-28T00:32:32.507Z WARN dynamo_run::subprocess: Traceback (most recent call last):
417+
2025-06-28T00:32:32.507Z WARN dynamo_run::subprocess: File "/tmp/.tmpYeq5qA", line 29, in <module>
418+
2025-06-28T00:32:32.507Z WARN dynamo_run::subprocess: from dynamo.llm import ModelType, WorkerMetricsPublisher, register_llm
419+
2025-06-28T00:32:32.507Z WARN dynamo_run::subprocess: ModuleNotFoundError: No module named 'dynamo'
420+
```
421+
Then run
422+
```
423+
uv pip install maturin
424+
pip install patchelf
425+
cd lib/bindings/python
426+
maturin develop
427+
```
428+
this builds the Python->Rust bindings into that missing dynamo module. Rerun dynamo-run, the problem should be resolved.
429+
414430
**Multi-GPU**
415431

416432
Pass `--tensor-parallel-size <NUM-GPUS>` to `dynamo-run`.

0 commit comments

Comments
 (0)