Skip to main content

AI-Beamline-Controller

Ai-driven autonomous beamline controller

pip install aps-ai-beamline-controller detects the installing machine's NVIDIA driver and pulls the matching torch / torchvision / torchaudio build, plus ax-platform. No --index-url needed by the user.

How it works

Dependencies are declared dynamic (PEP 643), so they are computed when the user's pip builds the wheel locally from the sdist. At that point setup.py:

  1. runs nvidia-smi to read the host's max CUDA version,
  2. maps it to a (torch release, CUDA build) tier,
  3. queries the PyTorch index and finds the exact wheel URLs matching the running interpreter's tags,
  4. emits them as PEP 508 direct-reference requirements (torch @ https://...).

pip then downloads those exact wheels.

Tier map (edit TIERS in setup.py to change):

driver CUDA torch build
≥ 13.0 2.12.1 cu130
12.8–12.9 2.11.0 cu128
12.6–12.7 2.12.1 cu126
12.4–12.5 2.6.0 cu124
11.8–12.3 2.6.0 cu118
none/older 2.12.1 cpu

Publishing — sdist ONLY

This is the load-bearing rule. If a wheel is on PyPI, pip installs it and the detection never runs. Build and upload only the sdist:

python -m build --sdist        # produces dist/*.tar.gz only
twine upload dist/*.tar.gz     # do NOT upload any .whl

The uploaded sdist's metadata says dynamic = ["dependencies"] (no direct URLs), so PyPI accepts it. The direct URLs exist only in the wheel each user builds locally, which PyPI never sees.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aps_ai_beamline_controller-0.0.86.tar.gz (150.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aps_ai_beamline_controller-0.0.86-py3-none-any.whl (284.4 kB view details)

Uploaded Python 3

File details

Details for the file aps_ai_beamline_controller-0.0.86.tar.gz.

File metadata

File hashes

Hashes for aps_ai_beamline_controller-0.0.86.tar.gz
Algorithm Hash digest
SHA256 e34511324a31bf6ed93d18c6d689c6d04f127e04465566c6eab5a4a50f0ffca8
MD5 ff0cec76f26cfff6218a5ab5d1cf07a7
BLAKE2b-256 1b35ee9bfcc275613f4ffe13438364a2b14cf46c3ec85be0e9fb77cdd906ebf9

See more details on using hashes here.

File details

Details for the file aps_ai_beamline_controller-0.0.86-py3-none-any.whl.

File metadata

File hashes

Hashes for aps_ai_beamline_controller-0.0.86-py3-none-any.whl
Algorithm Hash digest
SHA256 7e16dd76b018ed958e33549df806d47f9e5b85c0ed21b59a37bd4d713ac68c75
MD5 5bd82bade0ea94763b6a726c1c9dc8c4
BLAKE2b-256 79e2a53461ab3a2822e129021700040da562432240ee360a5c7b6338adbdb777

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.100

2 files

0.0.99

2 files

0.0.98

2 files

0.0.97

2 files

0.0.96

2 files

0.0.95

2 files

0.0.94

2 files

0.0.93

2 files

0.0.92

2 files

0.0.91

2 files

0.0.90

2 files

0.0.89

2 files

0.0.88

2 files

0.0.87

2 files

This release

0.0.86 This release

2 files

0.0.85

2 files

0.0.84

2 files

0.0.83

2 files

0.0.82

2 files

0.0.81

2 files

0.0.80

1 file

0.0.79

1 file

0.0.78

1 file

0.0.77

1 file

0.0.76

1 file

0.0.75

1 file

0.0.74

1 file

0.0.73

1 file

0.0.72

1 file

0.0.71

1 file

0.0.70

1 file

0.0.69

1 file

0.0.68

2 files

0.0.67

2 files

0.0.66

2 files

0.0.65

2 files

0.0.64

2 files

0.0.63

2 files

0.0.62

2 files

0.0.61

2 files

0.0.60

2 files

0.0.59

2 files

0.0.58

2 files

0.0.57

2 files

0.0.56

2 files

0.0.55

2 files

0.0.54

2 files

0.0.52

2 files

0.0.51

2 files

0.0.50

2 files

0.0.49

2 files

0.0.48

2 files

0.0.47

2 files

0.0.46

2 files

0.0.45

2 files

0.0.44

2 files

0.0.43

2 files

0.0.42

2 files

0.0.41

2 files

0.0.40

2 files

0.0.39

2 files

0.0.38

2 files

0.0.37

2 files

0.0.36

2 files

0.0.35

2 files

0.0.34

2 files

0.0.33

2 files

0.0.32

2 files

0.0.31

2 files

0.0.30

2 files

0.0.29

2 files

0.0.28

2 files

0.0.27

2 files

0.0.26

2 files

0.0.25

2 files

0.0.24

2 files

0.0.23

2 files

0.0.22

2 files

0.0.21

2 files

0.0.20

2 files

0.0.19

2 files

0.0.18

2 files

0.0.17

2 files

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page