[AMD-SMI] [SWDEV-553392] Removed Driver Reload capability from amd-smi cli only. (#2665)
* Removed Driver Reload capability from amd-smi cli only Signed-off-by: yalmusaf_amdeng <Yazen.ALMusaffar@amd.com> * Updates Signed-off-by: yalmusaf_amdeng <Yazen.ALMusaffar@amd.com> * updates Signed-off-by: yalmusaf_amdeng <Yazen.ALMusaffar@amd.com> * Update CHANGELOG.md --------- Signed-off-by: yalmusaf_amdeng <Yazen.ALMusaffar@amd.com> Co-authored-by: Maisam Arif <Maisam.Arif@amd.com>
This commit is contained in:
committato da
GitHub
parent
a66c6ca156
commit
b7829db10a
@@ -41,7 +41,13 @@ Full documentation for amd_smi_lib is available at [https://rocm.docs.amd.com/pr
|
||||
|
||||
### Removed
|
||||
|
||||
- N/A
|
||||
- **Removed `amd-smi reset --reload-driver` option from CLI only.**
|
||||
- Use modprobe to reload driver, e.g.,
|
||||
```bash
|
||||
sudo modprobe -r amdgpu
|
||||
sudo modprobe amdgpu
|
||||
```
|
||||
- For historical reference; this option has been removed [<i><b>Separated driver reload from `amdsmi_set_gpu_memory_partition()` / `amdsmi_set_gpu_memory_partition_mode()` and CLI (`sudo amd-smi set -M <NPS mode>`)</b></i>](#separate-driver-reload-anchor)
|
||||
|
||||
### Optimized
|
||||
|
||||
|
||||
@@ -1475,7 +1475,7 @@ class AMDSMIParser(argparse.ArgumentParser):
|
||||
reset_perf_det_help = "Disable performance determinism"
|
||||
reset_power_cap_help = "Reset the PPT0 and PPT1 power capacity limit to max capable"
|
||||
reset_gpu_clean_local_data_help = "Clean up local data in LDS/GPRs on a per partition basis"
|
||||
reset_gpu_driver_help = "Triggers a chain that resets all GPU's"
|
||||
|
||||
|
||||
# Create reset subparser
|
||||
reset_parser = subparsers.add_parser('reset', help=reset_help, description=reset_subcommand_help)
|
||||
@@ -1498,7 +1498,7 @@ class AMDSMIParser(argparse.ArgumentParser):
|
||||
|
||||
# Add Baremetal and Virtual OS reset arguments
|
||||
reset_exclusive_group.add_argument('-l', '--clean-local-data', action='store_true', required=False, help=reset_gpu_clean_local_data_help)
|
||||
reset_exclusive_group.add_argument('-r', '--reload-driver', action='store_true', required=False, help=reset_gpu_driver_help)
|
||||
|
||||
|
||||
# Reset accepts default devices of all
|
||||
self._add_device_arguments(reset_parser, required=False)
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user