added gpu proving lotus-worker env vars
This commit is contained in:
parent
8a0b25cfc1
commit
66a7e32e58
@ -90,9 +90,10 @@ func main() {
|
|||||||
Usage: fmt.Sprintf("Specify miner repo path. flag storagerepo and env LOTUS_STORAGE_PATH are DEPRECATION, will REMOVE SOON"),
|
Usage: fmt.Sprintf("Specify miner repo path. flag storagerepo and env LOTUS_STORAGE_PATH are DEPRECATION, will REMOVE SOON"),
|
||||||
},
|
},
|
||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
Name: "enable-gpu-proving",
|
Name: "enable-gpu-proving",
|
||||||
Usage: "enable use of GPU for mining operations",
|
Usage: "enable use of GPU for mining operations",
|
||||||
Value: true,
|
Value: true,
|
||||||
|
EnvVars: []string{"LOTUS_WORKER_ENABLE_GPU_PROVING"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user