Comfy-Org / Comfy-Org/ComfyUI

ksampler advenced

Open
#9,845 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

KSamplerAdvanced
SubprocException: An exception occurred in a subprocess:

Traceback (most recent call last):
File "/workspace/venv/lib/python3.11/site-packages/torch/_inductor/compile_worker/subproc_pool.py", line 340, in do_job
result = job()
^^^^^
File "/workspace/venv/lib/python3.11/site-packages/torch/_inductor/runtime/compile_tasks.py", line 62, in _worker_compile_triton
kernel.precompile(warm_cache_only=True)
File "/workspace/venv/lib/python3.11/site-packages/torch/_inductor/runtime/triton_heuristics.py", line 399, in precompile
self._precompile_worker()
File "/workspace/venv/lib/python3.11/site-packages/torch/_inductor/runtime/triton_heuristics.py", line 430, in _precompile_worker
compile_results.append(self._precompile_config(c))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/venv/lib/python3.11/site-packages/torch/_inductor/runtime/triton_heuristics.py", line 713, in _precompile_config
binary = triton.compile(*compile_args, **compile_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/venv/lib/python3.11/site-packages/triton/compiler/compiler.py", line 339, in compile
module = src.make_ir(options, codegen_fns, module_map, context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/venv/lib/python3.11/site-packages/triton/compiler/compiler.py", line 83, in make_ir
return ast_to_ttir(self.fn, self, context=context, options=options, codegen_fns=codegen_fns,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
triton.compiler.errors.CompilationError: at 1:0:
def triton_poi_fused__to_copy_mul_1(in_ptr0, in_ptr1, out_ptr0, xnumel, XBLOCK : tl.constexpr):
^
ValueError("type fp8e4nv not supported in this architecture. The supported fp8 dtypes are ('fp8e4b15', 'fp8e5')")

Set TORCHDYNAMO_VERBOSE=1 for the internal stack trace (please do this especially if you're reporting a bug to PyTorch). For even more developer context, set TORCH_LOGS="+dynamo"

Does anyone know the error?

Contributor guide

Open the contributing guide

Research direction

The report names KSamplerAdvanced and a PyTorch/Triton compilation traceback, but no ComfyUI file or test. Start by reproducing the failure with the reported fp8e4nv architecture and inspect the KSamplerAdvanced entry point and surrounding PyTorch integration. Done means the reported workflow no longer raises the architecture-support error, with a regression test or documented compatibility result.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
ai, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.