[CI] Fix segfault in tracing test (#47299)
Signed-off-by: Nick Hill <nickhill123@gmail.com>
This commit is contained in:
@@ -25,11 +25,10 @@ def test_traces(
|
|||||||
):
|
):
|
||||||
with monkeypatch.context() as m:
|
with monkeypatch.context() as m:
|
||||||
m.setenv(OTEL_EXPORTER_OTLP_TRACES_INSECURE, "true")
|
m.setenv(OTEL_EXPORTER_OTLP_TRACES_INSECURE, "true")
|
||||||
if current_platform.is_rocm():
|
# The fake OTLP server starts gRPC worker threads before the engine
|
||||||
# The fake OTLP server starts gRPC worker threads before the engine
|
# core is launched. gRPC's C-core is not fork-safe and can segfault
|
||||||
# core is launched. On ROCm CI, forking while those threads are
|
# if forked.
|
||||||
# active can segfault in gRPC during engine startup or teardown.
|
m.setenv("VLLM_WORKER_MULTIPROC_METHOD", "spawn")
|
||||||
m.setenv("VLLM_WORKER_MULTIPROC_METHOD", "spawn")
|
|
||||||
|
|
||||||
sampling_params = SamplingParams(
|
sampling_params = SamplingParams(
|
||||||
temperature=0.01,
|
temperature=0.01,
|
||||||
|
|||||||
Reference in New Issue
Block a user