Skip to content

How to run inference with a computor hasn't gpu #117

Description

@lauraleung623

File "bin/load_and_evaluate_patchcore.py", line 286, in
main()
File "E:\Python\PyEnviroment\PatchCore\lib\site-packages\click\core.py", line 1161, in call
return self.main(*args, **kwargs)
File "E:\Python\PyEnviroment\PatchCore\lib\site-packages\click\core.py", line 1082, in main
rv = self.invoke(ctx)
File "E:\Python\PyEnviroment\PatchCore\lib\site-packages\click\core.py", line 1729, in invoke
return _process_result(rv)
File "E:\Python\PyEnviroment\PatchCore\lib\site-packages\click\core.py", line 1666, in _process_result
value = ctx.invoke(self._result_callback, value, **ctx.params)
File "E:\Python\PyEnviroment\PatchCore\lib\site-packages\click\core.py", line 788, in invoke
return _callback(*args, **kwargs)
File "bin/load_and_evaluate_patchcore.py", line 69, in run
with device_context:
File "E:\Python\PyEnviroment\PatchCore\lib\site-packages\torch\cuda_init
.py", line 386, in enter
self.prev_idx = torch.cuda.exchange_device(self.idx)
File "E:\Python\PyEnviroment\PatchCore\lib\site-packages\torch\cuda_init
.py", line 87, in _exchange_device
raise RuntimeError("PyTorch was compiled without CUDA support")
RuntimeError: PyTorch was compiled without CUDA support

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions