Thinkless icon indicating copy to clipboard operation
Thinkless copied to clipboard

can i run the experiment using 4 v100 32GB gpu

Open s2014628 opened this issue 1 year ago • 6 comments

Dear author

Is it possible that I could run the training part using 4 v100 32GB GPU

I get these kinds of errors when I run the training.sh,is it caused by OOM?

WorkerDict pid=421080) _sequences: /project/lib/Analysis/Allocation.cpp:47: std::pair<llvm::SmallVector, llvm::SmallVector > mlir::triton::getCvtOrder(mlir::Attribute, mlir::Attribute): Assertion `!(srcMmaLayout && dstMmaLayout && !srcMmaLayout.isAmpere()) && "mma -> mma layout conversion is only supported on Ampere"' failed. (WorkerDict pid=421080) *** SIGABRT received at time=1748967495 on cpu 17 *** (WorkerDict pid=421080) PC: @ 0x7abdf7e969fc (unknown) pthread_kill (WorkerDict pid=421080) @ 0x7abdf7e42520 (unknown) (unknown) (WorkerDict pid=421080) [2025-06-04 00:18:15,728 E 421080 421080] logging.cc:496: *** SIGABRT received at time=1748967495 on cpu 17 *** (WorkerDict pid=421080) [2025-06-04 00:18:15,728 E 421080 421080] logging.cc:496: PC: @ 0x7abdf7e969fc (unknown) pthread_kill (WorkerDict pid=421080) [2025-06-04 00:18:15,729 E 421080 421080] logging.cc:496: @ 0x7abdf7e42520 (unknown) (unknown) (WorkerDict pid=421080) Fatal Python error: Aborted (WorkerDict pid=421080) (WorkerDict pid=421080) Stack (most recent call first): (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/triton/backends/nvidia/compiler.py", line 216 in make_llir (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/triton/backends/nvidia/compiler.py", line 318 in (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/triton/compiler/compiler.py", line 282 in compile (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/triton/runtime/jit.py", line 662 in run (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/triton/runtime/jit.py", line 345 in (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/vllm/attention/ops/prefix_prefill.py", line 811 in context_attention_fwd (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116 in decorate_context (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/vllm/attention/ops/paged_attn.py", line 211 in forward_prefix (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/vllm/attention/backends/xformers.py", line 620 in forward (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/vllm/attention/layer.py", line 100 in forward (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562 in _call_impl (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553 in _wrapped_call_impl (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/vllm/model_executor/models/qwen2.py", line 157 in forward (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562 in _call_impl (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553 in _wrapped_call_impl (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/vllm/model_executor/models/qwen2.py", line 210 in forward (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562 in _call_impl (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553 in _wrapped_call_impl (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/vllm/model_executor/models/qwen2.py", line 288 in forward (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562 in _call_impl (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553 in _wrapped_call_impl (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/vllm/model_executor/models/qwen2.py", line 415 in forward (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562 in _call_impl (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553 in _wrapped_call_impl (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/vllm/worker/model_runner.py", line 1665 in execute_model (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/vllm/worker/model_runner_base.py", line 116 in _wrapper (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116 in decorate_context (WorkerDict pid=421080) File "/home/ft/Thinkless/verl/verl/third_party/vllm/vllm_v_0_6_3/worker.py", line 267 in execute_model (WorkerDict pid=421080) File "/home/ft/Thinkless/verl/verl/third_party/vllm/vllm_v_0_6_3/spmd_gpu_executor.py", line 163 in execute_model (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/vllm/engine/llm_engine.py", line 1386 in step (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/vllm/entrypoints/llm.py", line 879 in _run_engine (WorkerDict pid=421080) File "/home/ft/Thinkless/verl/verl/third_party/vllm/vllm_v_0_6_3/llm.py", line 166 in _run_engine (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/vllm/entrypoints/llm.py", line 353 in generate (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/vllm/utils.py", line 1063 in inner (WorkerDict pid=421080) File "/home/ft/Thinkless/verl/verl/workers/rollout/vllm_rollout/vllm_rollout.py", line 205 in generate_sequences (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116 in decorate_context (WorkerDict pid=421080) File "/home/ft/Thinkless/verl/verl/workers/fsdp_workers.py", line 443 in generate_sequences (WorkerDict pid=421080) File "/home/ft/Thinkless/verl/verl/single_controller/base/decorator.py", line 404 in inner (WorkerDict pid=421080) File "/home/ft/Thinkless/verl/verl/single_controller/ray/base.py", line 399 in func (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/ray/util/tracing/tracing_helper.py", line 463 in _resume_span (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/ray/_private/function_manager.py", line 689 in actor_method_executor (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/ray/_private/worker.py", line 946 in main_loop (WorkerDict pid=421080) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/ray/_private/workers/default_worker.py", line 330 in (WorkerDict pid=421080) (WorkerDict pid=421080) Extension modules: msgpack._cmsgpack, google._upb._message, psutil._psutil_linux, psutil._psutil_posix, setproctitle, yaml._yaml, zstandard.backend_c, charset_normalizer.md, uvloop.loop, ray._raylet, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, torch._C, torch._C._fft, torch._C._linalg, torch._C._nested, torch._C._nn, torch._C._sparse, torch._C._special, markupsafe._speedups, PIL._imaging, sentencepiece._sentencepiece, sklearn.__check_build._check_build, scipy._lib._ccallback_c, scipy.sparse._sparsetools, _csparsetools, scipy.sparse._csparsetools, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg.cython_lapack, scipy.linalg._cythonized_array_utils, scipy.linalg._solve_toeplitz, scipy.linalg._decomp_lu_cython, scipy.linalg._matfuncs_sqrtm_triu, scipy.linalg._matfuncs_expm, scipy.linalg._linalg_pythran, scipy.linalg.cython_blas, scipy.linalg._decomp_update, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpack, scipy.sparse.linalg._propack._spropack, scipy.sparse.linalg._propack._dpropack, scipy.sparse.linalg._propack._cpropack, scipy.sparse.linalg._propack._zpropack, scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, scipy.special._ufuncs_cxx, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.special._ellip_harm_2, scipy.spatial._ckdtree, scipy._lib.messagestream, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.spatial._distance_wrap, scipy.spatial._hausdorff, scipy.spatial.transform._rotation, scipy.optimize._group_columns, scipy.optimize._trlib._trlib, scipy.optimize._lbfgsb, _moduleTNC, scipy.optimize._moduleTNC, scipy.optimize._cobyla, scipy.optimize._slsqp, scipy.optimize._minpack, scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, scipy.optimize._cython_nnls, scipy._lib._uarray._uarray, scipy.linalg._decomp_interpolative, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.optimize._direct, scipy.integrate._odepack, scipy.integrate._quadpack, scipy.integrate._vode, scipy.integrate._dop, scipy.integrate._lsoda, scipy.interpolate._fitpack, scipy.interpolate._dfitpack, scipy.interpolate._dierckx, scipy.interpolate._ppoly, scipy.interpolate._interpnd, scipy.interpolate._rbfinterp_pythran, scipy.interpolate._rgi_cython, scipy.interpolate._bspl, scipy.special.cython_special, scipy.stats._stats, scipy.stats._sobol, scipy.stats._qmc_cy, scipy.stats._biasedurn, scipy.stats._stats_pythran, scipy.stats._levy_stable.levyst, scipy.stats._ansari_swilk_statistics, scipy.stats._mvn, scipy.stats._rcont.rcont, scipy.ndimage._nd_image, scipy.ndimage._rank_filter_1d, _ni_label, scipy.ndimage._ni_label, pyarrow.lib, pandas._libs.tslibs.ccalendar, pandas._libs.tslibs.np_datetime, pandas._libs.tslibs.dtypes, pandas._libs.tslibs.base, pandas._libs.tslibs.nattype, pandas._libs.tslibs.timezones, pandas._libs.tslibs.fields, pandas._libs.tslibs.timedeltas, pandas._libs.tslibs.tzconversion, pandas._libs.tslibs.timestamps, pandas._libs.properties, pandas._libs.tslibs.offsets, pandas._libs.tslibs.strptime, pandas._libs.tslibs.parsing, pandas._libs.tslibs.conversion, pandas._libs.tslibs.period, pandas._libs.tslibs.vectorized, pandas._libs.ops_dispatch, pandas._libs.missing, pandas._libs.hashtable, pandas._libs.algos, pandas._libs.interval, pandas._libs.lib (WorkerDict pid=421080) , pyarrow._compute, pandas._libs.ops, numexpr.interpreter, pandas._libs.hashing, pandas._libs.arrays, pandas._libs.tslib, pandas._libs.sparse, pandas._libs.internals, pandas._libs.indexing, pandas._libs.index, pandas._libs.writers, pandas._libs.join, pandas._libs.window.aggregations, pandas._libs.window.indexers, pandas._libs.reshape, pandas._libs.groupby, pandas._libs.json, pandas._libs.parsers, pandas._libs.testing, sklearn.utils._isfinite, sklearn.utils.sparsefuncs_fast, sklearn.utils.murmurhash, sklearn.utils._openmp_helpers, sklearn.metrics.cluster._expected_mutual_info_fast, sklearn.preprocessing._csr_polynomial_expansion, sklearn.preprocessing._target_encoder_fast, sklearn.metrics._dist_metrics, sklearn.metrics._pairwise_distances_reduction._datasets_pair, sklearn.utils._cython_blas, sklearn.metrics._pairwise_distances_reduction._base, sklearn.metrics._pairwise_distances_reduction._middle_term_computer, sklearn.utils._heap, sklearn.utils._sorting, sklearn.metrics._pairwise_distances_reduction._argkmin, sklearn.metrics._pairwise_distances_reduction._argkmin_classmode, sklearn.utils._vector_sentinel, sklearn.metrics._pairwise_distances_reduction._radius_neighbors, sklearn.metrics._pairwise_distances_reduction._radius_neighbors_classmode, sklearn.metrics._pairwise_fast, PIL._imagingft, msgspec._core, regex._regex, multidict._multidict, yarl._quoting_c, propcache._helpers_c (WorkerDict pid=421080) , aiohttp._http_writer, aiohttp._http_parser, aiohttp._websocket.mask, aiohttp._websocket.reader_c, pyarrow._json, zmq.backend.cython._zmq, cuda_utils (total: 193) (WorkerDict pid=421081) (WorkerDict pid=421081) (WorkerDict pid=421081) Extension modules: msgpack._cmsgpack, google._upb._message, psutil._psutil_linux, psutil._psutil_posix, setproctitle, yaml._yaml, zstandard.backend_c, charset_normalizer.md, uvloop.loop, ray._raylet, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, torch._C, torch._C._fft, torch._C._linalg, torch._C._nested, torch._C._nn, torch._C._sparse, torch._C._special, markupsafe._speedups, PIL._imaging, sentencepiece._sentencepiece, sklearn.__check_build._check_build, scipy._lib._ccallback_c, scipy.sparse._sparsetools, _csparsetools, scipy.sparse._csparsetools, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg.cython_lapack, scipy.linalg._cythonized_array_utils, scipy.linalg._solve_toeplitz, scipy.linalg._decomp_lu_cython, scipy.linalg._matfuncs_sqrtm_triu, scipy.linalg._matfuncs_expm, scipy.linalg._linalg_pythran, scipy.linalg.cython_blas, scipy.linalg._decomp_update, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpack, scipy.sparse.linalg._propack._spropack, scipy.sparse.linalg._propack._dpropack, scipy.sparse.linalg._propack._cpropack, scipy.sparse.linalg._propack._zpropack, scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, scipy.special._ufuncs_cxx, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.special._ellip_harm_2, scipy.spatial._ckdtree, scipy._lib.messagestream, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.spatial._distance_wrap, scipy.spatial._hausdorff, scipy.spatial.transform._rotation, scipy.optimize._group_columns, scipy.optimize._trlib._trlib, scipy.optimize._lbfgsb, _moduleTNC, scipy.optimize._moduleTNC, scipy.optimize._cobyla, scipy.optimize._slsqp, scipy.optimize._minpack, scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, scipy.optimize._cython_nnls, scipy._lib._uarray._uarray, scipy.linalg._decomp_interpolative, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.optimize._direct, scipy.integrate._odepack, scipy.integrate._quadpack, scipy.integrate._vode, scipy.integrate._dop, scipy.integrate._lsoda, scipy.interpolate._fitpack, scipy.interpolate._dfitpack, scipy.interpolate._dierckx, scipy.interpolate._ppoly, scipy.interpolate._interpnd, scipy.interpolate._rbfinterp_pythran, scipy.interpolate._rgi_cython, scipy.interpolate._bspl, scipy.special.cython_special, scipy.stats._stats, scipy.stats._sobol, scipy.stats._qmc_cy, scipy.stats._biasedurn, scipy.stats._stats_pythran, scipy.stats._levy_stable.levyst, scipy.stats._ansari_swilk_statistics, scipy.stats._mvn, scipy.stats._rcont.rcont, scipy.ndimage._nd_image, scipy.ndimage._rank_filter_1d, _ni_label, scipy.ndimage._ni_label, pyarrow.lib, pandas._libs.tslibs.ccalendar, pandas._libs.tslibs.np_datetime, pandas._libs.tslibs.dtypes, pandas._libs.tslibs.base, pandas._libs.tslibs.nattype, pandas._libs.tslibs.timezones, pandas._libs.tslibs.fields, pandas._libs.tslibs.timedeltas, pandas._libs.tslibs.tzconversion, pandas._libs.tslibs.timestamps, pandas._libs.properties, pandas._libs.tslibs.offsets, pandas._libs.tslibs.strptime, pandas._libs.tslibs.parsing, pandas._libs.tslibs.conversion, pandas._libs.tslibs.period, pandas._libs.tslibs.vectorized, pandas._libs.ops_dispatch, pandas._libs.missing, pandas._libs.hashtable, pandas._libs.algos, pandas._libs.interval, pandas._libs.lib, pyarrow._compute, pandas._libs.ops, numexpr.interpreter, pandas._libs.hashing, pandas._libs.arrays, pandas._libs.tslib, pandas._libs.sparse, pandas._libs.internals, pandas._libs.indexing, pandas._libs.index, pandas._libs.writers, pandas._libs.join, pandas._libs.window.aggregations, pandas._libs.window.indexers, pandas._libs.reshape, pandas._libs.groupby, pandas._libs.json, pandas._libs.parsers, pandas._libs.testing, sklearn.utils._isfinite, sklearn.utils.sparsefuncs_fast, sklearn.utils.murmurhash, sklearn.utils._openmp_helpers, sklearn.metrics.cluster._expected_mutual_info_fast, sklearn.preprocessing._csr_polynomial_expansion, sklearn.preprocessing._target_encoder_fast, sklearn.metrics._dist_metrics, sklearn.metrics._pairwise_distances_reduction._datasets_pair, sklearn.utils._cython_blas, sklearn.metrics._pairwise_distances_reduction._base, sklearn.metrics._pairwise_distances_reduction._middle_term_computer, sklearn.utils._heap, sklearn.utils._sorting, sklearn.metrics._pairwise_distances_reduction._argkmin, sklearn.metrics._pairwise_distances_reduction._argkmin_classmode, sklearn.utils._vector_sentinel, sklearn.metrics._pairwise_distances_reduction._radius_neighbors, sklearn.metrics._pairwise_distances_reduction._radius_neighbors_classmode, sklearn.metrics._pairwise_fast, PIL._imagingft, msgspec._core, regex._regex, multidict._multidict, yarl._quoting_c, propcache._helpers_c, aiohttp._http_writer, aiohttp._http_parser, aiohttp._websocket.mask, aiohttp._websocket.reader_c, pyarrow._json, zmq.backend.cython._zmq, cuda_utils (total: 193) (WorkerDict pid=420874) (WorkerDict pid=420874) (WorkerDict pid=421079) (WorkerDict pid=421079) (raylet) A worker died or was killed while executing a task by an unexpected system error. To troubleshoot the problem, check the logs for the dead worker. RayTask ID: ffffffffffffffff49f77d31870efa2ce6f97a2c01000000 Worker ID: c19ad5fd93aae738fade19bec34bee247be1fab2da50b48ff2318851 Node ID: 3e229ed281d0728249f67a7e5b3e15ca769863593dcc57e66df8209d Worker IP address: 10.72.74.13 Worker port: 45163 Worker PID: 421080 Worker exit type: SYSTEM_ERROR Worker exit detail: Worker unexpectedly exits with a connection error code 2. End of file. There are some potential root causes. (1) The process is killed by SIGKILL by OOM killer due to high memory usage. (2) ray stop --force is called. (3) The worker is crashed unexpectedly due to SIGSEGV or other unexpected errors. Error executing job with overrides: ['algorithm.adv_estimator=grpo', 'algorithm.std_normalizer=False', 'data.train_files=data/deepscaler/train.parquet', 'data.val_files=data/deepscaler/aime24.parquet', 'data.train_batch_size=32', 'data.val_batch_size=128', 'data.max_prompt_length=1024', 'data.max_response_length=24576', 'actor_rollout_ref.model.path=Vinnnf/Thinkless-1.5B-RL-DeepScaleR', '+actor_rollout_ref.model.torch_dtype=float16', 'actor_rollout_ref.actor.optim.lr=1e-6', 'actor_rollout_ref.model.use_remove_padding=True', 'actor_rollout_ref.actor.ppo_mini_batch_size=16', 'actor_rollout_ref.actor.use_dynamic_bsz=True', 'actor_rollout_ref.actor.ppo_max_token_len_per_gpu=32768', 'actor_rollout_ref.actor.use_kl_loss=True', 'actor_rollout_ref.actor.kl_loss_coef=0.001', 'actor_rollout_ref.actor.kl_loss_type=low_var_kl', 'actor_rollout_ref.actor.ulysses_sequence_parallel_size=1', 'actor_rollout_ref.model.enable_gradient_checkpointing=True', 'actor_rollout_ref.actor.fsdp_config.param_offload=False', 'actor_rollout_ref.actor.fsdp_config.grad_offload=False', 'actor_rollout_ref.actor.fsdp_config.optimizer_offload=False', 'actor_rollout_ref.rollout.tensor_model_parallel_size=1', 'actor_rollout_ref.rollout.name=vllm', 'actor_rollout_ref.rollout.temperature=0.6', 'actor_rollout_ref.rollout.val_temperature=0.6', 'actor_rollout_ref.rollout.gpu_memory_utilization=0.4', '++actor_rollout_ref.rollout.dtype=float16', 'actor_rollout_ref.rollout.n=4', 'actor_rollout_ref.rollout.n_val=8', 'actor_rollout_ref.ref.fsdp_config.param_offload=True', '+actor_rollout_ref.ref.torch_dtype=float16', 'algorithm.kl_ctrl.kl_coef=0.001', 'trainer.critic_warmup=0', 'trainer.logger=[console,wandb]', 'trainer.project_name=hybrid-reasoning', 'trainer.experiment_name=Thinkless-1.5b-DeepScaleR', '+trainer.val_before_train=True', 'trainer.n_gpus_per_node=4', 'trainer.nnodes=1', 'trainer.save_freq=10', 'trainer.test_freq=10', 'trainer.default_hdfs_dir=null', 'actor_rollout_ref.actor.thinkless_alpha=0.001', 'thinkless_rewards.correct_short_reward=1.0', 'thinkless_rewards.correct_think_reward=0.5', 'thinkless_rewards.wrong_think_reward=-1.0', 'thinkless_rewards.wrong_short_reward=-1.0', 'trainer.total_epochs=10'] Traceback (most recent call last): File "/home/ft/Thinkless/verl/verl/trainer/main_ppo.py", line 118, in main ray.get(main_task.remote(config)) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/ray/_private/auto_init_hook.py", line 21, in auto_init_wrapper return fn(*args, **kwargs) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper return func(*args, **kwargs) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/ray/_private/worker.py", line 2822, in get values, debugger_breakpoint = worker.get_objects(object_refs, timeout=timeout) File "/home/ft/anaconda3/envs/thinkless/lib/python3.10/site-packages/ray/_private/worker.py", line 930, in get_objects raise value.as_instanceof_cause() ray.exceptions.RayTaskError(ActorDiedError): ray::main_task() (pid=420474, ip=10.72.74.13) File "/home/ft/Thinkless/verl/verl/trainer/main_ppo.py", line 204, in main_task trainer.fit() File "/home/ft/Thinkless/verl/verl/trainer/ppo/ray_trainer.py", line 581, in fit val_metrics = self._validate() File "/home/ft/Thinkless/verl/verl/trainer/ppo/ray_trainer.py", line 430, in _validate test_output_gen_batch_padded = self.actor_rollout_wg.generate_sequences(test_gen_batch_padded) File "/home/ft/Thinkless/verl/verl/single_controller/ray/base.py", line 42, in func output = ray.get(output) ray.exceptions.ActorDiedError: The actor died unexpectedly before finishing this task. class_name: create_colocated_worker_cls..WorkerDict actor_id: 49f77d31870efa2ce6f97a2c01000000 pid: 421080 name: HPjKLZWorkerDict_0:2 namespace: 4fd44441-713b-4c50-b513-1ce3afa3123c ip: 10.72.74.13 The actor is dead because its worker process has died. Worker exit type: SYSTEM_ERROR Worker exit detail: Worker unexpectedly exits with a connection error code 2. End of file. There are some potential root causes. (1) The process is killed by SIGKILL by OOM killer due to high memory usage. (2) ray stop --force is called. (3) The worker is crashed unexpectedly due to SIGSEGV or other unexpected errors.

s2014628 avatar Jun 03 '25 16:06 s2014628

Hi @s2014628, I'm not sure. I also tried to run the training on 8xA6000 (48G), but saw a similar OOM error with the default settings. The training requires 50GB. I think you can try the following configs:

actor_rollout_ref.actor.fsdp_config.param_offload=True \
actor_rollout_ref.actor.fsdp_config.grad_offload=True \
actor_rollout_ref.actor.fsdp_config.optimizer_offload=True \
data.max_response_length=16384 \
ulysses_sequence_parallel_size=2 \

There are also some official tips for performance tuning: https://verl.readthedocs.io/en/latest/perf/perf_tuning.html

VainF avatar Jun 04 '25 12:06 VainF

do u mean 50GB for each gpu ?

And thanks for the tips sharing , I will have a look.

s2014628 avatar Jun 04 '25 12:06 s2014628

Yep, The Peak Memory Usage on each GPU is 50-60 GB. So it might be possible to run the training using parallelism or offloading.

VainF avatar Jun 04 '25 16:06 VainF

Thanks for the response and I think I found the key error that was caused by Allocation.cpp:43: std::pair<llvm::SmallVector, llvm::SmallVector > mlir::triton::getCvtOrder(mlir::Attribute, mlir::Attribute): Assertion !(srcMmaLayout && dstMmaLayout && !srcMmaLayout.isAmpere()) && "mma -> mma layout conversion is only supported on Ampere"' failed. Aborted (core dumped

The solution has been found from the issue posted before https://github.com/vllm-project/vllm/issues/6723

Thank you so much for the help! :)

s2014628 avatar Jun 05 '25 07:06 s2014628

Dear Author,

I hope this message finds you well. Could you kindly share how long it typically takes for you to train on 8x A6000 GPUs? Additionally, would it be possible for you to share your configuration settings for thinkless_1.5b_deepscaler.sh when using 8x A6000 for training?

Thank you for your time and assistance.

s2014628 avatar Jun 07 '25 14:06 s2014628

Hi @s2014628 , did you end up running the codebase with 8x A6000 GPUs? I am also interested in this solution. Thanks

andrearama avatar Jun 20 '25 19:06 andrearama