File tree Expand file tree Collapse file tree 1 file changed +37
-1
lines changed Expand file tree Collapse file tree 1 file changed +37
-1
lines changed Original file line number Diff line number Diff line change 99
99
Note: `--nightly` option puts the *.whl files in a subfolder named 'nightly' in the specified bucket
100
100
```
101
101
python s3_binary_upload.py --s3-bucket <s3_bucket> --s3-backup-bucket <s3_backup_bucket> --nightly
102
- ```
102
+ ```
103
+
104
+ ## Uploading packages to production torchserve account
105
+ ### pypi
106
+ Binaries should show up here: https://pypi.org/project/torchserve/
107
+
108
+ You need to be on the list of maintainers to run the below.
109
+
110
+ `twine upload <path/to.wheel>`
111
+
112
+
113
+ ### conda
114
+ Binaries should show up here: https://anaconda.org/pytorch/torchserve
115
+
116
+
117
+ ```
118
+ # Authenticate with pytorchbot credentials
119
+ anaconda login
120
+
121
+ # Upload binaries
122
+ anaconda upload -u pytorch <path/to/.bz2>
123
+ ```
124
+
125
+ ## docker
126
+ Binaries should show up here: https://hub.docker.com/r/pytorch/torchserve
127
+
128
+ Change the staging org to your personal docker or test docker account https://github.com/pytorch/serve/blob/master/docker/promote-docker.sh#L8
129
+
130
+ ```
131
+ # authenticate to docker with pytorchbot credentials
132
+ docker login
133
+
134
+ # upload docker image
135
+ ./docker/promote-docker.sh
136
+ ```
137
+
138
+ If everything looks good make sure to `export $DRY_RUN=disabled` or remove that line from the code
You can’t perform that action at this time.
0 commit comments