Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simple_sum.mlir fails after metal uplift #528

Open
nsmithtt opened this issue Aug 28, 2024 · 3 comments
Open

simple_sum.mlir fails after metal uplift #528

nsmithtt opened this issue Aug 28, 2024 · 3 comments

Comments

@nsmithtt
Copy link
Contributor

2024-08-28 21:50:41,639 - DEBUG - starting loop=1/1 for binary=build/test/ttmlir/Silicon/TTNN/Output/simple_sum.mlir.tmp.ttnn                                                                                                                 
                 Always | FATAL    | Output size cannot fit input with offset                                                                                                                                                                 
Traceback (most recent call last):                                                                                                                                                                                                            
  File "/opt/ttmlir-toolchain/venv/bin/ttrt", line 8, in <module>                                                                                                                                                                             
    sys.exit(main())                                                                                                                                                                                                                          
  File "/opt/ttmlir-toolchain/venv/lib/python3.10/site-packages/ttrt/__init__.py", line 42, in main                                                                                                                                           
    request_api()                                                                                                                                                                                                                             
  File "/opt/ttmlir-toolchain/venv/lib/python3.10/site-packages/ttrt/common/api.py", line 939, in __call__                                                                                                                                    
    self.execute()                                                                                                                                                                                                                            
  File "/opt/ttmlir-toolchain/venv/lib/python3.10/site-packages/ttrt/common/api.py", line 904, in execute                                                                                                                                     
    _execute(self.ttnn_binaries)                                                                                                                                                                                                              
  File "/opt/ttmlir-toolchain/venv/lib/python3.10/site-packages/ttrt/common/api.py", line 863, in _execute                                                                                                                                    
    event = ttrt.runtime.submit(                                                                                                                                                                                                              
RuntimeError: TT_FATAL @ /localdev/nsmith/src/tt-mlir/third_party/tt-metal/src/tt-metal/ttnn/cpp/ttnn/operations/data_movement/pad/device/pad_op.cpp:21: input_tensor.get_legacy_shape()[0] + this->input_tensor_start[0] <= this->output_tens
or_shape[0]                                                                                                                                                                                                                                   
info:                                                                                                                                                                                                                                         
Output size cannot fit input with offset                                                                                                                                                                                                      
backtrace:                                                                                                                                                                                                                                    
 --- ttnn::operations::data_movement::Pad::validate_with_output_tensors(std::vector<tt::tt_metal::Tensor, std::allocator<tt::tt_metal::Tensor> > const&, std::vector<std::optional<tt::tt_metal::Tensor>, std::allocator<std::optional<tt::tt_
metal::Tensor> > > const&) const
@nsmithtt
Copy link
Contributor Author

Introduced by #456

nsmithtt added a commit that referenced this issue Aug 29, 2024
@staylorTT
Copy link
Contributor

@nsmithtt Was this fixed in #456 ?

@nsmithtt
Copy link
Contributor Author

This test is still marked unsupported so it's not running in CI and will have to be looked into.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants