Comments (13)
That works. I had some speed issues but in the end a VPN is at fault. Sorry about the noise.
from gluon-nlp.
I always keep the global s3 in sync with the China s3 mirror
from gluon-nlp.
the global s3 is backed with s3-accelerate, which already utilizes all cloudfront edge locations.
from gluon-nlp.
Try export MXNET_GLUON_REPO=https://apache-mxnet.s3.cn-north-1.amazonaws.com.cn/
from gluon-nlp.
Thanks, it's great you already thought about this issue and that there is already a solution!
What do you think about putting that behind Cloudfront. If I understand correctly we may use a single link then and the correct region will be selected automatically based on the source of the request.
from gluon-nlp.
Due to regulation in China, it requires a business entity and registration with the government to set up CDN in China.
from gluon-nlp.
Also, China AWS accounts are separate from global AWS accounts, so we would at least need to cloudfront end points. Then we would need DNS magic to point to the right endpoint, so I haven't gone through that route yet.
from gluon-nlp.
Btw, the China S3 mirror also slow in Asia-Pacific region outside of mainland (eg. HK).
from gluon-nlp.
@leezu how's the speed with the global repo? Tokyo/Singapore edges might be fast.
from gluon-nlp.
Is this issue resolved?
from gluon-nlp.
I think the current S3 Accelerate approach is sufficient. AWS recently added CloudFront endpoints in Hong Kong and mainland China.
S3 Accelerate doesn't make use of the endpoints in mainland China though, but maybe they will in the future.
Do we have any reports of trouble downloading in China? I'll close this for now, but let's reopen once we have more evidence of the issue.
from gluon-nlp.
@leezu they won't. China is a separate region entirely and there's no data exchange with the global region except on the public network.
from gluon-nlp.
Cloudflare does, so I think Cloudfront will need to do eventually as well. Cloudflare advertises this feature heavily https://www.cloudflare.com/network/china/
from gluon-nlp.
Related Issues (20)
- Upgrade sacremoses to 0.0.44
- Loading 'distilbert_6_768_12' is broken HOT 2
- Operator npx.broadcast_like HOT 3
- [v0.x] Some CPU tests fail after switching to use MXNet 1.8.0 HOT 1
- Dead link to build_steps.groovy in contribute.rst#make-changes
- difference between gluonnlp 0.10.0 and gluonnlp 1.0.0 RoBERTaModel?
- Badge link was broken in README
- GPT2 tests mysteriously killed HOT 3
- gluon-nlp/scripts/question_answering/train.py HOT 2
- XLMR Conversion fails on parameter dictionary KeyError HOT 3
- I want BigRNN back... HOT 5
- Difference in naming convention between op.py and test_op.py
- Implementation of Incremental Decoding
- Wrong ETA for max_seq_length != 512
- Wheel fails to build setup.py for gluonnlp HOT 2
- (not a bug) question about bert `create_pretraining_data.tokenize_lines()` HOT 1
- ImportError [...]/lib/python3.10/site-packages/gluonnlp/data/fast_bert_tokenizer.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyGen_Send HOT 5
- Problems not being imported from colab HOT 1
- nlp version error HOT 1
- Installation Error in google Collab env with Python3.7 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gluon-nlp.