Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac screenshots use too many tokens (huggin #27

Open
tscherrie opened this issue Jan 23, 2025 · 0 comments
Open

mac screenshots use too many tokens (huggin #27

tscherrie opened this issue Jan 23, 2025 · 0 comments

Comments

@tscherrie
Copy link

tscherrie commented Jan 23, 2025

I use it on latest MacOS via huggingface Inference Endpoint: ui-tars-7b-dpo-jry

from logs:

... 1852164 more characters,
screenshotContext: { size: { width: 1168, height: 755 } },
timing: { start: 1737645182631, end: 1737645183029, cost: 398 }
}
],
code: -1,
error: '服务异常',
stack: 'Error: 422 "Input validation error: inputs tokens + max_new_tokens must be <= 32768. Given: 1373257 inputs tokens and 1000 max_new_tokens"'
}
[2025-01-23 17:13:05.829] [info] (main) [emitData] status end
[2025-01-23 17:13:05.830] [info] (main) ======data======
undefined undefined {}

[2025-01-23 17:13:05.834] [info] (main) tearDown
[2025-01-23 17:13:05.835] [info] (main) agent finally [this.status] end
[2025-01-23 17:13:05.835] [error] (main) [runAgentLoop error] Error: 422 "Input validation error: inputs tokens + max_new_tokens must be <= 32768. Given: 1373257 inputs tokens and 1000 max_new_tokens"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant