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

[DML] Add int4 QDQ #21592

Merged
merged 9 commits into from
Aug 21, 2024
Merged

[DML] Add int4 QDQ #21592

merged 9 commits into from
Aug 21, 2024

Conversation

PatriceVignola
Copy link
Contributor

No description provided.

@@ -437,6 +437,12 @@
static const int sc_sinceVer_ReduceMin = 20;
}

namespace OnnxOperatorSet21
{
static const int sc_sinceVer_QuantizeLinear = 21;

Check warning

Code scanning / PREfast

The const variable 'OperatorHelper::OnnxOperatorSet21::sc_sinceVer_QuantizeLinear' can be computed at compile-time. Consider using constexpr (con.5). Warning

The const variable 'OperatorHelper::OnnxOperatorSet21::sc_sinceVer_QuantizeLinear' can be computed at compile-time. Consider using constexpr (con.5).
namespace OnnxOperatorSet21
{
static const int sc_sinceVer_QuantizeLinear = 21;
static const int sc_sinceVer_DequantizeLinear = 21;

Check warning

Code scanning / PREfast

The const variable 'OperatorHelper::OnnxOperatorSet21::sc_sinceVer_DequantizeLinear' can be computed at compile-time. Consider using constexpr (con.5). Warning

The const variable 'OperatorHelper::OnnxOperatorSet21::sc_sinceVer_DequantizeLinear' can be computed at compile-time. Consider using constexpr (con.5).
@PatriceVignola
Copy link
Contributor Author

/azp run Big Models

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PatriceVignola
Copy link
Contributor Author

/azp run Windows GPU Doc Gen CI Pipeline

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PatriceVignola
Copy link
Contributor Author

/azp run Big Models

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PatriceVignola
Copy link
Contributor Author

/azp run Windows GPU DML CI Pipeline

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PatriceVignola
Copy link
Contributor Author

/azp run Big Models

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PatriceVignola
Copy link
Contributor Author

/azp run Windows GPU DML CI Pipeline

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

{
static const int sc_sinceVer_QuantizeLinear = 21;
static const int sc_sinceVer_DequantizeLinear = 21;
static const int sc_sinceVer_Squeeze = 21;

Check warning

Code scanning / PREfast

The const variable 'OperatorHelper::OnnxOperatorSet21::sc_sinceVer_Squeeze' can be computed at compile-time. Consider using constexpr (con.5). Warning

The const variable 'OperatorHelper::OnnxOperatorSet21::sc_sinceVer_Squeeze' can be computed at compile-time. Consider using constexpr (con.5).
static const int sc_sinceVer_QuantizeLinear = 21;
static const int sc_sinceVer_DequantizeLinear = 21;
static const int sc_sinceVer_Squeeze = 21;
static const int sc_sinceVer_Unsqueeze = 21;

Check warning

Code scanning / PREfast

The const variable 'OperatorHelper::OnnxOperatorSet21::sc_sinceVer_Unsqueeze' can be computed at compile-time. Consider using constexpr (con.5). Warning

The const variable 'OperatorHelper::OnnxOperatorSet21::sc_sinceVer_Unsqueeze' can be computed at compile-time. Consider using constexpr (con.5).
static const int sc_sinceVer_DequantizeLinear = 21;
static const int sc_sinceVer_Squeeze = 21;
static const int sc_sinceVer_Unsqueeze = 21;
static const int sc_sinceVer_Reshape = 21;

Check warning

Code scanning / PREfast

The const variable 'OperatorHelper::OnnxOperatorSet21::sc_sinceVer_Reshape' can be computed at compile-time. Consider using constexpr (con.5). Warning

The const variable 'OperatorHelper::OnnxOperatorSet21::sc_sinceVer_Reshape' can be computed at compile-time. Consider using constexpr (con.5).
static const int sc_sinceVer_Squeeze = 21;
static const int sc_sinceVer_Unsqueeze = 21;
static const int sc_sinceVer_Reshape = 21;
static const int sc_sinceVer_Cast = 21;

Check warning

Code scanning / PREfast

The const variable 'OperatorHelper::OnnxOperatorSet21::sc_sinceVer_Cast' can be computed at compile-time. Consider using constexpr (con.5). Warning

The const variable 'OperatorHelper::OnnxOperatorSet21::sc_sinceVer_Cast' can be computed at compile-time. Consider using constexpr (con.5).
static const int sc_sinceVer_Unsqueeze = 21;
static const int sc_sinceVer_Reshape = 21;
static const int sc_sinceVer_Cast = 21;
static const int sc_sinceVer_Shape = 21;

Check warning

Code scanning / PREfast

The const variable 'OperatorHelper::OnnxOperatorSet21::sc_sinceVer_Shape' can be computed at compile-time. Consider using constexpr (con.5). Warning

The const variable 'OperatorHelper::OnnxOperatorSet21::sc_sinceVer_Shape' can be computed at compile-time. Consider using constexpr (con.5).
@PatriceVignola
Copy link
Contributor Author

/azp run Big Models

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PatriceVignola
Copy link
Contributor Author

/azp run ONNX Runtime Web CI Pipeline

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PatriceVignola
Copy link
Contributor Author

/azp run Windows CPU CI Pipeline

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PatriceVignola
Copy link
Contributor Author

/azp run Windows GPU CUDA CI Pipeline

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PatriceVignola
Copy link
Contributor Author

/azp run orttraining-ortmodule-distributed

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PatriceVignola
Copy link
Contributor Author

/azp run orttraining-linux-gpu-ci-pipeline

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PatriceVignola
Copy link
Contributor Author

/azp run Windows GPU TensorRT CI Pipeline

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PatriceVignola
Copy link
Contributor Author

/azp run Windows GPU Doc Gen CI Pipeline

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PatriceVignola
Copy link
Contributor Author

/azp run Windows GPU DML CI Pipeline

@PatriceVignola
Copy link
Contributor Author

/azp run Windows ARM64 QNN CI Pipeline

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PatriceVignola
Copy link
Contributor Author

/azp run orttraining-linux-ci-pipeline

@PatriceVignola
Copy link
Contributor Author

/azp run Windows x64 QNN CI Pipeline

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

fdwr
fdwr previously approved these changes Aug 21, 2024
Copy link
Contributor

@fdwr fdwr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@PatriceVignola PatriceVignola merged commit de6ebcb into main Aug 21, 2024
95 of 97 checks passed
@PatriceVignola PatriceVignola deleted the user/pavignol/add-int4-qdq branch August 21, 2024 06:44
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.

2 participants