(self)
| 142 | |
| 143 | @property |
| 144 | def world_size(self): |
| 145 | # used in the case of parallelism. Hardcoded to |
| 146 | # ensure no errors arise using API models which do |
| 147 | # not support multi-device parallelism nor expect it. |
| 148 | return self._world_size |
| 149 | |
| 150 | def set_cache_hook(self, cache_hook) -> None: |
| 151 | self.cache_hook = cache_hook |
nothing calls this directly
no outgoing calls
no test coverage detected