-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make awq install optional + integration tests values.
- Loading branch information
Showing
6 changed files
with
556 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
89 changes: 89 additions & 0 deletions
89
integration-tests/models/__snapshots__/test_flash_awq/test_flash_llama_awq.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
{ | ||
"details": { | ||
"best_of_sequences": null, | ||
"finish_reason": "length", | ||
"generated_tokens": 10, | ||
"prefill": [ | ||
{ | ||
"id": 1, | ||
"logprob": null, | ||
"text": "<s>" | ||
}, | ||
{ | ||
"id": 4321, | ||
"logprob": -8.515625, | ||
"text": "Test" | ||
}, | ||
{ | ||
"id": 2009, | ||
"logprob": -15.4140625, | ||
"text": "request" | ||
} | ||
], | ||
"seed": null, | ||
"tokens": [ | ||
{ | ||
"id": 29896, | ||
"logprob": -2.0292969, | ||
"special": false, | ||
"text": "1" | ||
}, | ||
{ | ||
"id": 13, | ||
"logprob": -2.2597656, | ||
"special": false, | ||
"text": "\n" | ||
}, | ||
{ | ||
"id": 30166, | ||
"logprob": -3.8671875, | ||
"special": false, | ||
"text": "" | ||
}, | ||
{ | ||
"id": 30166, | ||
"logprob": -1.0488281, | ||
"special": false, | ||
"text": "" | ||
}, | ||
{ | ||
"id": 30166, | ||
"logprob": -0.24523926, | ||
"special": false, | ||
"text": "" | ||
}, | ||
{ | ||
"id": 30166, | ||
"logprob": -0.07897949, | ||
"special": false, | ||
"text": "" | ||
}, | ||
{ | ||
"id": 30166, | ||
"logprob": -0.023513794, | ||
"special": false, | ||
"text": "" | ||
}, | ||
{ | ||
"id": 30166, | ||
"logprob": -0.011444092, | ||
"special": false, | ||
"text": "" | ||
}, | ||
{ | ||
"id": 30166, | ||
"logprob": -0.008430481, | ||
"special": false, | ||
"text": "" | ||
}, | ||
{ | ||
"id": 30166, | ||
"logprob": -0.007648468, | ||
"special": false, | ||
"text": "" | ||
} | ||
], | ||
"top_tokens": null | ||
}, | ||
"generated_text": "1\n" | ||
} |
89 changes: 89 additions & 0 deletions
89
integration-tests/models/__snapshots__/test_flash_awq/test_flash_llama_awq_all_params.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
{ | ||
"details": { | ||
"best_of_sequences": null, | ||
"finish_reason": "length", | ||
"generated_tokens": 10, | ||
"prefill": [ | ||
{ | ||
"id": 1, | ||
"logprob": null, | ||
"text": "<s>" | ||
}, | ||
{ | ||
"id": 4321, | ||
"logprob": -8.515625, | ||
"text": "Test" | ||
}, | ||
{ | ||
"id": 2009, | ||
"logprob": -15.4140625, | ||
"text": "request" | ||
} | ||
], | ||
"seed": 0, | ||
"tokens": [ | ||
{ | ||
"id": 29896, | ||
"logprob": 0.0, | ||
"special": false, | ||
"text": "1" | ||
}, | ||
{ | ||
"id": 13, | ||
"logprob": -0.6254883, | ||
"special": false, | ||
"text": "\n" | ||
}, | ||
{ | ||
"id": 30166, | ||
"logprob": 0.0, | ||
"special": false, | ||
"text": "" | ||
}, | ||
{ | ||
"id": 29918, | ||
"logprob": -0.20141602, | ||
"special": false, | ||
"text": "_" | ||
}, | ||
{ | ||
"id": 29906, | ||
"logprob": -0.6254883, | ||
"special": false, | ||
"text": "2" | ||
}, | ||
{ | ||
"id": 29871, | ||
"logprob": 0.0, | ||
"special": false, | ||
"text": " " | ||
}, | ||
{ | ||
"id": 30166, | ||
"logprob": 0.0, | ||
"special": false, | ||
"text": "" | ||
}, | ||
{ | ||
"id": 30166, | ||
"logprob": 0.0, | ||
"special": false, | ||
"text": "" | ||
}, | ||
{ | ||
"id": 30166, | ||
"logprob": 0.0, | ||
"special": false, | ||
"text": "" | ||
}, | ||
{ | ||
"id": 30166, | ||
"logprob": 0.0, | ||
"special": false, | ||
"text": "" | ||
} | ||
], | ||
"top_tokens": null | ||
}, | ||
"generated_text": "Test request1\n_2 " | ||
} |
Oops, something went wrong.