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

Feat/update triton #72

Merged
merged 3 commits into from
Oct 3, 2022
Merged

Conversation

pommedeterresautee
Copy link
Member

@pommedeterresautee pommedeterresautee commented Oct 2, 2022

Bug after update was related to order of annotations, one adding some info to be leveraged by the next.
Just reordered and updated dependency.

fix #71

waiting merge of #42 first, can still be reviewed.

@pommedeterresautee pommedeterresautee self-assigned this Oct 2, 2022
@pommedeterresautee pommedeterresautee added the bug Something isn't working label Oct 2, 2022
@pommedeterresautee pommedeterresautee changed the base branch from main to feat/pip_install October 2, 2022 13:14
@pommedeterresautee
Copy link
Member Author

====================================================================================================== warnings summary =======================================================================================================
../../../home/geantvert/.local/share/virtualenvs/kernl/lib/python3.9/site-packages/onnxruntime/transformers/float16.py:78: 299 warnings
  /home/geantvert/.local/share/virtualenvs/kernl/lib/python3.9/site-packages/onnxruntime/transformers/models/gpt2/../../float16.py:78: DeprecationWarning: The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use frombuffer instead
    float32_list = np.fromstring(tensor.raw_data, dtype="float32")

../../../home/geantvert/.local/share/virtualenvs/kernl/lib/python3.9/site-packages/onnxruntime/transformers/float16.py:82: 299 warnings
  /home/geantvert/.local/share/virtualenvs/kernl/lib/python3.9/site-packages/onnxruntime/transformers/models/gpt2/../../float16.py:82: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
    tensor.raw_data = float16_list.tostring()

test/test_debugger.py::test_matmul
  /mnt/workspace/kernl/test/test_debugger.py:171: UserWarning: __floordiv__ is deprecated, and its behavior will change in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor').
    group_id = pid // num_pid_in_group

test/test_debugger.py::test_matmul
  /mnt/workspace/kernl/test/test_debugger.py:175: UserWarning: __floordiv__ is deprecated, and its behavior will change in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor').
    pid_n = (pid % num_pid_in_group) // group_size_m

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================================================================ 2270 passed, 280 skipped, 600 warnings in 4898.26s (1:21:38) =================================================================================

@pommedeterresautee pommedeterresautee merged commit bd4a78c into feat/pip_install Oct 3, 2022
@pommedeterresautee pommedeterresautee deleted the feat/update_triton branch October 3, 2022 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update Triton dependency
1 participant