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: update dep + fix #265

Merged
merged 5 commits into from
Jan 31, 2023
Merged

Conversation

pommedeterresautee
Copy link
Member

@pommedeterresautee pommedeterresautee commented Jan 29, 2023

fix #264

  • fix CUDA graph API
  • update PyTorch dependency
  • update Docker base image

local (bare metal) execution of pytest -x

=============================== warnings summary ===============================
test/test_model_optimization.py: 1 warning
test/test_torchdynamo.py: 79 warnings
  /home/geantvert/.local/share/virtualenvs/kernl/lib/python3.9/site-packages/torch/cuda/graphs.py:82: UserWarning: The CUDA Graph is empty. This ususally means that the graph was attempted to be captured on wrong device or stream. (Triggered internally at ../aten/src/ATen/cuda/CUDAGraph.cpp:191.)
    super(CUDAGraph, self).capture_end()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================ 2859 passed, 80 warnings in 8538.09s (2:22:18) ================

(updated image) Docker execution of pytest -x

=============================== warnings summary ===============================
test/test_model_optimization.py: 1 warning
test/test_torchdynamo.py: 79 warnings
  /usr/local/lib/python3.9/dist-packages/torch/cuda/graphs.py:82: UserWarning: The CUDA Graph is empty. This ususally means that the graph was attempted to be captured on wrong device or stream. (Triggered internally at ../aten/src/ATen/cuda/CUDAGraph.cpp:191.)
    super(CUDAGraph, self).capture_end()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================ 2859 passed, 80 warnings in 9597.66s (2:39:57) ==============

@pommedeterresautee pommedeterresautee self-assigned this Jan 29, 2023
@pommedeterresautee pommedeterresautee marked this pull request as ready for review January 29, 2023 10:27
@github-actions github-actions bot added the fix hurrah, bug fixed! label Jan 29, 2023
@pommedeterresautee pommedeterresautee added bug Something isn't working dependencies Pull requests that update a dependency file labels Jan 29, 2023
@github-actions github-actions bot added fix hurrah, bug fixed! and removed fix hurrah, bug fixed! labels Jan 29, 2023
@github-actions github-actions bot added fix hurrah, bug fixed! and removed fix hurrah, bug fixed! labels Jan 29, 2023
@pommedeterresautee pommedeterresautee merged commit 0a434b2 into main Jan 31, 2023
@pommedeterresautee pommedeterresautee deleted the fix/crash_hf_426_optimize_test_ branch January 31, 2023 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file fix hurrah, bug fixed!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: test test_optimized_model fails since HF transformer 4.26
2 participants