Skip to content

fme missing attribute 'get_device' on clean install #22

@ngordillo

Description

@ngordillo

Doing a clean install of ACE and creating the environment, the fme module is missing elements needed to run. I've tested this out on two different machines get the same error message.

Traceback (most recent call last):
  File "/home/nicojg/mambaforge/envs/fme/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/nicojg/mambaforge/envs/fme/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/nicojg/ace/fme/fme/ace/inference/__main__.py", line 8, in <module>
    main(yaml_config=args.yaml_config)
  File "/home/nicojg/ace/fme/fme/ace/inference/inference.py", line 221, in main
    run_inference_from_config(config)
  File "/home/nicojg/ace/fme/fme/ace/inference/inference.py", line 235, in run_inference_from_config
    logging.info(f"Current device is {fme.get_device()}")
AttributeError: module 'fme' has no attribute 'get_device'

I managed to work around this by uninstalling fme after running make create_environment and then reinstalling to the latest version.

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