File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -383,6 +383,7 @@ def forward(
383
383
):
384
384
if inputs_embeds is None and pixel_values is not None :
385
385
# extract feature
386
+ torch ._inductor .config .reorder_for_compute_comm_overlap = True
386
387
torch ._dynamo .mark_dynamic (pixel_values , 0 )
387
388
vit_embeds = self .extract_feature (pixel_values )
388
389
lang_embeds = self .language_model .get_input_embeddings ()(input_ids )
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ safetensors
16
16
sentencepiece
17
17
shortuuid
18
18
tiktoken
19
- torch<=2.5.1 ,>=2.0.0
20
- torchvision<=0.20.1 ,>=0.15.0
19
+ torch<=2.6.0 ,>=2.0.0
20
+ torchvision<=0.21.0 ,>=0.15.0
21
21
transformers
22
- triton<=3.1 .0,>=3.0.0; sys_platform == "linux"
22
+ triton<=3.2 .0,>=3.0.0; sys_platform == "linux"
23
23
uvicorn
You can’t perform that action at this time.
0 commit comments