Shaltiel commited on
Commit
d68a8bb
1 Parent(s): d53097b

Removed GPTQ size factor

Browse files
Files changed (1) hide show
  1. src/submission/check_validity.py +0 -2
src/submission/check_validity.py CHANGED
@@ -69,8 +69,6 @@ def get_model_size(model_info: ModelInfo, precision: str):
69
  except (AttributeError, TypeError):
70
  raise ValueError("Couldn't detect number of params in the metadata, and therefore unable to choose the instance type to deploy on. Please make sure the metadata is available.")
71
 
72
- size_factor = 8 if (precision == "GPTQ" or "gptq" in model_info.modelId.lower()) else 1
73
- model_size = size_factor * model_size
74
  return model_size
75
 
76
  def get_model_arch(model_info: ModelInfo):
 
69
  except (AttributeError, TypeError):
70
  raise ValueError("Couldn't detect number of params in the metadata, and therefore unable to choose the instance type to deploy on. Please make sure the metadata is available.")
71
 
 
 
72
  return model_size
73
 
74
  def get_model_arch(model_info: ModelInfo):