Skip to content

There is a syntax error in eval/scripts/evaluate.sh #24

@JingYao152

Description

@JingYao152

I got this error while running the evaluation for the LLaDA-V model:

Total 17 evaluation tasks to execute
scripts/evaluate.sh: line 144: syntax error near unexpected token `done'
scripts/evaluate.sh: line 144: `done'

It worked fine after I deleted the extra if statement.
Here’s the fix I applied:

# Brief wait to avoid CPU spinning too frequently
    if [ $FINISHED_TASKS -lt$TOTAL_TASKS ]; then # Only sleep when there are unfinished tasks
        sleep 10 # Can adjust wait time based on actual situation
    fi
done

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions