The concatenate function in accelerate.utils.operations recursively concatenates tensors held in nested…
The concatenate function in accelerate.utils.operations recursively concatenates tensors held in nested…: a task in HF ML Tasksmith (Harbor dataset). All existing tensor-concatenation paths (plain tensors, nested lists/tuples, dicts, custom dim ) must continue to work unchanged. Passing multiple…
The task
All existing tensor-concatenation paths (plain tensors, nested lists/tuples, dicts, custom `dim`) must continue to work unchanged. Passing multiple batches with non-tensor leaf values must still raise `TypeError`.
Part of FineEnvs/HF_ML_Tasksmith.