Skip to content

Commit

Permalink
disable multithreading for easier debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
lhoestq committed Oct 29, 2024
1 parent 5a01552 commit a83176e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/libapi/src/libapi/rows_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async def transform_rows(
offset=offset,
row_idx_column=row_idx_column,
)
if "Audio(" in str(features) or "Image(" in str(features) or "Video(" in str(features):
if "Audio(" in str(features) or "Image(" in str(features):
# Use multithreading to parallelize image/audio files uploads.
# Also multithreading is ok to convert audio data
# (we use pydub which might spawn one ffmpeg process per conversion, which releases the GIL)
Expand Down

0 comments on commit a83176e

Please sign in to comment.