Open agunapal opened 5 months ago
test_example_torch_compile.py is failing with the nightly binaries
=========================== short test summary info ============================ FAILED test_example_torch_compile.py::test_torch_compile_inference - AssertionError: assert ['tiger_cat',...'plastic_bag'] == ['tabby', 'ti...'plastic_bag'] At index 0 diff: 'tiger_cat' != 'tabby' Full diff: - ['tabby', 'tiger_cat', 'Egyptian_cat', 'lynx', 'plastic_bag'] ? --------- + ['tiger_cat', 'tabby', 'Egyptian_cat', 'lynx', 'plastic_bag']
NA
N/A
Nightly
Nightly run https://github.com/pytorch/serve/actions/runs/9477756728/job/26147581551
sort and compare the list elements
It seems like the the order is different in conda compared to PyPI.
Will need to check on standalong PyTorch if the results vary between PyTorch & Conda. Checking the sorted list to unblock
🐛 Describe the bug
test_example_torch_compile.py is failing with the nightly binaries
Error logs
Installation instructions
NA
Model Packaging
NA
config.properties
N/A
Versions
Nightly
Repro instructions
Nightly run https://github.com/pytorch/serve/actions/runs/9477756728/job/26147581551
Possible Solution
sort and compare the list elements