Skip to content

Commit

Permalink
fix: Remove unused device gaudi.device
Browse files Browse the repository at this point in the history
  • Loading branch information
ironAiken2 committed Sep 3, 2024
1 parent bf7d666 commit 2bb3e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/backend-ai-session-launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2742,7 +2742,7 @@ export default class BackendAiSessionLauncher extends BackendAIPage {
this._NPUDeviceNameOnSlider = 'ATOM+';
this.npu_device_metric = atom_plus_device_metric;
}
if (item.key === 'gaudi2.device' || item.key === 'gaudi.device') {
if (item.key === 'gaudi2.device') {
const gaudi2_device_metric = { ...item };
gaudi2_device_metric.min = parseInt(gaudi2_device_metric.min);
if ('gaudi2.device' in this.userResourceLimit) {
Expand Down

0 comments on commit 2bb3e42

Please sign in to comment.