Compare commits

...
Author SHA1 Message Date
rasdaniandGitHub 07411f392f fix: log chat templated messages to eval/samples Table (#2143)
Release / Push CUDA image to Docker (push) Canceled after 0s
2026-03-31 09:21:04 +02:00
23e3791e22 tmp: consistent hash (#2134)
Release / Push CUDA image to Docker (push) Canceled after 0s
Co-authored-by: S1ro1 <matej.sirovatka@gmail.com>
2026-03-30 15:45:47 +02:00
3 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -193,7 +193,7 @@ srun bash -c '
REPLICA_ROUTER_ARGS=$(echo "$ALL_ROUTER_ARGS" | cut -d"|" -f$((REPLICA_IDX + 1)))
vllm-router \
--policy round_robin \
--policy consistent_hash \
--vllm-pd-disaggregation \
$REPLICA_ROUTER_ARGS \
--host 0.0.0.0 \
@@ -226,7 +226,7 @@ srun bash -c '
echo "Starting vllm-router on $LOCAL_IP:$ROUTER_PORT" | tee $ROUTER_LOG
vllm-router \
--policy round_robin \
--policy consistent_hash \
--worker-urls $ROUTER_ARGS \
--host 0.0.0.0 \
--port $ROUTER_PORT \
@@ -242,7 +242,7 @@ if [ "$SLURM_PROCID" -lt "$NUM_INFER_NODES" ]; then
REPLICA_ROUTER_ARGS=$(echo "$ALL_ROUTER_ARGS" | cut -d"|" -f$((REPLICA_IDX + 1)))
vllm-router \
--policy round_robin \
--policy consistent_hash \
--vllm-pd-disaggregation \
$REPLICA_ROUTER_ARGS \
--host 0.0.0.0 \
@@ -270,7 +270,7 @@ if [ "$SLURM_PROCID" -lt "$NUM_INFER_NODES" ]; then
REPLICA_ROUTER_ARGS=$(echo "$ALL_ROUTER_ARGS" | cut -d"|" -f$((REPLICA_IDX + 1)))
vllm-router \
--policy round_robin \
--policy consistent_hash \
--worker-urls $REPLICA_ROUTER_ARGS \
--host 0.0.0.0 \
--port $ROUTER_PORT \
+3 -1
View File
@@ -183,9 +183,11 @@ class WandbMonitor(Monitor):
return
for rollout in rollouts:
completion = rollout.get("completion", "")
completion = rollout.get("completion")
if not completion:
continue
if isinstance(completion, list):
completion = self.tokenizer.apply_chat_template(completion, tokenize=False)
sample = {
"step": step,
"env": env_name,