pytorch / serve

Serve, optimize and scale PyTorch models in production
https://pytorch.org/serve/
Apache License 2.0
4.17k stars 845 forks source link

workaround for compile example failure #3190

Closed agunapal closed 3 months ago

agunapal commented 3 months ago

Description

This is a workaround for nightly failure. Issue happens with conda binaries only

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

Fixes #(issue)

Type of change

Please delete options that are not relevant.

Feature/Issue validation/testing

Please describe the Unit or Integration tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced. Please also list any relevant details for your test configuration.

Checklist: