diff --git a/form.js b/form.js
index a65e1a2c4d4bb0a7b78c2f72cac9313e99f70c82..066689468f1ecaab0016b0c1f9d6275311edc6eb 100644
--- a/form.js
+++ b/form.js
@@ -6,7 +6,7 @@ function set_partition_change_handler() {
 }
 
 function toggle_gpu_visibility(event) {
-  const show = /pascalnodes/.test(event.target.value);
+  const show = /pascal|ampere/.test(event.target.value);
   const selector = '#batch_connect_session_context_bc_num_gpus';
   toggle_visibilty_of_form_group(selector, show);
 }