reporting a possible bug with the model

#20
by stephanepetithomme - opened

Hi,
I am using LM studio to run this embedding model.
On the following tiny test case, it is crashing:

curl http://localhost:1234/v1/embeddings -H "Content-Type: application/json" -d '{
"model": "text-embedding-snowflake-arctic-embed-l-v2.0",
"input": "PatternEngine::RamReadSignals\nGate * hasSingleFanIngateIgnoreLeftShift(bool ignoreUnsignedExtension, int &shift) const\nhasSingleFanIngateIgnoreLeftShift is an extension to hasSingleFanIngate test where the tested vector LSB bit set at GND are ignored. Purpose is to detect adder chain like: {A+B,000}+C. This can be rewrite into {A,000}+{B,000}+C, which allow adder tree balancing and proper optimization (like ternary adder). For such case the 000 part (LSB) is ignored and the shift parameter returns the number of shifted bits. Params: ignoreUnsignedExtension - the processing of the fan-in gate. Do we allow sign extension. Refer to hasSingleFanIngate for detail explanation on this parameter. (type: bool) | shift - the number of shited bit that is detected. The shift may be 0 is no shift applies. (type: int &) Returns: Returns the leading unique gate."
}'

Notice near the end of the request: (type int &)

If this text is changed into (type int) the embedding process is ok.
I am running it with context set at max value (8K).
LM Studio 0.3.34 (Build 1)

Best Regards
Stéphane

Sign up or log in to comment