From 09e7273e1b7da2ca3d091e731008250a2f1bc191 Mon Sep 17 00:00:00 2001 From: kasinadhsarma Date: Thu, 26 Dec 2024 12:23:02 +0530 Subject: [PATCH] Remove deprecated tensor type setting from another model; update default dtype and device configuration --- models/another_model.py | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 models/another_model.py diff --git a/models/another_model.py b/models/another_model.py deleted file mode 100644 index a6854d7..0000000 --- a/models/another_model.py +++ /dev/null @@ -1,8 +0,0 @@ - -# ...existing code... -# Replace deprecated torch.set_default_tensor_type() -# torch.set_default_tensor_type(torch.DoubleTensor) - -torch.set_default_dtype(torch.float64) -torch.set_default_device('cuda') # Replace 'cuda' with 'cpu' if not using GPU -# ...existing code... \ No newline at end of file