This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import http from 'k6/http'; | |
| import {sleep} from 'k6'; | |
| import { randomIntBetween } from 'https://jslib.k6.io/k6-utils/1.2.0/index.js'; | |
| const token = __ENV.API_TOKEN; | |
| const MODEL_ID = "f-1" // Or "s-1" | |
| export const options = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct Tensor{ | |
| id: usize | |
| } | |
| struct Linear{ | |
| weight: Tensor, | |
| bias: Option<Tensor>, | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Metal | |
| import MetalPerformanceShadersGraph | |
| let type = MTLDataType.float; | |
| let dataType = type; | |
| var B = 2; | |
| var M = 2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "choices": [ | |
| { | |
| "finish_reason": "length", | |
| "index": 0, | |
| "logprobs": null, | |
| "message": { | |
| "content": "Jeff Walker's Product Launch Formula is a comprehensive system", | |
| "name": null, |
OlderNewer