max () iterable argument is empty ???
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
Please help me solve this problem!!! Dear seniors,THANKSSSSSSS!!!!!
### Actual Behavior
Please help me solve this problem!!! Dear seniors,THANKSSSSSSS!!!!!
### Steps to Reproduce
Please help me solve this problem!!! Dear seniors,THANKSSSSSSS!!!!!
### Debug Logs
```powershell
# ComfyUI Error Report
## Error Details
- **Node ID:** 107
- **Node Type:** InitFluxLoRATraining
- **Exception Type:** ValueError
- **Exception Message:** max() iterable argument is empty
## Stack Trace
File "E:\1.AICG\ComfyUI\execution.py", line 361, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\1.AICG\ComfyUI\execution.py", line 236, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\1.AICG\ComfyUI\execution.py", line 208, in _map_node_over_list
process_inputs(input_dict, i)
File "E:\1.AICG\ComfyUI\execution.py", line 197, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\1.AICG\ComfyUI\custom_nodes\ComfyUI-FluxTrainer-main\nodes.py", line 634, in init_training
training_loop = network_trainer.init_train(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\1.AICG\ComfyUI\custom_nodes\ComfyUI-FluxTrainer-main\train_network.py", line 328, in init_train
tokenize_strategy = self.get_tokenize_strategy(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\1.AICG\ComfyUI\custom_nodes\ComfyUI-FluxTrainer-main\flux_train_network_comfy.py", line 101, in get_tokenize_strategy
_, is_schnell, _, _ = flux_utils.analyze_checkpoint_state(args.pretrained_model_name_or_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```
### Other
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.