You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python Zip and Strict = True is 3.10 only...fails on 3.9 with TypeError: zip() takes no keyword arguments #62
In parallelism/init.py, build mesh uses zip with the kwarg strict=True.
for d, name in zip(
[self.dp, self.sp, self.pp], ["dp", "sp", "pp"], strict=True
):
This is apparently 3.10+ keyword, and fails out in Python 3.9 with this error.
File "/opt/hpcaas/.mounts/fs-5c62ddab/home/less/tt2/./train.py", line 85, in main
world_mesh = parallel_dims.build_mesh(device_type="cuda")
File "/opt/hpcaas/.mounts/fs-5c62ddab/home/less/tt2/torchtrain/parallelisms/__init__.py", line 44, in build_mesh
for d, name in zip(
for d, name in zip(
TypeError: zip() takes no keyword arguments
We'll need to either require 3.10 in requirements.txt or else pass on using this keyword for now.
Activity
README: install FlexShard from flex_shard main