cyberosa commited on
Commit
cef47be
·
1 Parent(s): 16d0da9

disabling benchmarking feature

Browse files
Files changed (1) hide show
  1. start.py +15 -15
start.py CHANGED
@@ -45,25 +45,25 @@ def start():
45
  """Start commands."""
46
  print("Starting commands...")
47
  base_dir = os.getcwd()
48
- olas_dir = os.path.join(base_dir, "olas-predict-benchmark")
49
- mech_dir = os.path.join(olas_dir, "benchmark", "mech")
50
 
51
  commands = [
52
  ("git submodule init", base_dir),
53
  ("git submodule update --init --recursive", base_dir),
54
  ("git submodule update --remote --recursive", base_dir),
55
- (
56
- 'git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"',
57
- olas_dir,
58
- ),
59
- ("git remote update", olas_dir),
60
- ("git fetch --all", olas_dir),
61
- ("git checkout main", olas_dir),
62
- ("git pull origin main", olas_dir),
63
- ("git checkout main", mech_dir),
64
- ("git pull origin main", mech_dir),
65
- ("pip install -e .", os.path.join(olas_dir, "benchmark")),
66
- ("pip install -e .", mech_dir),
67
  ("pip install lxml[html_clean]", base_dir),
68
  ("pip install --upgrade huggingface_hub", base_dir),
69
  ]
@@ -72,7 +72,7 @@ def start():
72
  run_command(command, cwd=cwd)
73
 
74
  # add benchmark to the path
75
- sys.path.append(os.path.join(olas_dir, "benchmark"))
76
 
77
  # Download the dataset
78
  download_dataset()
 
45
  """Start commands."""
46
  print("Starting commands...")
47
  base_dir = os.getcwd()
48
+ # olas_dir = os.path.join(base_dir, "olas-predict-benchmark")
49
+ # mech_dir = os.path.join(olas_dir, "benchmark", "mech")
50
 
51
  commands = [
52
  ("git submodule init", base_dir),
53
  ("git submodule update --init --recursive", base_dir),
54
  ("git submodule update --remote --recursive", base_dir),
55
+ # (
56
+ # 'git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"',
57
+ # olas_dir,
58
+ # ),
59
+ # ("git remote update", olas_dir),
60
+ # ("git fetch --all", olas_dir),
61
+ # ("git checkout main", olas_dir),
62
+ # ("git pull origin main", olas_dir),
63
+ # ("git checkout main", mech_dir),
64
+ # ("git pull origin main", mech_dir),
65
+ # ("pip install -e .", os.path.join(olas_dir, "benchmark")),
66
+ # ("pip install -e .", mech_dir),
67
  ("pip install lxml[html_clean]", base_dir),
68
  ("pip install --upgrade huggingface_hub", base_dir),
69
  ]
 
72
  run_command(command, cwd=cwd)
73
 
74
  # add benchmark to the path
75
+ # sys.path.append(os.path.join(olas_dir, "benchmark"))
76
 
77
  # Download the dataset
78
  download_dataset()