в чем ошибка java PostgresMl 2024-10-02T14:38:24.083+03:00 ERROR 3004 --- [Telegram] [legram Executor] o.t.t.u.DefaultBotSession                : PreparedStatementCallback; uncategorized SQLException for SQL [
                SELECT pgml.transform(
    task => '{

        "model": "mistralai/Mistral-Small-Instruct-2409",
        "use_auth_token": "<TRUFFLEHOG_REDACTED_HUGGINGFACE>",
        "task": "text-generation"
        }'::JSONB,
     inputs => ARRAY[?,?]

);
]; SQL state [XX000]; error code [0]; ERROR: Traceback (most recent call last):
  File "transformers.py", line 489, in transform
  File "transformers.py", line 458, in create_pipeline
  File "transformers.py", line 315, in __init__
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 563, in from_pretrained
    return model_class.from_pretrained(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3436, in from_pretrained
    resolved_archive_file, sharded_metadata = get_checkpoint_shard_files(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/transformers/utils/hub.py", line 1038, in get_checkpoint_shard_files
    cached_filename = cached_file(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/transformers/utils/hub.py", line 398, in cached_file
    resolved_file = hf_hub_download(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1221, in hf_hub_download
    return _hf_hub_download_to_cache_dir(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1367, in _hf_hub_download_to_cache_dir
    _download_to_tmp_and_move(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1884, in _download_to_tmp_and_move
    http_get(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 542, in http_get
    temp_file.write(chunk)
 OSError: [Errno 28] No space left on device

org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL [
                SELECT pgml.transform(
    task => '{

        "model": "mistralai/Mistral-Small-Instruct-2409",
        "use_auth_token": "<TRUFFLEHOG_REDACTED_HUGGINGFACE>",
        "task": "text-generation"
        }'::JSONB,
     inputs => ARRAY[?,?]

);
]; SQL state [XX000]; error code [0]; ERROR: Traceback (most recent call last):
  File "transformers.py", line 489, in transform
  File "transformers.py", line 458, in create_pipeline
  File "transformers.py", line 315, in __init__
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 563, in from_pretrained
    return model_class.from_pretrained(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3436, in from_pretrained
    resolved_archive_file, sharded_metadata = get_checkpoint_shard_files(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/transformers/utils/hub.py", line 1038, in get_checkpoint_shard_files
    cached_filename = cached_file(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/transformers/utils/hub.py", line 398, in cached_file
    resolved_file = hf_hub_download(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1221, in hf_hub_download
    return _hf_hub_download_to_cache_dir(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1367, in _hf_hub_download_to_cache_dir
    _download_to_tmp_and_move(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1884, in _download_to_tmp_and_move
    http_get(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 542, in http_get
    temp_file.write(chunk)
 OSError: [Errno 28] No space left on device
	at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1549) ~[spring-jdbc-6.1.6.jar:6.1.6]
	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:677) ~[spring-jdbc-6.1.6.jar:6.1.6]
	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:723) ~[spring-jdbc-6.1.6.jar:6.1.6]
	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:754) ~[spring-jdbc-6.1.6.jar:6.1.6]
	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:767) ~[spring-jdbc-6.1.6.jar:6.1.6]
	at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:889) ~[spring-jdbc-6.1.6.jar:6.1.6]
	at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:911) ~[spring-jdbc-6.1.6.jar:6.1.6]
	at magazin.telegram.Bot.Service.TelegramSupport.Service.ServicePgVector.KnowledgebaseService.generateText(KnowledgebaseService.java:368) ~[classes/:na]
	at magazin.telegram.Bot.Service.TelegramSupport.Service.ServicePgVector.KnowledgebaseService.searchUserMessageInPgVectorAndChat(KnowledgebaseService.java:192) ~[classes/:na]
	at magazin.telegram.Bot.Service.TelegramSupport.Service.AiSearch.aiSearchSendResult(AiSearch.java:30) ~[classes/:na]
	at magazin.telegram.Bot.Service.TelegramSupport.Action.SupportAction.UserSendSupportAdapter.callBack(UserSendSupportAdapter.java:53) ~[classes/:na]
	at magazin.telegram.Bot.Service.TelegramBot2.onUpdateReceived(TelegramBot2.java:254) ~[classes/:na]
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ~[na:na]
	at org.telegram.telegrambots.meta.generics.LongPollingBot.onUpdatesReceived(LongPollingBot.java:27) ~[telegrambots-meta-6.8.0.jar:na]
	at org.telegram.telegrambots.updatesreceivers.DefaultBotSession$HandlerThread.run(DefaultBotSession.java:312) ~[telegrambots-6.8.0.jar:na]
Caused by: org.postgresql.util.PSQLException: ERROR: Traceback (most recent call last):
  File "transformers.py", line 489, in transform
  File "transformers.py", line 458, in create_pipeline
  File "transformers.py", line 315, in __init__
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 563, in from_pretrained
    return model_class.from_pretrained(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3436, in from_pretrained
    resolved_archive_file, sharded_metadata = get_checkpoint_shard_files(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/transformers/utils/hub.py", line 1038, in get_checkpoint_shard_files
    cached_filename = cached_file(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/transformers/utils/hub.py", line 398, in cached_file
    resolved_file = hf_hub_download(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1221, in hf_hub_download
    return _hf_hub_download_to_cache_dir(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1367, in _hf_hub_download_to_cache_dir
    _download_to_tmp_and_move(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1884, in _download_to_tmp_and_move
    http_get(
  File "/var/lib/postgresml-python/pgml-venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 542, in http_get
    temp_file.write(chunk)
 OSError: [Errno 28] No space left on device
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2713) ~[postgresql-42.6.2.jar:42.6.2]
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2401) ~[postgresql-42.6.2.jar:42.6.2]
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:368) ~[postgresql-42.6.2.jar:42.6.2]
	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:498) ~[postgresql-42.6.2.jar:42.6.2]
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:415) ~[postgresql-42.6.2.jar:42.6.2]
	at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:190) ~[postgresql-42.6.2.jar:42.6.2]
	at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:134) ~[postgresql-42.6.2.jar:42.6.2]
	at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeQuery(ProxyPreparedStatement.java:52) ~[HikariCP-5.0.1.jar:na]
	at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeQuery(HikariProxyPreparedStatement.java) ~[HikariCP-5.0.1.jar:na]
	at org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:732) ~[spring-jdbc-6.1.6.jar:6.1.6]
	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:658) ~[spring-jdbc-6.1.6.jar:6.1.6]
	... 13 common frames omitted