Re: Environment markers for GPU/CUDA availibility

Jeremy Stanley <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <[email protected]>
On 2018-09-04 11:40:17 -0500 (-0500), Dustin Ingram wrote:
> On Tue, Sep 4, 2018 at 11:33 AM Jeremy Stanley <[email protected]> wrote:
> >
> > Yes. If you haven't tried running a mirror of PyPI lately you're
> > likely not to have noticed, but the various nightly builds for
> > tensorflow seem to be the majority of the data on PyPI now. I'm sure
> > it's a very neat and useful tool, but we basically had to switch
> > from mirroring PyPI in our CI system to using a caching proxy
> > because of this.
> 
> Side note: PyPI now provides a list of the largest packages by total
> filesize: https://pypi.org/stats/
> 
> Depending on what mirror you're using, you may be able to exclude
> these packages from your mirror if you don't need them, e.g. for
> bandersnatch: https://github.com/pypa/bandersnatch/blob/master/docs/filtering_configuration.md#blacklist-filtering-settings

We played whack-a-mole blacklisting some of the largest offenders in
our bandersnatch config for a while, but really needed to rebuild
the mirror from scratch since there's no easy way to go back and
delete the now-blacklisted packages from before the blacklist
entries were added (and that's a week+ effort to bootstrap a new
mirror these days). In the end we just switched to a caching proxy
we already had on hand because it got us most of the benefit of
mirroring with a tiny fraction of the disk space, given we use fewer
than 1000 packaged Python library dependencies across our CI jobs
anyway.
-- 
Jeremy Stanley

--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/mm3/archives/list/[email protected]/message/3SPP3O47YY7OO2UHADY6AA6PDJMKEFDS/
signature.asc (application/pgp-signature, 963 B)
-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEl65Jb8At7J/DU7LnSPmWEUNJWCkFAluO0qNfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk3
QUU0OTZGQzAyREVDOUZDMzUzQjJFNzQ4Rjk5NjExNDM0OTU4MjkACgkQSPmWEUNJ
WCmgGhAAkPJ430/Rrb3UxvGxHGDy+PmU2T25S1ZEGSFZX9U9vRV/s8+4Kpi6M2hH
eJ+ngS2UDlwNSVxQ7Lgkxmwc8Emq/8JjYlF/MrxFWLP1i+Z9xsrFZP9ek3rh3zk5
2y1zJhZAG7M0dDkit9Md+/+qusAkMhmOr702HUKveQH9id92NAPzVjwrYx8Lgr7u
2VIM3iihS9SskFe3o5/jEWD0GLNYLSVmRe6mLGCP2EpABrRFpmqVtEcqoEwpc7f4
N6lFURP4rv1GwA0QZtCRoNSWxcdkqPhtgJLVZcmi5HPBgGZ+ImP3Azt8js9N6bk6
1FYzNrObeVeAWPnrw64MPwwYRGjwNcL72+szE2UIxtg6J9GZ34ADnChL9InxGK9p
LRiORk/xMhRSc75Wcf1U3eF5wBqPICpfNkrzz38CD3gdn3emidmLeIvMHbd+43F7
OBN+gzdRZzOJMqa+GybuTBSQjmOH15m/TCvgC9pgLnFHKms9C4hgGConx/d5w9U5
pomogLbRdOowyoKpwX0/lJ+CAWVWkTrAXEqDXz3+sxk6RU8tW3qcV9MYWJjPPM05
ahq2XHi1iYhyXvfK6OQgS6f47QKZL+5PZ3yKNQscnGxCoiP1sypdwkGeWdV3PpmU
LP1W+70t1BVfjSgI+yhbDebtJe0UGttCm8HFWgPlsR4SVCxlyWc=
=9oZn
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.