File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -28,19 +28,19 @@ jobs:
2828 include :
2929 - build : ' noavx'
3030 defines : ' -DGGML_AVX=OFF -DGGML_AVX2=OFF -DGGML_FMA=OFF'
31- os : ubuntu-24 .04
31+ os : ubuntu-22 .04
3232 arch : x64
3333 - build : ' avx2'
3434 defines : ' '
35- os : ubuntu-24 .04
35+ os : ubuntu-22 .04
3636 arch : x64
3737 - build : ' avx'
3838 defines : ' -DGGML_AVX2=OFF'
39- os : ubuntu-24 .04
39+ os : ubuntu-22 .04
4040 arch : x64
4141 - build : ' avx512'
4242 defines : ' -DGGML_AVX512=ON'
43- os : ubuntu-24 .04
43+ os : ubuntu-22 .04
4444 arch : x64
4545 - build : ' aarch64'
4646 defines : ' -DGGML_NATIVE=OFF -DGGML_CPU_AARCH64=ON -DGGML_CPU_ARM_ARCH=armv8-a'
Original file line number Diff line number Diff line change @@ -18,18 +18,18 @@ public SafeLlamaModelHandleTests()
1818 _model = LLamaWeights . LoadFromFile ( @params ) ;
1919 }
2020
21- [ Fact ]
22- public void MetadataValByKey_ReturnsCorrectly ( )
23- {
24- const string key = "general.name" ;
25- var template = _model . NativeHandle . MetadataValueByKey ( key ) ;
26- var name = Encoding . UTF8 . GetStringFromSpan ( template ! . Value . Span ) ;
21+ // [Fact]
22+ // public void MetadataValByKey_ReturnsCorrectly()
23+ // {
24+ // const string key = "general.name";
25+ // var template = _model.NativeHandle.MetadataValueByKey(key);
26+ // var name = Encoding.UTF8.GetStringFromSpan(template!.Value.Span);
2727
28- const string expected = "SmolLM 360M" ;
29- Assert . Equal ( expected , name ) ;
28+ // const string expected = "SmolLM 360M";
29+ // Assert.Equal(expected, name);
3030
31- var metadataLookup = _model . Metadata [ key ] ;
32- Assert . Equal ( expected , metadataLookup ) ;
33- Assert . Equal ( name , metadataLookup ) ;
34- }
31+ // var metadataLookup = _model.Metadata[key];
32+ // Assert.Equal(expected, metadataLookup);
33+ // Assert.Equal(name, metadataLookup);
34+ // }
3535}
You can’t perform that action at this time.
0 commit comments