mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
![]() * cast image features to model.dtype where needed to support FP16 or other precision in pipelines * Update src/transformers/pipelines/image_feature_extraction.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> * Use .to instead * Add FP16 pipeline support for zeroshot audio classification * Remove unused torch imports * Add docs on FP16 pipeline * Remove unused import * Add FP16 tests to pipeline mixin * Add fp16 placeholder for mask_generation pipeline test * Add FP16 tests for all pipelines * Fix formatting * Remove torch_dtype arg from is_pipeline_test_to_skip* * Fix format * trigger ci --------- Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> |
||
---|---|---|
.. | ||
__init__.py | ||
test_pipelines_audio_classification.py | ||
test_pipelines_automatic_speech_recognition.py | ||
test_pipelines_common.py | ||
test_pipelines_conversational.py | ||
test_pipelines_depth_estimation.py | ||
test_pipelines_document_question_answering.py | ||
test_pipelines_feature_extraction.py | ||
test_pipelines_fill_mask.py | ||
test_pipelines_image_classification.py | ||
test_pipelines_image_feature_extraction.py | ||
test_pipelines_image_segmentation.py | ||
test_pipelines_image_to_image.py | ||
test_pipelines_image_to_text.py | ||
test_pipelines_mask_generation.py | ||
test_pipelines_object_detection.py | ||
test_pipelines_question_answering.py | ||
test_pipelines_summarization.py | ||
test_pipelines_table_question_answering.py | ||
test_pipelines_text_classification.py | ||
test_pipelines_text_generation.py | ||
test_pipelines_text_to_audio.py | ||
test_pipelines_text2text_generation.py | ||
test_pipelines_token_classification.py | ||
test_pipelines_translation.py | ||
test_pipelines_video_classification.py | ||
test_pipelines_visual_question_answering.py | ||
test_pipelines_zero_shot_audio_classification.py | ||
test_pipelines_zero_shot_image_classification.py | ||
test_pipelines_zero_shot_object_detection.py | ||
test_pipelines_zero_shot.py |