File size: 683 Bytes
80a8599
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Pinned native predictor, with the author's bit-identical FLA row padding."""
import os
import sys
from pathlib import Path

root=Path(__file__).resolve().parent
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')))
from experiments.robocasa_memory.evaluation.policy_worker import main
main()