Commit b8f15b4
committed
nvfp4tensor: improve printing
Summary:
Makes printing of linears with NVFP4 weights more descriptive, such as
```python
(gate_proj): Linear(in_features=2048, out_features=1408, weight=NVFP4Tensor(self._is_swizzled_scales=True, self.use_triton_kernel=False, self.act_quant_kwargs=None))
```
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
ghstack-source-id: b012e61
ghstack-comment-id: 3340883530
Pull Request resolved: #30861 parent 049eee2 commit b8f15b4
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
136 | 139 | | |
137 | 140 | | |
138 | 141 | | |
| |||
0 commit comments