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

Fix download path #369

Merged
merged 3 commits into from
Sep 25, 2023
Merged

Fix download path #369

merged 3 commits into from
Sep 25, 2023

Conversation

horheynm
Copy link
Member

@horheynm horheynm commented Sep 25, 2023

Before: .../stub/directory/directory/model.onnx
After: .../stub/directory/model.onnx

Unblocks neuralmagic/deepsparse#1247

epsparse$ pytest '/home/george/nm/deepsparse/tests/utils/test_engine_mocking.py'
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-7.4.2, pluggy-1.3.0
rootdir: /home/george/nm/deepsparse
configfile: pyproject.toml
plugins: flaky-3.7.0
collected 7 items                                                              

tests/utils/test_engine_mocking.py .......                               [100%]

=============================== warnings summary ===============================
../../../../usr/lib/python3/dist-packages/requests/__init__.py:89
  /usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (2.0.5) or chardet (3.0.4) doesn't match a supported version!
    warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "

../../.local/lib/python3.8/site-packages/urllib3/poolmanager.py:315: 4 warnings
tests/utils/test_engine_mocking.py: 7 warnings
  /home/george/.local/lib/python3.8/site-packages/urllib3/poolmanager.py:315: DeprecationWarning: The 'strict' parameter is no longer needed on Python 3+. This will raise an error in urllib3 v2.1.0.
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 7 passed, 12 warnings in 3.96s ========================
(.venv) george@quad-mle-2:~/nm/deepsparse$ 

bfineran
bfineran previously approved these changes Sep 25, 2023
@bfineran bfineran merged commit 038a113 into main Sep 25, 2023
4 checks passed
@bfineran bfineran deleted the download-directory-bug-fix branch September 25, 2023 19:54
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

Successfully merging this pull request may close these issues.

None yet

3 participants