Skip to content

Commit

Permalink
M1 helix testing (dotnet#7033)
Browse files Browse the repository at this point in the history
* m1 helix testing

* enable m1 testing

* helix queue update

* fixed m1 baselines

* removed continue on error

* removing accidental file update

* removed wrong queue
  • Loading branch information
michaelgsharp authored Mar 13, 2024
1 parent 9b14138 commit d6d78fd
Show file tree
Hide file tree
Showing 40 changed files with 8,920 additions and 8,089 deletions.
3 changes: 0 additions & 3 deletions build/ci/job-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,6 @@ jobs:
MsBuildScript: '$(Build.SourcesDirectory)/eng/common/msbuild.sh'
WarnAsError: '--warnAsError false'
TestTargetFramework: '$(testTargetFramework)'
# Don't have M1 failures fail the build for now.
${{ if and(contains(parameters.pool.vmImage, 'macOS'), contains(parameters.name, 'cross')) }}:
continueOnError: true
- script: $(dotnetPath) msbuild -restore build/Codecoverage.proj
displayName: Upload coverage to codecov.io
condition: and(succeeded(), eq(${{ parameters.codeCoverage }}, True))
Expand Down
2 changes: 0 additions & 2 deletions build/ci/send-to-helix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,3 @@ steps:
Creator: ${{ parameters.Creator }}
HelixTargetQueues: ${{ parameters.HelixTargetQueues }}
continueOnError: ${{ parameters.continueOnError }}
${{ if and(contains(parameters.HelixTargetQueues, 'OSX.1100.Arm64.Open'), in(variables['Build.Reason'], 'PullRequest')) }}:
enabled: False
2 changes: 1 addition & 1 deletion eng/helix.proj
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<HelixPreCommands Condition="$(IsPosixShell)">$(HelixPreCommands);export PATH=$HELIX_CORRELATION_PAYLOAD/$(DotNetCliDestination):$PATH</HelixPreCommands>
<HelixPreCommands Condition="!$(IsPosixShell)">$(HelixPreCommands);set PATH=%HELIX_CORRELATION_PAYLOAD%\$(DotNetCliDestination)%3B%PATH%</HelixPreCommands>

<HelixPreCommands Condition="$(HelixTargetQueues.ToLowerInvariant().Contains('osx'))">$(HelixPreCommands);export LD_LIBRARY_PATH=/opt/homebrew/opt/mono-libgdiplus/lib;</HelixPreCommands>
<HelixPreCommands Condition="$(HelixTargetQueues.ToLowerInvariant().Contains('osx'))">$(HelixPreCommands);export LD_LIBRARY_PATH=/opt/homebrew/opt/mono-libgdiplus/lib;ls /usr/lib;ls $HELIX_WORKITEM_ROOT</HelixPreCommands>

<HelixPreCommands Condition="$(HelixTargetQueues.ToLowerInvariant().Contains('armarch'))">$(HelixPreCommands);sudo apt update;sudo apt-get install libomp-dev libomp5 -y</HelixPreCommands>

Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"tools": {
"dotnet": "9.0.100-preview.1.24101.2",
"runtimes": {
"dotnet/x64": [
"dotnet": [
"$(DotNetRuntime60Version)",
"$(DotNetRuntime80Version)"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ Confusion table
||======================
PREDICTED || positive | negative | Recall
TRUTH ||======================
positive || 131 | 3 | 0.9776
negative || 8 | 212 | 0.9636
positive || 133 | 1 | 0.9925
negative || 9 | 211 | 0.9591
||======================
Precision || 0.9424 | 0.9860 |
OVERALL 0/1 ACCURACY: 0.968927
Precision || 0.9366 | 0.9953 |
OVERALL 0/1 ACCURACY: 0.971751
LOG LOSS/instance: Infinity
Test-set entropy (prior Log-Loss/instance): 0.956998
LOG-LOSS REDUCTION (RIG): -Infinity
AUC: 0.994437
AUC: 0.994403
Warning: The predictor produced non-finite prediction values on 8 instances during testing. Possible causes: abnormal data or the predictor is numerically unstable.
TEST POSITIVE RATIO: 0.3191 (105.0/(105.0+224.0))
Confusion table
Expand All @@ -40,16 +40,16 @@ AUC: 0.997619

OVERALL RESULTS
---------------------------------------
AUC: 0.996028 (0.0016)
Accuracy: 0.972305 (0.0034)
Positive precision: 0.956660 (0.0142)
Positive recall: 0.964996 (0.0126)
Negative precision: 0.981961 (0.0041)
Negative recall: 0.975122 (0.0115)
AUC: 0.996011 (0.0016)
Accuracy: 0.973718 (0.0020)
Positive precision: 0.953747 (0.0171)
Positive recall: 0.972459 (0.0201)
Negative precision: 0.986580 (0.0087)
Negative recall: 0.972849 (0.0138)
Log-loss: Infinity (NaN)
Log-loss reduction: -Infinity (NaN)
F1 Score: 0.960623 (0.0009)
AUPRC: 0.992280 (0.0025)
F1 Score: 0.962653 (0.0011)
AUPRC: 0.992269 (0.0025)

---------------------------------------
Physical memory usage(MB): %Number%
Expand Down
Loading

0 comments on commit d6d78fd

Please sign in to comment.