mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-15 14:08:00 +00:00
This PR significantly refactors the Integration Tests workflow. The main goal behind the PR was to enable recording of vision tests which were never run as part of our CI ever before. During debugging, I ended up making several other changes refactoring and hopefully increasing the robustness of the workflow. After doing the experiments, I have updated the trigger event to be `pull_request_target` so this workflow can get write permissions by default but it will run with source code from the base (main) branch in the source repository only. If you do change the workflow, you'd need to experiment using the `workflow_dispatch` triggers. This should not be news to anyone using Github Actions (except me!) It is likely to be a little rocky though while I learn more about GitHub Actions, etc. Please be patient :) --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
421 lines
10 KiB
JSON
421 lines
10 KiB
JSON
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:11434/api/embeddings",
|
|
"headers": {},
|
|
"body": {
|
|
"model": "all-minilm:l6-v2",
|
|
"input": [
|
|
"This is a test file 1"
|
|
]
|
|
},
|
|
"endpoint": "/api/embeddings",
|
|
"model": "all-minilm:l6-v2"
|
|
},
|
|
"response": {
|
|
"body": {
|
|
"__type__": "ollama._types.EmbedResponse",
|
|
"__data__": {
|
|
"model": "all-minilm:l6-v2",
|
|
"created_at": null,
|
|
"done": null,
|
|
"done_reason": null,
|
|
"total_duration": 16658862,
|
|
"load_duration": 6238467,
|
|
"prompt_eval_count": 6,
|
|
"prompt_eval_duration": null,
|
|
"eval_count": null,
|
|
"eval_duration": null,
|
|
"embeddings": [
|
|
[
|
|
-0.055982195,
|
|
0.076081045,
|
|
-0.092433155,
|
|
0.014348906,
|
|
0.058773536,
|
|
-0.032442085,
|
|
0.020963855,
|
|
0.028817905,
|
|
-0.06589273,
|
|
0.013538555,
|
|
0.12999825,
|
|
0.0045920787,
|
|
-0.006909012,
|
|
-0.055475082,
|
|
-0.047584433,
|
|
-0.029108394,
|
|
-0.12240743,
|
|
-0.053608917,
|
|
-0.01469641,
|
|
0.059820697,
|
|
0.034437098,
|
|
0.020720147,
|
|
-0.04865705,
|
|
0.013548686,
|
|
0.0586202,
|
|
-0.0030596491,
|
|
-0.03157386,
|
|
0.08258042,
|
|
-0.03125673,
|
|
-0.12059294,
|
|
0.038315985,
|
|
0.06574817,
|
|
0.06415242,
|
|
0.038379226,
|
|
0.12571476,
|
|
0.031110935,
|
|
0.1082007,
|
|
-0.001945952,
|
|
-0.024701951,
|
|
0.028813468,
|
|
0.0127212815,
|
|
-0.039838783,
|
|
0.043286823,
|
|
-0.01592365,
|
|
-0.013537497,
|
|
-0.005082726,
|
|
-0.007908334,
|
|
0.03983111,
|
|
0.003692527,
|
|
-0.03362251,
|
|
-0.058581255,
|
|
0.0048970715,
|
|
-0.08960359,
|
|
-0.010458434,
|
|
0.059172295,
|
|
-0.020381752,
|
|
0.014312179,
|
|
0.013974074,
|
|
-0.004614098,
|
|
0.038257506,
|
|
0.0048046876,
|
|
0.029754879,
|
|
-0.020845208,
|
|
0.018606082,
|
|
0.12421981,
|
|
-0.0232267,
|
|
-0.040324386,
|
|
-0.023599995,
|
|
-0.0074541806,
|
|
-0.090772845,
|
|
-0.16855139,
|
|
0.010115335,
|
|
-0.035782356,
|
|
0.010589896,
|
|
-0.020527367,
|
|
0.0020988148,
|
|
-0.10928735,
|
|
0.007924992,
|
|
0.04890187,
|
|
-0.113910094,
|
|
-0.060739312,
|
|
-0.13437672,
|
|
0.00634339,
|
|
-0.008847756,
|
|
-0.031561375,
|
|
0.09914905,
|
|
0.055312507,
|
|
0.0068518873,
|
|
-0.023520693,
|
|
-0.0031644772,
|
|
0.03681182,
|
|
0.01432514,
|
|
0.022244632,
|
|
0.047091875,
|
|
0.007081216,
|
|
0.06810163,
|
|
0.01849201,
|
|
0.040876437,
|
|
0.0550351,
|
|
0.09491265,
|
|
-0.015807496,
|
|
-7.8463614e-05,
|
|
0.010782611,
|
|
0.09179502,
|
|
-0.074678205,
|
|
-0.06468329,
|
|
0.07012851,
|
|
-0.04499402,
|
|
0.057698727,
|
|
-0.026082484,
|
|
0.006340654,
|
|
-0.095005274,
|
|
-0.010555381,
|
|
-0.07885503,
|
|
0.039741103,
|
|
-0.04152419,
|
|
-0.055226922,
|
|
0.07541398,
|
|
-0.046700906,
|
|
0.036149766,
|
|
0.08029784,
|
|
-0.036375977,
|
|
-0.03479682,
|
|
0.017001636,
|
|
-0.047019735,
|
|
-0.065193616,
|
|
0.062124435,
|
|
-4.2218427e-33,
|
|
-0.0017721883,
|
|
-0.09384802,
|
|
-0.029816238,
|
|
0.1257514,
|
|
0.037986845,
|
|
-0.036565077,
|
|
0.0060834913,
|
|
0.059064236,
|
|
-0.11073993,
|
|
0.0056816707,
|
|
-0.02600264,
|
|
-0.074865155,
|
|
0.008368443,
|
|
0.027423527,
|
|
-0.052494608,
|
|
0.024021218,
|
|
-0.004405381,
|
|
0.039293334,
|
|
-0.042134702,
|
|
-0.02727807,
|
|
0.0547222,
|
|
0.027060617,
|
|
-0.033269312,
|
|
-0.06058816,
|
|
-0.05074509,
|
|
0.017971171,
|
|
-0.0035045573,
|
|
-0.04667931,
|
|
0.073935926,
|
|
0.013332051,
|
|
-0.0033654193,
|
|
-0.04656567,
|
|
-0.060090553,
|
|
0.034060493,
|
|
0.0015471254,
|
|
0.039180268,
|
|
0.03989967,
|
|
-0.012337066,
|
|
-0.030525556,
|
|
-0.0019079247,
|
|
-0.01460898,
|
|
-0.012969273,
|
|
0.0195347,
|
|
-0.022350095,
|
|
0.07438301,
|
|
-0.053325966,
|
|
-0.02395582,
|
|
0.0292596,
|
|
0.027539466,
|
|
0.015120207,
|
|
-0.020437608,
|
|
0.04332795,
|
|
0.019630946,
|
|
0.01733148,
|
|
-0.0034844875,
|
|
0.019485317,
|
|
-0.0003494216,
|
|
0.00042686076,
|
|
-0.005132303,
|
|
0.066248745,
|
|
0.027956294,
|
|
0.04101923,
|
|
-0.06715309,
|
|
0.028716685,
|
|
-0.034805898,
|
|
-0.0555862,
|
|
-0.032694634,
|
|
-0.081002966,
|
|
0.092122965,
|
|
0.06396523,
|
|
-0.049184497,
|
|
-0.03989705,
|
|
0.0369496,
|
|
-0.0015811125,
|
|
0.0003197812,
|
|
-0.026036698,
|
|
-0.0060006436,
|
|
0.054738022,
|
|
-0.09564789,
|
|
-0.051893853,
|
|
-0.048824586,
|
|
-0.086377576,
|
|
-0.034007866,
|
|
-0.033272535,
|
|
-0.05652991,
|
|
-0.051139913,
|
|
0.008112306,
|
|
-0.08580783,
|
|
0.06505675,
|
|
-0.08542722,
|
|
0.028040707,
|
|
0.029830497,
|
|
-0.031668846,
|
|
-0.085617274,
|
|
0.101759925,
|
|
2.1862516e-33,
|
|
0.0116090225,
|
|
0.07760366,
|
|
-0.01735762,
|
|
0.0052205133,
|
|
0.000975667,
|
|
0.065414004,
|
|
0.07253235,
|
|
-0.04430889,
|
|
-0.047520436,
|
|
0.14030467,
|
|
-0.025719156,
|
|
0.005793378,
|
|
0.04094832,
|
|
-0.054858785,
|
|
0.07442516,
|
|
-0.023601599,
|
|
0.018334351,
|
|
-0.060549837,
|
|
-0.044134542,
|
|
0.0027906233,
|
|
-0.04578033,
|
|
0.117253944,
|
|
0.10268663,
|
|
0.07909348,
|
|
-0.04660703,
|
|
0.01862913,
|
|
0.029805424,
|
|
0.03725584,
|
|
0.022773262,
|
|
-0.002695987,
|
|
0.041698016,
|
|
0.06442998,
|
|
-0.08914443,
|
|
0.018201683,
|
|
0.024052765,
|
|
-0.096402094,
|
|
0.086406566,
|
|
-0.053927243,
|
|
0.01922541,
|
|
0.045094177,
|
|
0.04512779,
|
|
0.09656579,
|
|
0.014912764,
|
|
0.05959895,
|
|
0.030681113,
|
|
0.058840565,
|
|
0.11149792,
|
|
0.016654478,
|
|
0.011594341,
|
|
-0.023696017,
|
|
-0.008650225,
|
|
-0.055055793,
|
|
0.04757928,
|
|
-0.014643343,
|
|
-0.014162865,
|
|
0.06991306,
|
|
0.03207973,
|
|
0.0426524,
|
|
-0.05397539,
|
|
0.031076223,
|
|
0.009192395,
|
|
0.03302898,
|
|
-0.01901568,
|
|
0.0055926023,
|
|
-0.014975381,
|
|
-0.09193982,
|
|
-0.032133788,
|
|
0.015386497,
|
|
0.029159075,
|
|
0.0125140045,
|
|
-0.0048286216,
|
|
0.023340749,
|
|
-0.028264781,
|
|
-0.08455668,
|
|
0.051091656,
|
|
-0.013328911,
|
|
-0.029051399,
|
|
-0.022525461,
|
|
0.0108897155,
|
|
-0.009800699,
|
|
0.049736347,
|
|
-0.0032429877,
|
|
-0.03881739,
|
|
0.027952043,
|
|
0.017933605,
|
|
0.0053533562,
|
|
0.058684465,
|
|
0.0957579,
|
|
-0.014328832,
|
|
0.007005975,
|
|
-0.02730476,
|
|
0.06912227,
|
|
0.05728153,
|
|
0.032041542,
|
|
0.0042575295,
|
|
-1.6768182e-08,
|
|
-0.036365103,
|
|
-0.091483496,
|
|
-0.026359037,
|
|
-0.007929498,
|
|
-0.02413145,
|
|
0.09893336,
|
|
-0.047247022,
|
|
-0.03765342,
|
|
-0.029432135,
|
|
-0.022519268,
|
|
0.04128326,
|
|
-0.0011647358,
|
|
-0.055700593,
|
|
0.02070786,
|
|
-0.0381106,
|
|
-0.052463897,
|
|
-0.02626158,
|
|
-0.053371817,
|
|
-0.040604327,
|
|
-0.007350147,
|
|
-0.0014813344,
|
|
0.027132856,
|
|
0.027119234,
|
|
0.009304667,
|
|
-0.0002654552,
|
|
0.03823097,
|
|
0.03706377,
|
|
0.08402369,
|
|
-0.06339772,
|
|
-0.014845903,
|
|
0.05038436,
|
|
0.06699758,
|
|
0.027672214,
|
|
-0.04359535,
|
|
-0.012074228,
|
|
0.08498164,
|
|
0.111630745,
|
|
0.10461064,
|
|
0.01975323,
|
|
-0.0002619162,
|
|
-0.041080646,
|
|
0.00960582,
|
|
-0.052899837,
|
|
-0.0026609222,
|
|
-0.031148938,
|
|
-0.08861712,
|
|
-0.06763032,
|
|
-0.074505664,
|
|
-0.05304462,
|
|
-0.09555963,
|
|
-0.052730557,
|
|
0.013020395,
|
|
0.0029235827,
|
|
0.04188656,
|
|
-0.045235366,
|
|
0.016710248,
|
|
0.017224982,
|
|
0.021616042,
|
|
-0.0371995,
|
|
0.023536215,
|
|
0.05206289,
|
|
0.0644171,
|
|
0.023864746,
|
|
-0.02523672
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"is_streaming": false
|
|
}
|
|
}
|