sparseml
sparseml copied to clipboard
update get_named_layers_and_params_by_regex in src/sparseml/pytorch/u…
Update get_named_layers_and_params_by_regex in src/sparseml/pytorch/utils/helpers.py to still match in the DDP training case, where module. is prepended to layer names. I came across this issue when trying to run the suggested training command in src/sparseml/pytorch/torchvision on multiple GPUs.