Update README.md
Browse files
README.md
CHANGED
|
@@ -62,7 +62,7 @@ ckpt = "allenai/MolmoAct-7B-D-LIBERO-Spatial-0812"
|
|
| 62 |
processor = AutoProcessor.from_pretrained(
|
| 63 |
ckpt,
|
| 64 |
trust_remote_code=True,
|
| 65 |
-
torch_dtype="
|
| 66 |
device_map="auto",
|
| 67 |
padding_side="left",
|
| 68 |
)
|
|
@@ -71,7 +71,7 @@ processor = AutoProcessor.from_pretrained(
|
|
| 71 |
model = AutoModelForImageTextToText.from_pretrained(
|
| 72 |
ckpt,
|
| 73 |
trust_remote_code=True,
|
| 74 |
-
torch_dtype="
|
| 75 |
device_map="auto",
|
| 76 |
)
|
| 77 |
|
|
|
|
| 62 |
processor = AutoProcessor.from_pretrained(
|
| 63 |
ckpt,
|
| 64 |
trust_remote_code=True,
|
| 65 |
+
torch_dtype="bfloat16",
|
| 66 |
device_map="auto",
|
| 67 |
padding_side="left",
|
| 68 |
)
|
|
|
|
| 71 |
model = AutoModelForImageTextToText.from_pretrained(
|
| 72 |
ckpt,
|
| 73 |
trust_remote_code=True,
|
| 74 |
+
torch_dtype="bfloat16",
|
| 75 |
device_map="auto",
|
| 76 |
)
|
| 77 |
|