You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Following the guide: https://bittensor.com/documentation/mining/mining when trying to run neuron.py, even with the simple --help, You get a error:
NameError: name 'torch' is not define
To Reproduce
Follow the guide, try to use the neuron.py miner:
python3 neuron.py --help
get an error when running.
Expected behavior
It should work.
Screenshots
Environment:
vast.ai miner VM using for testing.
Additional context
Add any other context about the problem here.
Solution here appears to be fairly simple... I added:
import torch
to the top of the python file, and this runs as expected.
Describe the bug
Following the guide:
https://bittensor.com/documentation/mining/mining when trying to run neuron.py, even with the simple --help, You get a error:
NameError: name 'torch' is not define
To Reproduce
Follow the guide, try to use the neuron.py miner:
get an error when running.
Expected behavior
It should work.
Screenshots
![image](https://private-user-images.githubusercontent.com/3788162/247976161-39132d67-d51c-4ef7-bcf2-7079386bc4db.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NzE2MjQsIm5iZiI6MTczOTU3MTMyNCwicGF0aCI6Ii8zNzg4MTYyLzI0Nzk3NjE2MS0zOTEzMmQ2Ny1kNTFjLTRlZjctYmNmMi03MDc5Mzg2YmM0ZGIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMjIxNTI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjlhZDQzMWQxZWNjYjFiNTQzZWM0YWZjODY3ZTFkYzUzMTZiM2IxZjUxZDI1ZWE5N2UwYjc1NTFjYjY0ZGMwYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.GwiYq2wZXvWKfUXygQTjuNFlA_5K4jFFz0XHlUsKYSs)
Environment:
Additional context
Add any other context about the problem here.
Solution here appears to be fairly simple... I added:
to the top of the python file, and this runs as expected.
However, the documentation is incorrect on how to run this as well. Following the guide:
However this produces an error:
But I am having trouble finding any documentation what is required here, or what the other flags for gpt4all.x do, or what is required.
The text was updated successfully, but these errors were encountered: