Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tensorrt_llm/_torch/modules/linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ def load_weight_shard(
# For integrated GPU systems (e.g., DGX Spark), CPU and GPU share limited physical memory.
# Avoiding device transfers reduces memory consumption and unnecessary data copies,
# enabling support for larger models on memory-constrained systems.
logger.warning(
f"[load_weight_shard] Skipping device transfer from {weight.device} to {device} on integrated GPU to conserve shared memory."
)
logger.warning_once(
f"[load_weight_shard] Skipping device transfer from {weight.device} to {device} on integrated GPU to conserve shared memory.",
key="load_weight_shard_skip_device_transfer_with_integrated_gpu")
device = weight.device
if isinstance(weight, torch.Tensor):
tensor_shape = weight.shape
Expand Down