Skip to content

Cycle path #49

@stjerngren

Description

@stjerngren

Currently a file to record the cycles when running a model is stored in a json file. This json file is created at import of Bifrost at

current_working_directory/cycle.json

This is an inelegant solution which works fine as long you only run one instance of Bifrost at once. Running a model several time also simply appends to the file which also is not ideal.

Add a way to specify a file wherever you want. One way would be a utils module.

from bifrost.utils import  cycle_name

# where cycle_name would be something like
def  cycle_name(filename:str, path:str=[])
    # Figure this part out. You need to make the file accessible in bifrost/tuner/stonne_builder/
    # In run_stonne_through_rpc for the costs path. You also need to make it accessible in the .ccp files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions