MCPcopy Create free account
hub / github.com/OpenSparseLLMs/MoM / world_size

Method world_size

lm-eval-harness/lm_eval/api/model.py:144–148  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected