Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: invalid stoi argument #114

Open
WindancerNanami opened this issue Oct 11, 2022 · 0 comments
Open

RuntimeError: invalid stoi argument #114

WindancerNanami opened this issue Oct 11, 2022 · 0 comments

Comments

@WindancerNanami
Copy link

Starting Hydra Node HTTP TOKEN=None
Traceback (most recent call last):
File "runpy.py", line 196, in _run_module_as_main
File "runpy.py", line 86, in run_code
File "D:\AI\python\lib\site-packages\uvicorn_main
.py", line 4, in
uvicorn.main()
File "D:\AI\python\lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
File "D:\AI\python\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "D:\AI\python\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "D:\AI\python\lib\site-packages\click\core.py", line 760, in invoke
return _callback(*args, **kwargs)
File "D:\AI\python\lib\site-packages\uvicorn\main.py", line 408, in main
run(
File "D:\AI\python\lib\site-packages\uvicorn\main.py", line 576, in run
server.run()
File "D:\AI\python\lib\site-packages\uvicorn\server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 646, in run_until_complete
File "D:\AI\python\lib\site-packages\uvicorn\server.py", line 67, in serve
config.load()
File "D:\AI\python\lib\site-packages\uvicorn\config.py", line 479, in load
self.loaded_app = import_from_string(self.app)
File "D:\AI\python\lib\site-packages\uvicorn\importer.py", line 21, in import_from_string
module = importlib.import_module(module_str)
File "importlib_init
.py", line 126, in import_module
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "D:\AI.\main.py", line 36, in
model, config, model_hash = init_config_model()
File "D:\AI.\hydra_node\config.py", line 110, in init_config_model
config.cuda_dev = torch.cuda.current_device()
File "D:\AI\python\lib\site-packages\torch\cuda_init
.py", line 482, in current_device
lazy_init()
File "D:\AI\python\lib\site-packages\torch\cuda_init
.py", line 217, in _lazy_init
torch._C._cuda_init()
RuntimeError: invalid stoi argument

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant