File size: 927 Bytes
80a8599
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""cotrain-ck3000-20261114/policy_entry.py plus disk-backed history buffers (SM_HISTORY_DIR). Same paths and patches otherwise."""
import os
import sys
from pathlib import Path

root = Path('/data/robo_ttt/robocasa_memory_20261103/evaluation-ck30000-20261108/cotrain-ck3000-20261114')
os.environ.update(GIT_CONFIG_COUNT='1', GIT_CONFIG_KEY_0='safe.directory',
                  GIT_CONFIG_VALUE_0=str(root.parent/'SimpleMemVLA'))
sys.path.insert(0, str(root/'author-code'))
sys.path.insert(0, str(root.parent/'SimpleMemVLA'))
from simplememvla.compat import apply_fla_torch_compat
apply_fla_torch_compat()
from experiments.simplememvla_robocasa.fla_shapes import install
install(int(os.environ.get('SM_L2NORM_ROW_PAD', '65536')))
sys.path.append(str(Path(__file__).resolve().parent))
from disk_frames import patch
patch(os.environ['SM_HISTORY_DIR'])
from experiments.robocasa_memory.evaluation.policy_worker import main
main()