GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test(launch): reach preflight in the launch_cuda_run fail-closed test · CortexLM/hypertrain@a0555f3

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tests
    • test_launch_cuda_run.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tests/test_launch_cuda_run.py‎

Copy file name to clipboardExpand all lines: tests/test_launch_cuda_run.py
+12-1Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,18 @@
88

99

1010
def _run(tmp_path: Path, *args: str) -> subprocess.CompletedProcess[str]:
11-
env = dict(os.environ, RD=str(tmp_path), STATE=str(tmp_path / "state"), PY="python3")
11+
# Stub the frozen tree (checked fail-closed before preflight) and pin TOOLS under tmp_path.
12+
tree = tmp_path / "tree"
13+
(tree / "experiments/gpu_network_v2").mkdir(parents=True)
14+
(tree / "experiments/gpu_network_v2/orchestrate.py").touch()
15+
env = dict(
16+
os.environ,
17+
RD=str(tmp_path),
18+
STATE=str(tmp_path / "state"),
19+
PY="python3",
20+
HT_TREE=str(tree),
21+
TOOLS=str(tmp_path / "tools"),
22+
)
1223
return subprocess.run(
1324
["bash", str(SCRIPT), *args], capture_output=True, text=True, env=env, timeout=60
1425
)

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.