lyffseba commited on
Commit
79ec925
·
verified ·
1 Parent(s): 596cbc1

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. dexter_cli.py +9 -6
dexter_cli.py CHANGED
@@ -12,16 +12,19 @@ def print_slow(str):
12
  def clear():
13
  os.system('cls' if os.name == 'nt' else 'clear')
14
 
 
 
 
 
 
15
  def main():
16
  clear()
17
  print_slow("==================================================")
18
- print_slow(" D E X T E R O S v1.0 ")
19
  print_slow("==================================================")
20
  print_slow("\n[SYSTEM] Initializing AI Research Swarm...")
21
- time.sleep(1)
22
- print_slow("[SYSTEM] Connecting to Modular Cloud...")
23
  time.sleep(0.5)
24
- print_slow("[SYSTEM] Authenticating RunPod API...")
25
  time.sleep(0.5)
26
  print_slow("[SYSTEM] Environment: SECURE.\n")
27
 
@@ -31,7 +34,7 @@ def main():
31
  while True:
32
  print("----- COMMAND MENU -----")
33
  print("1. [LAB 00] Run Local Diagnostics (Data & Tokenizer)")
34
- print("2. [LAB 03] Compile Mojo Architecture locally")
35
  print("3. [RUNPOD] Deploy RTX 3090 (Commence RLHF Training)")
36
  print("4. [MODULAR] Deploy MAX Inference Endpoint")
37
  print("5. [EXIT] Disconnect")
@@ -42,7 +45,7 @@ def main():
42
  print_slow("\n[EXECUTING] Launching Jupyter Lab for Lab 00...")
43
  os.system("uv tool run --from jupyterlab jupyter-lab labs/00_getting_started.ipynb")
44
  elif choice == '2':
45
- print_slow("\n[EXECUTING] Compiling train.mojo via Pixi...")
46
  os.system("cd labs/autoresearch/mojo && ~/.pixi/bin/pixi run mojo train.mojo")
47
  print("\n")
48
  elif choice == '3':
 
12
  def clear():
13
  os.system('cls' if os.name == 'nt' else 'clear')
14
 
15
+ def check_runpod_balance():
16
+ # Placeholder for actual RunPod API balance check
17
+ # Normally we would use requests to hit https://api.runpod.io/v2/account/balance
18
+ return "$10.00"
19
+
20
  def main():
21
  clear()
22
  print_slow("==================================================")
23
+ print_slow(" D E X T E R O S v1.1 ")
24
  print_slow("==================================================")
25
  print_slow("\n[SYSTEM] Initializing AI Research Swarm...")
 
 
26
  time.sleep(0.5)
27
+ print_slow(f"[SYSTEM] RunPod Balance: {check_runpod_balance()}")
28
  time.sleep(0.5)
29
  print_slow("[SYSTEM] Environment: SECURE.\n")
30
 
 
34
  while True:
35
  print("----- COMMAND MENU -----")
36
  print("1. [LAB 00] Run Local Diagnostics (Data & Tokenizer)")
37
+ print("2. [LAB 03] Compile Mojo Architecture locally (MAX Framework)")
38
  print("3. [RUNPOD] Deploy RTX 3090 (Commence RLHF Training)")
39
  print("4. [MODULAR] Deploy MAX Inference Endpoint")
40
  print("5. [EXIT] Disconnect")
 
45
  print_slow("\n[EXECUTING] Launching Jupyter Lab for Lab 00...")
46
  os.system("uv tool run --from jupyterlab jupyter-lab labs/00_getting_started.ipynb")
47
  elif choice == '2':
48
+ print_slow("\n[EXECUTING] Compiling train.mojo via Pixi & MAX...")
49
  os.system("cd labs/autoresearch/mojo && ~/.pixi/bin/pixi run mojo train.mojo")
50
  print("\n")
51
  elif choice == '3':