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
The `enable_cpu_affinity` property is missing in`SageMakerConfig` class:
https://github.com/huggingface/accelerate/blob/v0.30.0/src/accelerate/commands/config/config_args.py#L228-L243
But this property is expected by the config parser:
https://github.com/huggingface/accelerate/blob/v0.30.0/src/accelerate/commands/config/config_args.py#L148-L155
As a result, SageMaker config doesn't parse anymore producing the exception:ValueError: The config file at .../.cache/huggingface/accelerate/default_config.yaml had unknown keys (['enable_cpu_affinity']), please try upgrading your `accelerate` version or fix (and potentially remove) these keys from your config file.
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] One of the scripts in the examples/ folder of Accelerate or an officially supported `no_trainer` script in the `examples` folder of the `transformers` repo (such as `run_no_trainer_glue.py`)
- [ ] My own task or dataset (give details below)
### Reproduction
1. Create config with `compute_environment: AMAZON_SAGEMAKER` .
2. Run `accelerate config update`
### Expected behavior
Message `Sucessfully updated the configuration file`
The text was updated successfully, but these errors were encountered:
System Info
The text was updated successfully, but these errors were encountered: