Jelajahi Sumber

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

Alexander Borzunov 2 tahun lalu
induk
melakukan
a94c91d870
1 mengubah file dengan 5 tambahan dan 1 penghapusan
  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:
 
 ```bash
+# In an Anaconda env
 (conda) $ pip install git+https://github.com/bigscience-workshop/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: