vxkyyy commited on
Commit
2c0217a
·
1 Parent(s): e8850e3

fix: default strict_gates=False for cloud, create PDK_ROOT dir in container

Browse files
Files changed (2) hide show
  1. Dockerfile +4 -1
  2. server/api.py +1 -1
Dockerfile CHANGED
@@ -37,7 +37,10 @@ RUN pip install --no-cache-dir --upgrade pip && \
37
  COPY . .
38
 
39
  # Create runtime directories that the build pipeline writes into
40
- RUN mkdir -p /app/designs /app/artifacts
 
 
 
41
 
42
  # HuggingFace Spaces runs as non-root user 1000
43
  RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app
 
37
  COPY . .
38
 
39
  # Create runtime directories that the build pipeline writes into
40
+ # PDK_ROOT must exist so startup_self_check passes (actual PDK files not needed for cloud LLM builds)
41
+ RUN mkdir -p /app/designs /app/artifacts /app/pdk
42
+
43
+ ENV PDK_ROOT=/app/pdk
44
 
45
  # HuggingFace Spaces runs as non-root user 1000
46
  RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app
server/api.py CHANGED
@@ -239,7 +239,7 @@ class BuildRequest(BaseModel):
239
  max_retries: int = 5
240
  show_thinking: bool = False
241
  min_coverage: float = 80.0
242
- strict_gates: bool = True
243
  pdk_profile: str = "sky130"
244
  max_pivots: int = 2
245
  congestion_threshold: float = 10.0
 
239
  max_retries: int = 5
240
  show_thinking: bool = False
241
  min_coverage: float = 80.0
242
+ strict_gates: bool = False
243
  pdk_profile: str = "sky130"
244
  max_pivots: int = 2
245
  congestion_threshold: float = 10.0