fix: nsys output to feature-cache PVC (RW, persistent)
This commit is contained in:
@@ -548,8 +548,8 @@ spec:
|
||||
if [ "$SANITIZER" = "nsys" ]; then
|
||||
NSYS_BIN=$(which nsys 2>/dev/null || echo "/usr/local/cuda/bin/nsys")
|
||||
if [ -x "$NSYS_BIN" ]; then
|
||||
NSYS_OUT="/workspace/output/nsys_$(date +%Y%m%d_%H%M%S)"
|
||||
mkdir -p /workspace/output
|
||||
NSYS_OUT="/feature-cache/nsys_$(date +%Y%m%d_%H%M%S)"
|
||||
mkdir -p /feature-cache
|
||||
SANITIZER_PREFIX="$NSYS_BIN profile -o $NSYS_OUT --gpu-metrics-device=all --cuda-graph-trace=node --cudabacktrace=kernel --stats=true --show-output=true -f true --capture-range=cudaProfilerApi --capture-range-end=stop-shutdown"
|
||||
echo " nsys profiling enabled — output: ${NSYS_OUT}.nsys-rep (persistent PVC)"
|
||||
echo " --cuda-graph-trace=node: per-kernel timing inside parent graph"
|
||||
|
||||
Reference in New Issue
Block a user