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

New task registration failed #20

Open
ksr157 opened this issue Mar 24, 2024 · 1 comment
Open

New task registration failed #20

ksr157 opened this issue Mar 24, 2024 · 1 comment

Comments

@ksr157
Copy link

ksr157 commented Mar 24, 2024

I have defined a new task, and the entire data collection for 'Defining New MBO Tasks' ran successfully. However, when I used design_bench.make to set up the new task, it failed to download the data.
The error message displayed is: 'ValueError: No registered task with the name: NEW-TASK-v0'.
I'm wondering why the data collection ran smoothly, but the new task seems to fail during registration with design_bench. Could you help me fix this? Also, could you please explain how to verify if the task was successfully registered?

@christopher-beckham
Copy link
Collaborator

Hi @ksr157

All of the tasks are actually registered in design_bench/__init__.py, I suppose you could use the register() function in design_bench.registration but I feel like it would be easier to just instantiate the task manually. I'm not sure if there's functionally a difference between using design_bench.make or not in terms of whether it's just syntactic sugar or if it's needed to fulfil a specific purpose (I've never implemented a new task ever in this lib*).

(* n.b: take everything I say with a grain of salt, I'm just a maintainer of the lib, not the originating author, so I'm ccing @brandontrabucco here)

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

2 participants