Skip to content

[BUG] custom config.yaml and frameworks.yaml NOT uploaded on aws mode #478

Open
@lujiaying

Description

@lujiaying

Hi amazing automlbenchmark team,

Following the instruction, I have put my custom yaml files under PROJ_ROOT/user_dir,

user_dir
|-- config.yaml
|-- frameworks.yaml

And in user_dir/config.yaml, I have set up aws-resource_files according to HOWTO

---
frameworks:
  definition_file:  # this allows to add custom framework definitions (in {user}/frameworks.yaml) on top of the default ones.
    - '{root}/resources/frameworks.yaml'
    - '{user}/frameworks.yaml'

project_repository: https://github.com/lujiaying/automlbenchmark#ag_cascade_benchmark

versions:
  python: 3.9

aws:
  region: 'us-west-1'
  resource_files:
    - '{user}/config.yaml'
    - '{user}/frameworks.yaml'

 ...

Then I ran a test on aws mode by
python runbenchmark.py autogluon_v0.5.1_high_il0.001 example 1h8c -u user_dir -m aws
Note autogluon_v0.5.1_high_il0.001 is a custom framework added in user_dir/frameworks.yaml (I tested successfully on local mode).

However, it seems that `'{user}/config.yaml', '{user}/frameworks.yaml' are NOT uploaded.
Error message are like:

[INFO] [amlb:07:14:14.127] Running benchmark `autogluon_v0.5.1_high_il0.001` on `example` framework in `local` mode.
[DEBUG] [amlb:07:14:14.127] Script args: Namespace(framework='autogluon_v0.5.1_high_il0.001', benchmark='example', constraint='1h8c', mode='local', task=None, fold=None, indir='/s3bucket/input', outdir='/s3bucket/output', userdir='/s3bucket/user', parallel=1, setup='only', keep_scores=True, exit_on_error=False, logging='console:info,app:debug,root:info', profiling=False, resume=False, session='', extra=['seed=auto']).
[DEBUG] [amlb.utils.config:07:14:14.127] Loading config file `/repo/resources/config.yaml`.
[DEBUG] [amlb.utils.config:07:14:14.164] No config file at `/s3bucket/user/config.yaml`, ignoring it.
...
...
[ERROR] [amlb:07:14:14.233]
ERROR:
Incorrect framework `autogluon_v0.5.1_high_il0.001`: not listed in ['/repo/resources/frameworks.yaml'].

May I know if I mess up anything? Shall I not use user_dir, but just directly modify the default config.yaml and framework.yaml?
Thank you for the help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    awsAWS support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions