-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add Windows pipeline & Sync with upstream code #5
base: main
Are you sure you want to change the base?
Conversation
snnn
commented
Oct 22, 2024
•
edited
Loading
edited
- Sync with the upstream(microsoft/onnxruntime@401d16c)
- Add Windows CI pipeline
PackedQuantBScale = (float*)((std::byte*)QuantBBlkSum + BlkSumSize); | ||
QuantBBlkSum = (T*)(PackedQuantBData + PackedQuantBDataSize); | ||
QuantBBlkSum = (T*)MlasAlignAddress(QuantBBlkSum, MlasQNBitQuantBBlkSumAlignment()); | ||
PackedQuantBScale = (T*)((std::byte*)QuantBBlkSum + BlkSumSize); |
Check failure
Code scanning / CodeQL
Suspicious pointer scaling High
float
This pointer might have type
MLFloat16
|
||
namespace | ||
{ | ||
|
||
enum SQNBitGemmVariant { | ||
enum QNBitGemmVariant { |
Check notice
Code scanning / CodeQL
Irregular enum initialization Note
switch (variant) { | ||
case SQNBitGemmVariant_BitWidth4_CompInt8: | ||
return InitializeWorkspace_CompInt8<float>; | ||
default: | ||
return nullptr; | ||
} |
Check notice
Code scanning / CodeQL
No trivial switch statements Note
switch (variant) { | ||
case HQNBitGemmVariant_BitWidth4_CompInt8: | ||
return InitializeWorkspace_CompInt8<MLAS_FP16>; | ||
default: | ||
return nullptr; | ||
} |
Check notice
Code scanning / CodeQL
No trivial switch statements Note
switch (variant) { | ||
case HQNBitGemmVariant_BitWidth4_CompFp16: | ||
return HQ4BitGemm_CompFp16; | ||
default: | ||
return nullptr; | ||
} |
Check notice
Code scanning / CodeQL
No trivial switch statements Note