Octo-1.5-Base / init_model.py
Nirav-Madhani's picture
Update init_model.py
bae578d verified
raw
history blame contribute delete
287 Bytes
from octo.model.octo_model import OctoModel
import os
# Set JAX to CPU (consistent with your setup)
os.environ['JAX_PLATFORMS'] = 'cpu'
# Load the model to cache it
model = OctoModel.load_pretrained("hf://rail-berkeley/octo-base-1.5")
print("Model downloaded and cached successfully.")