Skip to content

Commit bdd2507

Browse files
author
ankitageorge
committed
use remote dir
1 parent d0fb772 commit bdd2507

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/integration_tests/test_policy_update.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,15 +251,14 @@ async def llama3_torchstore_setup():
251251

252252
store = await MultiProcessStore.create_store()
253253

254-
model_path = "/tmp/Meta-Llama-3.1-8B-Instruct"
254+
model_path = "meta-llama/Meta-Llama-3.1-8B-Instruct"
255255

256256
# Load the model from local path - using device_map="auto" for efficient loading
257257
model = AutoModelForCausalLM.from_pretrained(
258258
model_path,
259259
torch_dtype=torch.float16, # Use half precision to save memory
260260
device_map="auto",
261261
trust_remote_code=True,
262-
local_files_only=True, # Ensure we don't try to download
263262
)
264263

265264
original_state_dict = model.state_dict()

0 commit comments

Comments
 (0)