Closed atemate closed 3 years ago
This is a dubious feature. The idea of the Makefile is to help working with a Platform (and encourage people to work with a platform).
In your particular case, the problem should be solved by remote debug instead of running the code locally. Also, you may easily get different setups locally and remotely, for example, forgetting to upload the data to the platform storage. Thus, local execution won't help you to troubleshoot the remote problem.
when something does not work, in order to localize the problem, I usually reduce the number of places in the environment where the error may occur. Once I got the exception above, I (of course) checked my directories on Storage (everything's fine), so my next step is to try to run the same setup locally just to check if the problem is with my code or with platform setup. As a regular user of the platform, I experience high level of frustration when in order to run my code locally I have to read Makefile, resolve environment variables manually and run jupyter manually as well. I really need the template to have targets to run my code locally.
outdated, this feature request depends on each particular case, which includes:
closing for now
When I was working with the tutorial https://neu.ro/docs/how_to_train_your_model, I got some problem with my setup:
So at this point I'd like to test my project setup (paths stored in variables in Makefile) locally. Somehting like
make training-local
would be useful to debug the project without copying anything to the Storage, waiting for the job to be scheduled, etc.