Skip to content

Error: Shardy propagation only supports ranked tensors with a static shape in Deepseek-OCR #3316

@kamalrajkannan78

Description

@kamalrajkannan78

Describe the bug

  • Deepseek-OCR model facing this error: Shardy propagation only supports ranked tensors with a static shape. type: 'tensor<?x2xi32, #stablehlo.bounds<1168640, ?>>' - feb16_deepseek_ocr.log

Root cause analysis

Repro

git checkout kkannan/feb16_deepseekocr_dyn_issue
git submodule update --init --recursive
git lfs pull --include '*.pt'

# whole model run 
pytest tests/runner/test_models.py::test_all_models_torch[deepseek/deepseek_ocr/pytorch-Ocr-single_device-inference] -svv --runxfail

# sanity run
pytest tests/torch/ops/test_masked_scatter.py -svv 

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions