File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -346,8 +346,8 @@ function _handle_test()
346
346
local notebook_id=
347
347
348
348
# Due to existing logic - cuda accelerator value needs to be treated as empty string
349
- local accelerator_flavor =" ${accelerator_flavor} "
350
- accelerator_flavor =" ${accelerator_flavor## ' cuda' } "
349
+ local accelerator =" ${accelerator_flavor} "
350
+ accelerator =" ${accelerator_flavor## ' cuda' } "
351
351
352
352
353
353
case " ${notebook_workload_name} " in
@@ -361,10 +361,10 @@ function _handle_test()
361
361
notebook_id=" ${jupyter_trustyai_notebook_id} "
362
362
;;
363
363
* ${jupyter_tensorflow_notebook_id} -* )
364
- notebook_id=" ${accelerator_flavor : +$accelerator_flavor / }${jupyter_tensorflow_notebook_id} "
364
+ notebook_id=" ${accelerator : +$accelerator / }${jupyter_tensorflow_notebook_id} "
365
365
;;
366
366
* ${jupyter_pytorch_notebook_id} -* )
367
- notebook_id=" ${accelerator_flavor : +$accelerator_flavor / }${jupyter_pytorch_notebook_id} "
367
+ notebook_id=" ${accelerator : +$accelerator / }${jupyter_pytorch_notebook_id} "
368
368
;;
369
369
* )
370
370
printf ' %s\n' " No matching condition found for ${notebook_workload_name} ."
You can’t perform that action at this time.
0 commit comments