Abijith commited on
Commit
7350601
·
verified ·
1 Parent(s): babfeb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -94,8 +94,6 @@ if uploaded_files:
94
  model = AutoModelForCausalLM.from_pretrained(
95
  model_name,
96
  trust_remote_code=True,
97
- device_map="auto", # For GPU acceleration
98
- torch_dtype=torch.float16
99
  )
100
 
101
  # Create pipeline with generation parameters
 
94
  model = AutoModelForCausalLM.from_pretrained(
95
  model_name,
96
  trust_remote_code=True,
 
 
97
  )
98
 
99
  # Create pipeline with generation parameters