mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Fix broken URLs (#152237)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/152237 Approved by: https://github.com/huydhn, https://github.com/malfet
This commit is contained in:
committed by
PyTorch MergeBot
parent
cbcc03c2ad
commit
e2f9759bd0
@ -9,7 +9,7 @@
|
||||
|
||||
setup_environment(){
|
||||
# The rootfs image for a Tizen target (RPi3)is located at the below webpage:
|
||||
# http://download.tizen.org/releases/milestone/tizen/4.0.m1/tizen-unified_20170529.1/images/
|
||||
# https://cdn.download.tizen.org/archive/releases/milestone/tizen/4.0.m1/tizen-unified_20170529.1/images/
|
||||
# If you do not have a Tizen device, Please, run qemu-arm-static and chroot command.
|
||||
# $ sudo chroot ~/tizen-rootfs qemu-arm-static /usr/bin/bash
|
||||
|
||||
@ -25,7 +25,7 @@ caffe2_lite_dep_packages(){
|
||||
# You can set-up a rpm repository with zypper, yum, and dnf because Tizen
|
||||
# software platform officially support rpm format such as Fedora, OpenSUSE.
|
||||
# The official Tizen repository is as following:
|
||||
# http://download.tizen.org/releases/milestone/tizen/4.0.m1/
|
||||
# https://cdn.download.tizen.org/archive/releases/milestone/tizen/4.0.m1/
|
||||
echo "Installing dependencies."
|
||||
sudo zypper install \
|
||||
make \
|
||||
@ -69,7 +69,7 @@ caffe2_full_dep_packages(){
|
||||
# You can set-up a rpm repository with zypper, yum, and dnf because Tizen
|
||||
# software platform officially support rpm format such as Fedora, OpenSUSE.
|
||||
# The official Tizen repository is as following:
|
||||
# http://download.tizen.org/releases/milestone/tizen/4.0.m1/
|
||||
# https://cdn.download.tizen.org/archive/releases/milestone/tizen/4.0.m1/
|
||||
echo "Installing dependencies."
|
||||
sudo zypper install \
|
||||
cmake \
|
||||
|
@ -212,7 +212,9 @@ headers = {"Authorization": f"token {token}"}
|
||||
|
||||
def run_query(query):
|
||||
request = requests.post(
|
||||
"https://api.github.com/graphql", json={"query": query}, headers=headers
|
||||
"https://api.github.com/graphql", # @lint-ignore
|
||||
json={"query": query},
|
||||
headers=headers,
|
||||
)
|
||||
if request.status_code == 200:
|
||||
return request.json()
|
||||
|
Reference in New Issue
Block a user