vllm.utils.tensor_schema
¶
Classes:
TensorSchema
¶
Methods:
-
print_shapes–Print TensorShape annotations for debugging.
_validate_field(value, field_name, expected_shape, dynamic_dims, leading_idxs=())
¶
Validate a field and return the actual shape.
_validate_tensor_shape_expected(actual_shape, expected_shape, field_name, shape_env, dynamic_dims)
¶
Validate that the actual tensor shape matches the expected shape.
print_shapes()
¶
Print TensorShape annotations for debugging.