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

pytest: test_example_torch_compile.py is faling #3189

Open
agunapal opened this issue Jun 12, 2024 · 1 comment
Open

pytest: test_example_torch_compile.py is faling #3189

agunapal opened this issue Jun 12, 2024 · 1 comment
Milestone

Comments

@agunapal
Copy link
Collaborator

🐛 Describe the bug

test_example_torch_compile.py is failing with the nightly binaries

Error logs

=========================== 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']

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

@agunapal agunapal added this to the v0.12.0 milestone Jun 12, 2024
@agunapal
Copy link
Collaborator Author

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

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

1 participant