Open deo-abhijit opened 4 months ago
You can use ---
to tell Scalene to stop processing arguments (so put all Scalene arguments first, then ---
, then any other arguments), but I suspect this will not fix the problem. Please give it a try, though.
You might also try specifying --cpu
to help isolate the issue (if it works, that tells us something).
You can use
---
to tell Scalene to stop processing arguments (so put all Scalene arguments first, then---
, then any other arguments), but I suspect this will not fix the problem. Please give it a try, though.
Actually I had tried this as well, even the person who asked the question on stackoverflow also did try that.
But still it gave error
I got error while running scalene with torch.distributed.run .
I am currently following this doc
this command runs perfectly, but when i replace the python -m with scalene, it raises error. I think the main issue is my train_mz.py takes other arguments as input from command line. and scalene is prolly passing them as args to torch.distributed.run.main() function.
although this is just a speculation.
Also there is very similar stackoverflow question on exactly similar lines.
It would be really nice if someone could help me out here. Thanks