Skip to content

[inductor][cpu] AlbertForMaskedLM, DebertaV2ForMaskedLM and timm_vision_transformer_large AMP AOT inductor crash issue #135027

@zxd1997066

Description

@zxd1997066

🐛 Describe the bug

AMP static shape default wrapper

suite name thread accuracy perf reason(reference only)
huggingface AlbertForMaskedLM multiple X X AlbertForMaskedLM, Error: weights_offset must be aligned to 16K boundary
huggingface DebertaV2ForMaskedLM multiple pass_due_to_skip X DebertaV2ForMaskedLM, Error: weights_offset must be aligned to 16K boundary
torchbench timm_vision_transformer_large multiple pass_due_to_skip X timm_vision_transformer_large, Error: weights_offset must be aligned to 16K boundary
huggingface AlbertForMaskedLM single X X AlbertForMaskedLM, Error: weights_offset must be aligned to 16K boundary
huggingface DebertaV2ForMaskedLM single pass_due_to_skip X DebertaV2ForMaskedLM, Error: weights_offset must be aligned to 16K boundary
torchbench timm_vision_transformer_large single pass_due_to_skip X timm_vision_transformer_large, Error: weights_offset must be aligned to 16K boundary

Versions

SW info

name target_branch target_commit refer_branch refer_commit
torchbench main 23512dbe main 23512dbe
torch main f9f85bf main 920ebcc
torchvision main 0.19.0a0+d23a6e1 main 0.19.0a0+d23a6e1
torchtext main 0.16.0a0+b0ebddc main 0.16.0a0+b0ebddc
torchaudio main 2.4.0a0+69b2a0a main 2.4.0a0+b829e93
torchdata main 0.7.0a0+11bb5b8 main 0.7.0a0+11bb5b8
dynamo_benchmarks main fea73cb main fea73cb

Repro:
inductor_single_run.sh
bash inductor_single_run.sh multiple inference accuracy huggingface AlbertForMaskestatic default 0 aot_inductor
Suspected guilty commit: b7d287f
huggingface-AlbertForMaskedLM-inference-amp-static-default-multiple-accuracy-crash_guilty_commit.log
cc @ezyang @chauhang @penguinwu @WeizhuoZhang-intel @chuanqi129 @chunyuan-w

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions