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

[BUG] autotrain process returns code 0 even if there was an error in worker during train process #877

Open
2 tasks done
mmx86 opened this issue Mar 28, 2025 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@mmx86
Copy link

mmx86 commented Mar 28, 2025

Prerequisites

  • I have read the documentation.
  • I have checked other issues for similar problems.

Backend

Local

Interface Used

CLI

CLI Command

autotrain --config config.yaml && echo "must be executed only on success"

with test config:

backend: local
base_model: svmm  # just testing invalid case. It doesn't matter where the invalidation is
data:
  column_mapping: {}
  path: autotrain
  train_split: train
  valid_split: test
log: tensorboard
project_name: project
target_columns: target
task: tabular

UI Screenshots & Parameters

No response

Error Logs

ERROR | 2025-03-28 07:03:14 | autotrain.trainers.common:wrapper:216 - Invalid model
INFO | 2025-03-28 07:03:16 | autotrain.parser:run:229 - Job ID: 2580
must be executed only on success

Additional Information

I expected job error codes to be forwarded to parent autotrain process to be able to integrate autotrain into some pipeline depending on the success of the execution.

@mmx86 mmx86 added the bug Something isn't working label Mar 28, 2025
@mmx86 mmx86 changed the title [BUG] autotrain returns 0 even if there was an error in worker during train process [BUG] autotrain process returns code 0 even if there was an error in worker during train process Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant