test wont work unless --config_path is provided?
See original GitHub issueHi, thanks for the great library.
I have two questions:
When running: accelerate config
, then accelerate test
, the script doesnt work and throws the error:
FileNotFoundError: [Errno 2] No such file or directory: 'None'
Which means the default path is None rather than in the cache folder?
However it does work perfectly when using:
accelerate config --config_file /path/config.json
accelerate test --config_file /path/config.json
- If I want to use evaluation on one GPU only (not distributed evaluation), it is mentioned:
You can perform regular evaluation in your training script, if you leave your validation dataloader out of the prepare() method. In this case, you will need to put the input data on the accelerator.device manually.
If I do this, do I also need to wrap my code inside: if accelerator.is_main_process():
?
Thanks a lot!
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Error on Missing test/support Folder · Issue #182 - GitHub
ERROR: Config path [:paths][:support]['test/support'] does not exist on disk. Also it will be better if it continues to build after spewing ...
Read more >Spring Boot: @TestConfiguration Not Overriding Bean During ...
The @TestConfiguration 's constructor breakpoint is hit, so i know that my test configuration class instantiates, however the configPath method ...
Read more >Lisa Invoke API Error - The test case is not in a project.
Hi All,I am trying to execute devtest test case using lisa invoke apis from local ... I did not provide the config path,...
Read more >Configuring Jest compiled - w3resource
This will test files that are run inside a vm, which will slow calls to global context properties (e.g. Math). You can specify...
Read more >Configuring package.json · Jest
If a given module's path matches any of the patterns, it will not be require() -able in the test environment. These pattern strings...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No,
pip install accelerate
installs the last released version 😃I uninstalled it and re-installed it with
pip install git+https://github.com/huggingface/accelerate
and now it works Previously i installed it withpip install accelerate
so it doesent seem to install from main