ZnTrack icon indicating copy to clipboard operation
ZnTrack copied to clipboard

export global variables

Open PythonFZ opened this issue 4 years ago • 1 comments

Feature request for e.g. benchmarking. Allow running custom code like export CUDA_VISIBLE_DEVICES=-1 before starting the Python kernel as a custom argument to e.g. the call method.

PythonFZ avatar Oct 18 '21 14:10 PythonFZ

Something like zn.environment(is_parameter: bool) which would either save to zntrack.json or params.yaml and would be loaded in zntrack run ... command before importing the python module.

PythonFZ avatar Jan 23 '23 09:01 PythonFZ