Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,6 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
| 12 |
model_name,
|
| 13 |
trust_remote_code=True,
|
| 14 |
torch_dtype=torch.float32,
|
| 15 |
-
device_map="auto"
|
| 16 |
)
|
| 17 |
embedding_layer = model.get_input_embeddings()
|
| 18 |
|
|
|
|
| 12 |
model_name,
|
| 13 |
trust_remote_code=True,
|
| 14 |
torch_dtype=torch.float32,
|
|
|
|
| 15 |
)
|
| 16 |
embedding_layer = model.get_input_embeddings()
|
| 17 |
|