Skip to content

Commit 6026465

Browse files
committed
update doc string
Signed-off-by: Alex <[email protected]>
1 parent 43a9074 commit 6026465

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

vllm/model_executor/models/transformers.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,6 @@ def init_parameters(self, module: nn.Module):
310310
with torch.device("meta"):
311311
self.model: PreTrainedModel = AutoModel.from_config(...)
312312
```
313-
314-
This means that:
315-
- `type(module)` is a class from `transformers`
316-
- This class is constructed using a `PretrainedConfig`
317313
"""
318314
for name, param in module.named_parameters(recurse=False):
319315
if param.device == torch.device("meta"):

0 commit comments

Comments
 (0)