Skip to content

Conversation

@abock
Copy link
Contributor

@abock abock commented Jan 6, 2023

No description provided.

@codecov
Copy link

codecov bot commented Jan 6, 2023

Codecov Report

Merging #289 (b6c256b) into main (109bf7f) will increase coverage by 0.13%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #289      +/-   ##
==========================================
+ Coverage   72.73%   72.87%   +0.13%     
==========================================
  Files          95       96       +1     
  Lines        9176     9186      +10     
==========================================
+ Hits         6674     6694      +20     
+ Misses       2502     2492      -10     
Impacted Files Coverage Δ
onnxscript/onnx_opset/__init__.py 98.07% <100.00%> (+0.07%) ⬆️
onnxscript/onnx_opset/_impl/opset19.py 100.00% <100.00%> (ø)
onnxscript/test/converter_test.py 87.07% <0.00%> (-0.23%) ⬇️
onnxscript/test/functions/onnxfns2_test.py 97.67% <0.00%> (+4.65%) ⬆️
onnxscript/test/models/onnxfns2.py 65.62% <0.00%> (+14.06%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@abock
Copy link
Contributor Author

abock commented Jan 6, 2023

Looks like this bump may leave behind Python 3.7 support... let's hold on this.

@abock
Copy link
Contributor Author

abock commented Jan 9, 2023

Per discussion this morning we're going to drop support for 3.7 as it EOLs in June anyway, so I will update this PR to do that as well.

justinchuby added a commit that referenced this pull request Jan 9, 2023
PyTorch can supply int32 inputs as SymInt values. This change adds
explicit casts to them to fix the Windows CI.

Fixed additional mypy errors

#289 may be needed for python3.10
@abock abock force-pushed the abock/numpy-1.22.0 branch from c978bec to d0f5a55 Compare January 9, 2023 16:57
@abock abock force-pushed the abock/numpy-1.22.0 branch from d0f5a55 to b6c256b Compare January 9, 2023 22:09
@abock abock marked this pull request as ready for review January 9, 2023 22:09
@abock abock merged commit b8c11dc into main Jan 9, 2023
@abock abock deleted the abock/numpy-1.22.0 branch January 9, 2023 22:31
@ZainRizvi
Copy link

Oh man, this had the very unfortunate side effect of breaking Onnx builds on PyTorch. (It uses this script to install Onnx, and still supports python 3.7)

https://github.com/pytorch/pytorch/actions/runs/3878248792/jobs/6614365795

@justinchuby
Copy link
Collaborator

Should we pin a commit in PyTorch for now?

pytorchmergebot pushed a commit to pytorch/pytorch that referenced this pull request Jan 10, 2023
Onnx PR microsoft/onnxscript#289 expects numpy to be upgraded. That breaks pytorch's onnx builds.

For now, mitigate by pinning the script to an older version until there's a proper solution
Pull Request resolved: #91929
Approved by: https://github.com/justinchuby, https://github.com/kit1980
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.

4 participants