浏览代码

Add Docker commands, use permanent Discord links (#137)

Alexander Borzunov 2 年之前
父节点
当前提交
a94c91d870
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      README.md

+ 5 - 1
README.md

@@ -34,11 +34,15 @@ for input_ids, labels in data_loader:
 Connect your own GPU and increase Petals capacity:
 Connect your own GPU and increase Petals capacity:
 
 
 ```bash
 ```bash
+# In an Anaconda env
 (conda) $ pip install git+https://github.com/bigscience-workshop/petals
 (conda) $ pip install git+https://github.com/bigscience-workshop/petals
 (conda) $ python -m petals.cli.run_server bigscience/bloom-petals
 (conda) $ python -m petals.cli.run_server bigscience/bloom-petals
+
+# Or using a GPU-enabled Docker image
+sudo docker run --net host --ipc host --gpus all --rm learningathome/petals:main python -m petals.cli.run_server bigscience/bloom-petals
 ```
 ```
 
 
-💬 If you have any issues or feedback, please join [our Discord server](https://discord.gg/uGugx9zYvN)!
+💬 If you have any issues or feedback, please join [our Discord server](https://discord.gg/D9MwApKgWa)!
 
 
 Check out more tutorials:
 Check out more tutorials: