ttir-builder and tests updates/clean-up #3684
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket
No issue, just changing a few tests and cleaning up.
Problem description
test_ttir_ops.py
needed updating.What's changed
ttir.prod
: no longer throwing device datatype mismatch, failing golden, added to pcc errors issuettir.upsample2d
: no longer throwing device datatype mismatch, throwing new error:program-level output doesn't match golden shape! golden_shape=torch.Size([10, 64, 64, 12]), output_shape=torch.Size([10, 128, 128, 3])
ttir.embedding
: Changed test datatypes, only float32, int32, and unsigned ints are currently supported for golden comparisons. Now failing PCCttir.update_cache
: Changed test datatypes, only float32, int32, and unsigned ints are currently supported for golden comparisons. Now throwing error:Statically allocated circular buffers on core range [(x=0,y=0) - (x=7,y=3)] grow to 2587616 B which is beyond max L1 size of 1499136 B
ttir.get_dimension_size
: no longer throwing device datatype mismatch, now failing PCCttir.argmax
: Only supports last dimension, removed a test, now failing PCCttir.typecast
: Changed test datatypes, PCC errors were because pytorch provides limited support for unsigned datatypesttir.where
: Changed test datatypes, doesn't support int8, now passesChecklist