Skip to content

Commit 7a1205a

Browse files
committed
update doc string
Signed-off-by: Alex <[email protected]>
1 parent d15b6a2 commit 7a1205a

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
@@ -311,10 +311,6 @@ def init_parameters(self, module: nn.Module):
311311
with torch.device("meta"):
312312
self.model: PreTrainedModel = AutoModel.from_config(...)
313313
```
314-
315-
This means that:
316-
- `type(module)` is a class from `transformers`
317-
- This class is constructed using a `PretrainedConfig`
318314
"""
319315
for name, param in module.named_parameters(recurse=False):
320316
if param.device == torch.device("meta"):

0 commit comments

Comments
 (0)