hyperstudy-perception 0.1.3__tar.gz → 0.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/PKG-INFO +1 -1
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/pyproject.toml +1 -1
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/RELEASE.json +2 -1
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/cloud/runpod/image/Dockerfile +4 -3
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody-captions/node.py +42 -24
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody-captions/style_captions.py +42 -0
- hyperstudy_perception-0.1.4/src/perception/_pipeline/nodes/audio/prosody-captions/test_prosody_captions_node.py +107 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody-captions/test_style_captions.py +46 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/manifest.yaml +5 -3
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/node.py +7 -1
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/backends/cloud.py +22 -2
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/cli.py +304 -19
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/hosts.py +11 -0
- hyperstudy_perception-0.1.4/src/perception/pod_run.py +238 -0
- hyperstudy_perception-0.1.4/src/perception/pod_session.py +272 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/remote_coordinator.py +26 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/remote_driver.py +20 -195
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/remote_run.py +50 -30
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/LICENSE +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/README.md +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/__init__.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/cloud/runpod/guard.sh +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/cloud/runpod/image/start.sh +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/cloud/runpod/image/tag.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/cloud/skypilot/gpu-faces.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/cloud/skypilot/gpu-tune.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/cloud/skypilot/guard.sh +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/cloud/skypilot/iam-perception-node.json +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/cloud/skypilot/launch.sh +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/cloud/skypilot/node-gpu.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/cloud/skypilot/node-setup.sh +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/cloud/skypilot/sky.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/cloud/skypilot/smoke.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/api/pyproject.toml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/api/uv.lock +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/asr-cuda/pyproject.toml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/asr-cuda/uv.lock +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/audio/pyproject.toml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/audio/uv.lock +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/audio-events/pyproject.toml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/audio-events/uv.lock +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/core/pyproject.toml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/core/uv.lock +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/faces/pyproject.toml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/faces/uv.lock +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/gaze/pyproject.toml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/gaze/uv.lock +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/prosody/pyproject.toml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/prosody/uv.lock +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/vision/pyproject.toml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/envs/vision/uv.lock +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/graphs/decode.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/graphs/faces.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/graphs/full.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/graphs/mvp-captions.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/graphs/mvp.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/asr/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/asr/nemo_model.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/asr/nemo_tokens.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/asr/node.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/asr/node_nemo.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/asr/prepare.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/asr/raw_tokens.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/asr/test_nemo_model.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/asr/test_nemo_tokens.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/asr/test_raw_tokens.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/asr/test_wav.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/asr/utterances.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/asr/wav.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/diarize/diarization_raw.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/diarize/diarizer.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/diarize/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/diarize/node.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/diarize/pcm16.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/diarize/prepare.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/diarize/test_diarization_raw.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/diarize/test_diarizer.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/diarize/test_pcm16.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/diarize/test_voices.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/diarize/voices.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/node.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/odyssey.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/praat.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/prepare.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/prosody_layer.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/prosody_measure.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/prosody_tracks.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/prosody_units.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/test_prosody_layer.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/test_prosody_measure.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/test_prosody_tracks.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/test_prosody_units.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/third_party/README.md +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/third_party/odyssey/LICENSE +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody/third_party/odyssey/ser_model.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody-captions/captions_raw.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/prosody-captions/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/audioset_labels.csv +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/efficientat/LICENSE +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/efficientat/UPSTREAM.md +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/efficientat/__init__.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/efficientat/mn/__init__.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/efficientat/mn/attention_pooling.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/efficientat/mn/block_types.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/efficientat/mn/model.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/efficientat/mn/utils.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/efficientat/preprocess.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/models.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/panns/LICENSE.MIT +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/panns/UPSTREAM.md +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/panns/__init__.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/panns/cnn14.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/panns/pytorch_utils.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/prepare.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/sound_events.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/sound_scores.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/soundtrack.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/test_sound_events.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/test_sound_scores.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/sounds/test_soundtrack.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/waveform/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/waveform/node.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/waveform/test_waveform_peaks.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/audio/waveform/waveform_peaks.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/conftest.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/core/decode/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/core/decode/media.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/core/decode/node.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/core/decode/shot_scores.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/core/decode/test_media.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/core/decode/test_shot_scores.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/testdata/README.md +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/testdata/rotated-90.mp4 +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/asd_crops.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/asd_raw.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/models.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/node.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/prepare.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/speaker_links.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/test_asd_crops.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/test_asd_raw.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/test_speaker_links.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/third_party/README.md +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/third_party/lr_asd/LICENSE +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/third_party/lr_asd/loss.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/third_party/lr_asd/model/Classifier.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/third_party/lr_asd/model/Encoder.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/third_party/lr_asd/model/Model.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/active-speaker/video25.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/body-pose/bodies.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/body-pose/detections.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/body-pose/keypoints.json +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/body-pose/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/body-pose/models.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/body-pose/node.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/body-pose/prepare.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/body-pose/test_bodies.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/body-pose/test_detections.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/face-track/face_detail.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/face-track/frames.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/face-track/loader.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/face-track/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/face-track/node.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/face-track/prepare.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/face-track/pyfeat_raw.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/face-track/test_face_detail.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/face-track/test_frames.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/face-track/test_loader.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/face-track/test_pyfeat_raw.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/face-track/test_thumbnails.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/face-track/thumbnails.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/face-track/tracking.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/facing/facing.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/facing/facing_raw.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/facing/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/facing/models.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/facing/node.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/facing/prepare.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/facing/test_facing.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/facing/test_facing_raw.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/gaze_polygons.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/gaze_targets.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/heatmaps.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/models.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/node.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/prepare.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/test_gaze_polygons.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/test_gaze_targets.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/test_heatmaps.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/README.md +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/dinov2/LICENSE +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/dinov2/dinov2/__init__.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/dinov2/dinov2/layers/__init__.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/dinov2/dinov2/layers/attention.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/dinov2/dinov2/layers/block.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/dinov2/dinov2/layers/dino_head.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/dinov2/dinov2/layers/drop_path.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/dinov2/dinov2/layers/layer_scale.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/dinov2/dinov2/layers/mlp.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/dinov2/dinov2/layers/patch_embed.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/dinov2/dinov2/layers/swiglu_ffn.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/dinov2/dinov2/models/__init__.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/dinov2/dinov2/models/vision_transformer.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/gazelle/LICENSE +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/gazelle/gazelle/backbone.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/gazelle/gazelle/model.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gaze/third_party/gazelle/gazelle/utils.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gestures/gesture_evidence.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gestures/gesture_inputs.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gestures/gesture_rules.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gestures/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gestures/node.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gestures/test_gesture_evidence.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/gestures/test_gesture_rules.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/hands/hand_detections.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/hands/hand_tracks.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/hands/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/hands/models.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/hands/node.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/hands/prepare.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/hands/scipy_lsap/LICENSE +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/hands/scipy_lsap/UPSTREAM.md +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/hands/scipy_lsap/__init__.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/hands/scipy_lsap/rectangular_lsap.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/hands/test_hand_detections.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/hands/test_hand_tracks.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/hands/test_node.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/hands/test_rectangular_lsap.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/budget.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/garments.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/geometry.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/haiku.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/link.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/linking.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/models.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/names.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/object_raw.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/object_tracks.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/person_masks.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/prepare.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/shot_frames.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/test_garments.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/test_models_hub.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/test_object_budget.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/test_object_links.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/test_object_raw.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/test_person_masks.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/test_shot_frames.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/test_split.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/testdata/node_1_1_0.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/track.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects/vocabulary.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects-link/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects-names/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vision/objects-track/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vlm/shot-captions/manifest.yaml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/nodes/vlm/shot-captions/node.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/schema/README.md +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/schema/bundle-0.1.schema.json +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/sdk/pyproject.toml +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/sdk/src/perception_node/__init__.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/sdk/src/perception_node/weights.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/artifacts.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/backends/__init__.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/backends/base.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/backends/native.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/backends/probe.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/backends/remote.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/estimates.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/export.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/ir.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/keycheck.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/keys.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/manifests.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/plan.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/prepare_first.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/release.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/runpod.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/scheduler.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/setup.py +0 -0
- {hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/store.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: hyperstudy-perception
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Video perception pipeline: shots, speech, faces and captions from a video, as a versioned track bundle, run locally, on cloud GPUs or lab servers
|
|
5
5
|
Project-URL: Homepage, https://github.com/hyperstudyio/hyperstudy-perception
|
|
6
6
|
Project-URL: Changelog, https://github.com/hyperstudyio/hyperstudy-perception/releases
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "hyperstudy-perception"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.4"
|
|
4
4
|
description = "Video perception pipeline: shots, speech, faces and captions from a video, as a versioned track bundle, run locally, on cloud GPUs or lab servers"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "MIT"
|
{hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/_pipeline/RELEASE.json
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commit": "
|
|
2
|
+
"commit": "7a657d9319167d9fb6eb8374260e9d74d72365b2",
|
|
3
3
|
"files": [
|
|
4
4
|
"cloud/runpod/guard.sh",
|
|
5
5
|
"cloud/runpod/image/Dockerfile",
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"nodes/audio/prosody-captions/manifest.yaml",
|
|
66
66
|
"nodes/audio/prosody-captions/node.py",
|
|
67
67
|
"nodes/audio/prosody-captions/style_captions.py",
|
|
68
|
+
"nodes/audio/prosody-captions/test_prosody_captions_node.py",
|
|
68
69
|
"nodes/audio/prosody-captions/test_style_captions.py",
|
|
69
70
|
"nodes/audio/prosody/manifest.yaml",
|
|
70
71
|
"nodes/audio/prosody/node.py",
|
|
@@ -8,10 +8,11 @@
|
|
|
8
8
|
FROM runpod/pytorch:2.1.0-py3.10-cuda11.8.0-devel-ubuntu22.04@sha256:2594f25beeef751aeebcc207ba4c45a382ba174655f01e15cbbfad0e2bdb5ef8
|
|
9
9
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
10
10
|
|
|
11
|
-
# what nodes and the driver use (setup then installs nothing)
|
|
12
|
-
#
|
|
11
|
+
# what nodes and the driver use (setup then installs nothing): ffmpeg, rsync, and the EGL and GLES libraries MediaPipe
|
|
12
|
+
# loads even on the CPU (vision.facing failed for want of libEGL.so.1 on a pod, 2026-10-31). sshd takes keys only.
|
|
13
|
+
# Each pod makes its own host keys at start (start.sh): the ones in the base image are public, and are never used
|
|
13
14
|
RUN apt-get update \
|
|
14
|
-
&& apt-get install -y --no-install-recommends ffmpeg rsync \
|
|
15
|
+
&& apt-get install -y --no-install-recommends ffmpeg rsync libegl1 libgles2 \
|
|
15
16
|
&& rm -rf /var/lib/apt/lists/* /etc/ssh/ssh_host_* \
|
|
16
17
|
&& mkdir -p /run/sshd /etc/ssh/sshd_config.d \
|
|
17
18
|
&& printf 'PermitRootLogin prohibit-password\nPasswordAuthentication no\nKbdInteractiveAuthentication no\n' \
|
|
@@ -80,28 +80,25 @@ with Node() as node:
|
|
|
80
80
|
u = units[k]
|
|
81
81
|
i, j = u["samples"]
|
|
82
82
|
text = sc.prompt(units, k)
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
return {"parsed": parsed, "usage": usage, "prompt": text, "outside": sc.outside_tags(arguments),
|
|
103
|
-
"raw": {"model": r.model, "finish_reason": choice.finish_reason, "arguments": arguments,
|
|
104
|
-
"usage": r.usage.model_dump(mode="json")}}
|
|
83
|
+
|
|
84
|
+
def ask():
|
|
85
|
+
r = call(lambda: client.chat.completions.create(
|
|
86
|
+
model=sc.GPT_MODEL, modalities=["text"],
|
|
87
|
+
tools=[{"type": "function", "function": {"name": "record_style", "description": "Record how the target is said",
|
|
88
|
+
"parameters": sc.CAPTION_SCHEMA, "strict": True}}],
|
|
89
|
+
tool_choice={"type": "function", "function": {"name": "record_style"}},
|
|
90
|
+
messages=[{"role": "system", "content": sc.GPT_INSTRUCTIONS},
|
|
91
|
+
{"role": "user", "content": [{"type": "text", "text": text},
|
|
92
|
+
{"type": "input_audio", "input_audio": {"data": wav_b64(pcm[2 * i:2 * j]), "format": "wav"}}]}]))
|
|
93
|
+
d = r.usage.prompt_tokens_details
|
|
94
|
+
usage = sc.cost(sc.GPT_MODEL, r.usage.prompt_tokens, d.audio_tokens if d else 0, r.usage.completion_tokens)
|
|
95
|
+
spend(usage)
|
|
96
|
+
choice = r.choices[0]
|
|
97
|
+
arguments = choice.message.tool_calls[0].function.arguments if choice.message.tool_calls else None
|
|
98
|
+
return arguments, usage, {"model": r.model, "finish_reason": choice.finish_reason, "arguments": arguments,
|
|
99
|
+
"usage": r.usage.model_dump(mode="json")}
|
|
100
|
+
got = sc.caption_attempt(ask)
|
|
101
|
+
return {**got, "prompt": text, "ask": ask, "asked_again": []}
|
|
105
102
|
|
|
106
103
|
def tag(description: str) -> dict:
|
|
107
104
|
r = call(lambda: client.chat.completions.create(
|
|
@@ -125,8 +122,26 @@ with Node() as node:
|
|
|
125
122
|
captions = sc.fan_out(caption, range(len(units))) # on a failure, no further call starts
|
|
126
123
|
caption_s = round(time.time() - t0, 1)
|
|
127
124
|
t0 = time.time()
|
|
128
|
-
|
|
125
|
+
good = [k for k, c in enumerate(captions) if "rejected" not in c]
|
|
126
|
+
tagged = dict(zip(good, sc.fan_out(lambda k: tag(captions[k]["parsed"]["description"]), good)))
|
|
129
127
|
tagger_s = round(time.time() - t0, 1)
|
|
128
|
+
# a reply that was not the schema's, asked again once every other call is made: then what the step spent is all but
|
|
129
|
+
# this second call and its tag, which must stay within its reservation (style_captions.may_ask_again)
|
|
130
|
+
for k, c in enumerate(captions):
|
|
131
|
+
if "rejected" not in c:
|
|
132
|
+
continue
|
|
133
|
+
tag_usd = max((t["usage"]["usd"] for t in tagged.values()), default=c["usage"]["usd"])
|
|
134
|
+
if not sc.may_ask_again(totals["usd"], c["usage"]["usd"], tag_usd, len(units)):
|
|
135
|
+
raise NodeError("internal", f"{units[k]['id']}: not asked again (the step's reservation would not cover it): "
|
|
136
|
+
f"{sc.rejected_text(c['rejected'])}")
|
|
137
|
+
try:
|
|
138
|
+
captions[k] = {**c, **sc.asked_again(c, sc.caption_attempt(c["ask"]))}
|
|
139
|
+
except ValueError as e:
|
|
140
|
+
raise NodeError("internal", f"{units[k]['id']}: {e}") from None
|
|
141
|
+
tagged[k] = tag(captions[k]["parsed"]["description"])
|
|
142
|
+
tagged = [tagged[k] for k in range(len(units))]
|
|
143
|
+
for c in captions:
|
|
144
|
+
c["outside"] = sc.outside_tags(c["arguments"])
|
|
130
145
|
|
|
131
146
|
for m in prosody["producer"]["models"]: # the measures' and emotion's models, as the prosody node recorded them
|
|
132
147
|
node.model(m["id"], licence_mode=m["licence_mode"], source=m.get("source"), revision=m.get("revision"), licence=m.get("licence"))
|
|
@@ -143,6 +158,9 @@ with Node() as node:
|
|
|
143
158
|
{"file": captions_raw.FILE, "format": "parquet", "description": captions_raw.DESCRIPTION}))
|
|
144
159
|
# tags the audio model gave outside the list, dropped from their captions: utterance -> tags
|
|
145
160
|
outside = {u["id"]: c["outside"] for u, c in zip(units, captions) if c["outside"]}
|
|
146
|
-
|
|
161
|
+
# replies that were not the schema's JSON, asked again once (style_captions.caption_attempt, asked_again): utterance -> the first
|
|
162
|
+
# reply as it came (its problem, finish_reason and arguments), to find out why
|
|
163
|
+
asked_again = {u["id"]: c["asked_again"][0] for u, c in zip(units, captions) if c["asked_again"]}
|
|
164
|
+
node.usage(utterances=len(units), workers=sc.WORKERS, tags_outside_list=outside, asked_again=asked_again,
|
|
147
165
|
usd_by_model={sc.GPT_MODEL: round(sum(c["usage"]["usd"] for c in captions), 4),
|
|
148
166
|
sc.TAGGER: round(sum(t["usage"]["usd"] for t in tagged), 4)})
|
|
@@ -136,6 +136,48 @@ def cost(model: str, prompt_tokens: int, audio_tokens: int | None, completion_to
|
|
|
136
136
|
return {"text_in": text_in, "audio_in": audio_in, "out": completion_tokens, "usd": usd}
|
|
137
137
|
|
|
138
138
|
|
|
139
|
+
def caption_attempt(ask) -> dict:
|
|
140
|
+
"""One call for one target's caption: `ask()` makes it and gives (its function call's arguments, or None when it
|
|
141
|
+
made none; its usage, as cost() gives it; its raw reply). {parsed, arguments, raw, usage}, or {rejected: {problem,
|
|
142
|
+
finish_reason, arguments}, usage} when the reply is not the schema's. Why one can fail the schema is known: the
|
|
143
|
+
audio models do not constrain their function call to it (strict or not; the same reason off-list tags are dropped,
|
|
144
|
+
parse_caption), so a sample can be malformed (one was cut short of a comma on a pod's run, 2026-10-31)."""
|
|
145
|
+
arguments, usage, raw = ask()
|
|
146
|
+
try:
|
|
147
|
+
if arguments is None:
|
|
148
|
+
raise ValueError(f"no function call in the reply (finish_reason {raw.get('finish_reason')})")
|
|
149
|
+
return {"parsed": parse_caption(arguments), "arguments": arguments, "raw": raw, "usage": usage}
|
|
150
|
+
except ValueError as e:
|
|
151
|
+
return {"rejected": {"problem": str(e), "finish_reason": raw.get("finish_reason"), "arguments": arguments},
|
|
152
|
+
"usage": usage}
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
def rejected_text(rejected: dict) -> str:
|
|
156
|
+
return (f"{rejected['problem']} (finish_reason {rejected['finish_reason']}, "
|
|
157
|
+
f"arguments {str(rejected['arguments'])[:300]!r})")
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
def may_ask_again(spent_usd: float, caption_usd: float, tag_usd: float, utterances: int) -> bool:
|
|
161
|
+
"""Whether a rejected caption may be asked again: once every other call of the step has been made (spent_usd is
|
|
162
|
+
then all but this), only if this caption's second call and its tag stay within what the step reserved (the
|
|
163
|
+
manifest's cost, an utterance: review of #53)."""
|
|
164
|
+
return spent_usd + caption_usd + tag_usd <= utterances * COST_PER_UTTERANCE
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
def asked_again(first: dict, second: dict) -> dict:
|
|
168
|
+
"""A caption asked a second time: the second's, with both calls' usage and the first's rejected reply
|
|
169
|
+
(asked_again). ValueError when the second is not the schema's either."""
|
|
170
|
+
if "rejected" in second:
|
|
171
|
+
raise ValueError(f"asked twice, and neither reply was the schema's: {rejected_text(first['rejected'])}; "
|
|
172
|
+
f"{rejected_text(second['rejected'])}")
|
|
173
|
+
usage = {k: first["usage"][k] + second["usage"][k] for k in first["usage"]}
|
|
174
|
+
return {**second, "usage": usage, "asked_again": [first["rejected"]]}
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
# what the step reserves an utterance (manifest.yaml's cost; a test checks they agree): one caption call and its tags
|
|
178
|
+
COST_PER_UTTERANCE = 0.008
|
|
179
|
+
|
|
180
|
+
|
|
139
181
|
def parse_caption(arguments: str) -> dict:
|
|
140
182
|
"""The function call's arguments -> {description, tags, emphasized_words}; ValueError when they are not that. Its tags
|
|
141
183
|
are those of the list only: gpt-audio-1.5 does not hold a function call to the schema's enum (strict or not), so a tag
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"""audio.prosody-captions run as the coordinator runs it, with OpenAI stood in for: every caption made once, then the
|
|
2
|
+
tags, then a reply that was not the schema's asked again once, only within what the step reserved (review of #53).
|
|
3
|
+
The stand-in answers by what it is asked (the target's line, from the prompt), never by when.
|
|
4
|
+
Run: uv run --no-project --with pytest --with numpy --with-editable ./sdk pytest -q nodes/audio/prosody-captions"""
|
|
5
|
+
|
|
6
|
+
import json
|
|
7
|
+
import runpy
|
|
8
|
+
import sys
|
|
9
|
+
import threading
|
|
10
|
+
import types
|
|
11
|
+
import wave
|
|
12
|
+
from pathlib import Path
|
|
13
|
+
from types import SimpleNamespace
|
|
14
|
+
|
|
15
|
+
import pytest
|
|
16
|
+
|
|
17
|
+
import style_captions as sc
|
|
18
|
+
from test_style_captions import N, PROSODY, TRANSCRIPT
|
|
19
|
+
|
|
20
|
+
HERE = Path(__file__).resolve().parent
|
|
21
|
+
GOOD = {"description": "Calm and even.", "tags": ["calm"], "emphasized_words": []}
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class OpenAI:
|
|
25
|
+
"""The client: a caption (the first one for `bad`'s line cut short, as gpt-audio's was on a pod), or tags. calls:
|
|
26
|
+
every request, in order; usd: what each call is billed (prompt tokens, at the models' prices)."""
|
|
27
|
+
calls: list = []
|
|
28
|
+
bad: set = set()
|
|
29
|
+
prompt_tokens = 100
|
|
30
|
+
lock = threading.Lock()
|
|
31
|
+
|
|
32
|
+
def __init__(self, api_key):
|
|
33
|
+
assert api_key == "key"
|
|
34
|
+
self.chat = SimpleNamespace(completions=self)
|
|
35
|
+
|
|
36
|
+
def create(self, **request):
|
|
37
|
+
usage = SimpleNamespace(prompt_tokens=self.prompt_tokens, completion_tokens=20,
|
|
38
|
+
prompt_tokens_details=SimpleNamespace(audio_tokens=0), model_dump=lambda mode: {})
|
|
39
|
+
if "tools" in request:
|
|
40
|
+
text = request["messages"][1]["content"][0]["text"]
|
|
41
|
+
target = text.split('Target transcript (automatic, may contain errors): "')[1].split('"')[0]
|
|
42
|
+
with self.lock:
|
|
43
|
+
self.calls.append(request)
|
|
44
|
+
asked = sum(1 for c in self.calls if "tools" in c and c["messages"][1]["content"][0]["text"] == text)
|
|
45
|
+
arguments = '{"description": "Calm" "tags": []}' if target in self.bad and asked == 1 else json.dumps(GOOD)
|
|
46
|
+
message = SimpleNamespace(tool_calls=[SimpleNamespace(function=SimpleNamespace(arguments=arguments))])
|
|
47
|
+
return SimpleNamespace(model=request["model"], usage=usage,
|
|
48
|
+
choices=[SimpleNamespace(message=message, finish_reason="tool_calls")])
|
|
49
|
+
with self.lock:
|
|
50
|
+
self.calls.append(request)
|
|
51
|
+
return SimpleNamespace(model=request["model"], usage=usage,
|
|
52
|
+
choices=[SimpleNamespace(message=SimpleNamespace(content=json.dumps({"tags": ["calm"]})),
|
|
53
|
+
finish_reason="stop")])
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
@pytest.fixture
|
|
57
|
+
def openai(monkeypatch):
|
|
58
|
+
module = types.ModuleType("openai")
|
|
59
|
+
module.OpenAI = OpenAI
|
|
60
|
+
for name in ("RateLimitError", "InternalServerError", "APIConnectionError", "AuthenticationError"):
|
|
61
|
+
setattr(module, name, type(name, (Exception,), {}))
|
|
62
|
+
monkeypatch.setitem(sys.modules, "openai", module)
|
|
63
|
+
monkeypatch.setenv("OPENAI_API_KEY", "key")
|
|
64
|
+
OpenAI.calls, OpenAI.bad, OpenAI.prompt_tokens = [], set(), 100
|
|
65
|
+
return OpenAI
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def run(tmp_path, monkeypatch) -> dict:
|
|
69
|
+
audio = tmp_path / "audio.wav"
|
|
70
|
+
with wave.open(str(audio), "wb") as w:
|
|
71
|
+
w.setnchannels(1)
|
|
72
|
+
w.setsampwidth(2)
|
|
73
|
+
w.setframerate(sc.RATE)
|
|
74
|
+
w.writeframes(b"\0\0" * N)
|
|
75
|
+
(tmp_path / "transcript.json").write_text(json.dumps(TRANSCRIPT))
|
|
76
|
+
(tmp_path / "prosody.json").write_text(json.dumps(PROSODY))
|
|
77
|
+
request = tmp_path / "request.json"
|
|
78
|
+
request.write_text(json.dumps({"protocol": 1, "out_dir": str(tmp_path / "out"), "accelerator": "cpu", "config": {},
|
|
79
|
+
"secrets": ["OPENAI_API_KEY"], "producer": {"stage": "prosody", "stage_version": "1.0.0"},
|
|
80
|
+
"inputs": {"audio": {"path": str(audio)}, "transcript": {"path": str(tmp_path / "transcript.json")},
|
|
81
|
+
"prosody": {"path": str(tmp_path / "prosody.json")}}}))
|
|
82
|
+
monkeypatch.setattr(sys, "argv", ["node.py", "--request", str(request)])
|
|
83
|
+
try:
|
|
84
|
+
runpy.run_path(str(HERE / "node.py"), run_name="__main__")
|
|
85
|
+
except SystemExit:
|
|
86
|
+
pass
|
|
87
|
+
return json.loads((tmp_path / "response.json").read_text())
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def test_a_reply_that_is_not_the_schemas_is_asked_again_after_every_other_call(tmp_path, monkeypatch, openai):
|
|
91
|
+
openai.bad = {"orange lamp."} # utt:3's line
|
|
92
|
+
got = run(tmp_path, monkeypatch)
|
|
93
|
+
assert got["ok"], got.get("error")
|
|
94
|
+
kinds = ["caption" if "tools" in c else "tag" for c in openai.calls]
|
|
95
|
+
# three captions, two tags (the good ones), then utt:3 asked again and tagged
|
|
96
|
+
assert kinds == ["caption"] * 3 + ["tag"] * 2 + ["caption", "tag"]
|
|
97
|
+
first = got["usage"]["asked_again"]["utt:3"]
|
|
98
|
+
assert "delimiter" in first["problem"] and first["arguments"] == '{"description": "Calm" "tags": []}'
|
|
99
|
+
assert got["usage"]["calls"] == 7
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
def test_a_reply_is_not_asked_again_past_the_steps_reservation(tmp_path, monkeypatch, openai):
|
|
103
|
+
openai.bad = {"orange lamp."}
|
|
104
|
+
openai.prompt_tokens = 4000 # each call near the utterance's reservation: a second caption would pass it
|
|
105
|
+
got = run(tmp_path, monkeypatch)
|
|
106
|
+
assert not got["ok"] and "not asked again" in got["error"]["message"] and "utt:3" in got["error"]["message"]
|
|
107
|
+
assert ["caption" if "tools" in c else "tag" for c in openai.calls] == ["caption"] * 3 + ["tag"] * 2
|
|
@@ -162,3 +162,49 @@ def test_the_fan_out_keeps_the_items_order():
|
|
|
162
162
|
client = FailingClient(-1)
|
|
163
163
|
got = sc.fan_out(lambda i: client.chat.completions.create(utterance=i)["utterance"], range(50), workers=4)
|
|
164
164
|
assert got == list(range(50)) and client.calls == 50
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
GOOD = json.dumps({"description": "Calm.", "tags": ["calm"], "emphasized_words": []})
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
def asker(*replies):
|
|
171
|
+
"""One call per reply given, in order: (arguments or None, usage, raw), as node.py's ask makes them."""
|
|
172
|
+
calls = iter(replies)
|
|
173
|
+
|
|
174
|
+
def ask():
|
|
175
|
+
arguments = next(calls)
|
|
176
|
+
return arguments, {"text_in": 10, "audio_in": 5, "out": 3, "usd": 0.01}, {"finish_reason": "tool_calls", "arguments": arguments}
|
|
177
|
+
return ask
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
def test_a_caption_reply_that_is_not_the_schemas_json_is_rejected_whole_and_a_second_one_taken():
|
|
181
|
+
"""gpt-audio does not constrain its function call to the schema: a reply that is not its JSON (a pod's run,
|
|
182
|
+
2026-10-31: "Expecting ',' delimiter") is kept as it came, and a second reply, if asked, is the caption, both calls
|
|
183
|
+
billed."""
|
|
184
|
+
calls = asker('{"description": "Calm" "tags": []}', GOOD)
|
|
185
|
+
first = sc.caption_attempt(calls)
|
|
186
|
+
assert "delimiter" in first["rejected"]["problem"] and first["rejected"]["arguments"] == '{"description": "Calm" "tags": []}'
|
|
187
|
+
assert first["rejected"]["finish_reason"] == "tool_calls"
|
|
188
|
+
got = sc.asked_again(first, sc.caption_attempt(calls))
|
|
189
|
+
assert got["parsed"]["description"] == "Calm." and got["arguments"] == GOOD and got["asked_again"] == [first["rejected"]]
|
|
190
|
+
assert got["usage"] == {"text_in": 20, "audio_in": 10, "out": 6, "usd": 0.02}
|
|
191
|
+
assert "rejected" not in sc.caption_attempt(asker(GOOD))
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
def test_a_second_reply_that_is_not_the_schemas_fails_the_caption():
|
|
195
|
+
calls = asker("{", None)
|
|
196
|
+
first = sc.caption_attempt(calls)
|
|
197
|
+
with pytest.raises(ValueError, match="asked twice"):
|
|
198
|
+
sc.asked_again(first, sc.caption_attempt(calls))
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
def test_a_reply_is_asked_again_only_within_what_the_step_reserved():
|
|
202
|
+
"""Review of #53: asked once every other call is made, so what the step has spent is all but this caption's second
|
|
203
|
+
call and its tag, which must stay within the step's reservation (COST_PER_UTTERANCE an utterance)."""
|
|
204
|
+
assert sc.may_ask_again(0.07, 0.005, 0.001, 10) # 0.076 <= 0.08
|
|
205
|
+
assert not sc.may_ask_again(0.076, 0.005, 0.001, 10) # 0.082 > 0.08
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
def test_what_an_utterance_is_reserved_is_the_manifests():
|
|
209
|
+
lines = (Path(sc.__file__).parent / "manifest.yaml").read_text().splitlines()
|
|
210
|
+
assert f"cost: {{usd: {sc.COST_PER_UTTERANCE}, per: utterance, input: transcript}}" in lines
|
|
@@ -16,9 +16,11 @@ config:
|
|
|
16
16
|
runners:
|
|
17
17
|
- {kind: native, env: envs/audio-events, entry: node.py, accelerator: mps, platforms: [darwin/arm64]}
|
|
18
18
|
# PyPI's torch 2.8 wheels for Linux carry CUDA 12.8 (envs/audio-events); the machine needs an NVIDIA driver >= 570.
|
|
19
|
-
# PE-A-Frame large is 5.8 GB of float32 weights, run on up to 140 s of audio at once: 17 GB allocated on the Apple GPU
|
|
20
|
-
# (
|
|
21
|
-
|
|
19
|
+
# PE-A-Frame large is 5.8 GB of float32 weights, run on up to 140 s of audio at once: 17 GB allocated on the Apple GPU.
|
|
20
|
+
# On CUDA (an RTX 3090, 2026-10-31), with expandable segments (node.py), the whole step peaks at 17.1 GB for a 92 s
|
|
21
|
+
# soundtrack and 22.1 GB for 131.8 s, about 0.13 GB a second more: 23.1 GB for a 140 s piece. 23, not 24: a "24 GB"
|
|
22
|
+
# card reports 24 or 23.99; an L4 (22.5) and a 20 GB card are too small
|
|
23
|
+
- {kind: native, env: envs/audio-events, entry: node.py, accelerator: cuda, platforms: [linux/amd64], minimum_vram_gb: 23}
|
|
22
24
|
- {kind: native, env: envs/audio-events, entry: node.py, accelerator: cpu}
|
|
23
25
|
# on the CPU, 28 GB resident at most (PE-A-Frame on nes-biking's 137.6 s soundtrack, one piece)
|
|
24
26
|
resources: {cpu_cores: 4, memory_gb: 28, gpu: exclusive}
|
|
@@ -18,9 +18,15 @@ Licences: PANNs code MIT and weights CC-BY-4.0, EfficientAT code and weights MIT
|
|
|
18
18
|
are CC-BY-4.0), PE-A-Frame Apache-2.0: commercial-ok, as PLAN.md §4 lists them.
|
|
19
19
|
"""
|
|
20
20
|
|
|
21
|
+
import os
|
|
21
22
|
import time
|
|
22
23
|
|
|
23
|
-
|
|
24
|
+
# PE-A-Frame's largest allocation (7.38 GiB on a 92 s soundtrack) failed on a 24 GB card with 6.7 GiB free and 6.7 GiB
|
|
25
|
+
# more reserved by PyTorch but unused: the caching allocator's blocks, split by the pass's own earlier tensors, could not
|
|
26
|
+
# hold it (a RunPod pod, 2026-10-31). Expandable segments map that memory as one; set before torch is first imported
|
|
27
|
+
os.environ.setdefault("PYTORCH_CUDA_ALLOC_CONF", "expandable_segments:True")
|
|
28
|
+
|
|
29
|
+
import numpy as np # noqa: E402
|
|
24
30
|
|
|
25
31
|
from perception_node import Node, NodeError
|
|
26
32
|
from models import PEAFRAME, PEAFRAME_SR, TAGGER_SR, WEIGHTS, device, load_mn40, load_panns, load_peaframe, run_mn40, run_panns, run_peaframe, sync
|
{hyperstudy_perception-0.1.3 → hyperstudy_perception-0.1.4}/src/perception/backends/cloud.py
RENAMED
|
@@ -143,9 +143,9 @@ class RunPodBackend(CloudBackend):
|
|
|
143
143
|
guard = REPO / "cloud" / "runpod" / "guard.sh"
|
|
144
144
|
# perception's own image (cloud/runpod/image): RunPod's cached PyTorch image with ffmpeg, rsync, uv and runpodctl 3
|
|
145
145
|
# added; software only. Its tag is tag.py's, from what goes into it (a test checks they agree)
|
|
146
|
-
image_tag = "
|
|
146
|
+
image_tag = "efba77cf5632"
|
|
147
147
|
# and the digest of the build that was measured: a rebuild under the same tag (apt's versions move) is never pulled
|
|
148
|
-
image_digest = "sha256:
|
|
148
|
+
image_digest = "sha256:472c7316c3bb200d88948b43acbb4afd054f9d56621f869d700a6680884e234a"
|
|
149
149
|
# under the repository's owner, where .github/workflows/runpod-image.yml pushes it (a test checks)
|
|
150
150
|
image = f"ghcr.io/hyperstudyio/perception-runpod:{image_tag}@{image_digest}"
|
|
151
151
|
start = "/perception-start.sh" # its own start (host keys, PUBLIC_KEY, sshd), run after the pod's removal is set
|
|
@@ -158,6 +158,14 @@ class RunPodBackend(CloudBackend):
|
|
|
158
158
|
"NVIDIA RTX PRO 4500 Blackwell": 0.72, "NVIDIA L40": 0.82,
|
|
159
159
|
"NVIDIA GeForce RTX 4090": 0.89, "NVIDIA RTX PRO 5000 Blackwell": 0.96, "NVIDIA RTX 6000 Ada Generation": 0.99,
|
|
160
160
|
"NVIDIA L40S": 1.09, "NVIDIA GeForce RTX 5090": 1.19}
|
|
161
|
+
# each one's memory as nvidia-smi reports it (GB; the probe's memory_gb), against the steps' minimum_vram_gb: a "24 GB"
|
|
162
|
+
# card reports 24 or 23.99, an L4 22.5, a "48 GB" A40, L40 or L40S 45
|
|
163
|
+
gpu_vram_gb = {"NVIDIA RTX A4500": 20, "NVIDIA RTX A5000": 24, "NVIDIA RTX 4000 Ada Generation": 20,
|
|
164
|
+
"NVIDIA GeForce RTX 3090": 24, "NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition": 95.6,
|
|
165
|
+
"NVIDIA RTX PRO 4000 Blackwell": 24, "NVIDIA A40": 45, "NVIDIA L4": 22.5, "NVIDIA RTX A6000": 48,
|
|
166
|
+
"NVIDIA RTX PRO 4500 Blackwell": 32, "NVIDIA L40": 45, "NVIDIA GeForce RTX 4090": 24,
|
|
167
|
+
"NVIDIA RTX PRO 5000 Blackwell": 48, "NVIDIA RTX 6000 Ada Generation": 48, "NVIDIA L40S": 45,
|
|
168
|
+
"NVIDIA GeForce RTX 5090": 31.8}
|
|
161
169
|
# datacenters in the US, Canada and Europe, whichever has a GPU free: those RunPod's REST API accepts (its schema's
|
|
162
170
|
# enum, 2026-10-25; gpus above are in its enum too)
|
|
163
171
|
datacenters = ["US-CA-2", "US-DE-1", "US-GA-1", "US-GA-2", "US-IL-1", "US-KS-2", "US-KS-3", "US-MD-1", "US-MO-1", "US-MO-2",
|
|
@@ -216,6 +224,18 @@ class Cloud:
|
|
|
216
224
|
def runpod(self) -> bool:
|
|
217
225
|
return self.read().get("runpod", False)
|
|
218
226
|
|
|
227
|
+
@property
|
|
228
|
+
def runpod_keys(self) -> bool:
|
|
229
|
+
"""Whether a whole run on a RunPod pod (pod_run.py) may be given the keys its steps declare: the user's explicit
|
|
230
|
+
yes (`perception cloud keys runpod on`), off until then. Per-step pods are never given any."""
|
|
231
|
+
return self.read().get("runpod_keys", False) is True
|
|
232
|
+
|
|
233
|
+
def set_keys(self, allowed: bool):
|
|
234
|
+
doc = self.read()
|
|
235
|
+
doc["runpod_keys"] = allowed
|
|
236
|
+
self.path.parent.mkdir(parents=True, exist_ok=True)
|
|
237
|
+
self.path.write_text(json.dumps(doc))
|
|
238
|
+
|
|
219
239
|
def set(self, enabled: bool, provider: str = "aws"):
|
|
220
240
|
doc = self.read()
|
|
221
241
|
doc["enabled" if provider == "aws" else provider] = enabled
|