Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k committed Dec 4, 2024
1 parent 460ac17 commit e0409f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ async def normalize_gpu_configuration(self, attr, value, complete_config, contex
}
if not any(gpu['vendor'] != 'NVIDIA' for gpu in gpu_choices.values()):
value['use_all_gpus'] = False
value['kfd_device_exist'] = os.path.exists('/dev/kfd')
value['kfd_device_exists'] = os.path.exists('/dev/kfd')

for nvidia_gpu_pci_slot in list(value['nvidia_gpu_selection']):
if nvidia_gpu_pci_slot not in gpu_choices or gpu_choices[nvidia_gpu_pci_slot]['vendor'] != 'NVIDIA':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
],
{
'use_all_gpus': True,
'kfd_device_exist': False,
'kfd_device_exists': False,
'nvidia_gpu_selection': {
'0000:01:00.0': 'NVIDIA GPU 1',
'0000:02:00.0': 'NVIDIA GPU 2'
}
},
{
'use_all_gpus': False,
'kfd_device_exist': False,
'kfd_device_exists': False,
'nvidia_gpu_selection': {}
}
Expand All @@ -65,12 +65,12 @@
],
{
'use_all_gpus': True,
'kfd_device_exist': False,
'kfd_device_exists': False,
'nvidia_gpu_selection': {}
},
{
'use_all_gpus': True,
'kfd_device_exist': False,
'kfd_device_exists': False,
'nvidia_gpu_selection': {}
}
Expand Down Expand Up @@ -114,12 +114,12 @@
],
{
'use_all_gpus': True,
'kfd_device_exist': False,
'kfd_device_exists': False,
'nvidia_gpu_selection': {}
},
{
'use_all_gpus': True,
'kfd_device_exist': False,
'kfd_device_exists': False,
'nvidia_gpu_selection': {}
}
Expand Down

0 comments on commit e0409f6

Please sign in to comment.