Instructions to use Prahaladha/nomas-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Prahaladha/nomas-mini with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Prahaladha/nomas-mini", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download logs/ablate_window.log from Prahaladha/nomas-mini: direct link, hf CLI and curl.
- Browser
- Download file 8.06 kB
-
https://huggingface.co/Prahaladha/nomas-mini/resolve/main/logs/ablate_window.log
- Command line
-
hf download hf://Prahaladha/nomas-mini/logs/ablate_window.log
-
curl -L -o ablate_window.log https://huggingface.co/Prahaladha/nomas-mini/resolve/main/logs/ablate_window.log
8.06 kB
| 02:09:39 rendered win40: 4 | |
| 02:09:46 rendered nosink: 0 | |
| 02:09:53 rendered clean: 0 | |
| teacher: frames 320 median d 2.57 p99 6.77 pops 0 (on 1 s block boundaries: 0) at [] | |
| current: frames 157 median d 0.79 p99 16.04 pops 16 (on 1 s block boundaries: 6) at [93, 94, 95, 96, 97, 101, 102, 103, 109, 110, 111, 112] | |
| win40: frames 157 median d 0.48 p99 9.43 pops 22 (on 1 s block boundaries: 5) at [13, 113, 114, 115, 117, 129, 130, 131, 132, 133, 134, 141] | |
| /dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/_core/fromnumeric.py:3860: RuntimeWarning: Mean of empty slice. | |
| return _methods._mean(a, axis=axis, dtype=dtype, | |
| /dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/_core/_methods.py:145: RuntimeWarning: invalid value encountered in divide | |
| ret = ret.dtype.type(ret / rcount) | |
| Traceback (most recent call last): | |
| File "/dev/shm/mwm/temporal_probe.py", line 33, in <module> | |
| res[lab] = {"frames": len(g), "median_d": round(med, 2), "p99_d": round(float(np.percentile(d, 99)), 2), | |
| ^^^^^^^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4273, in percentile | |
| return _quantile_unchecked( | |
| ^^^^^^^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4550, in _quantile_unchecked | |
| return _ureduce(a, | |
| ^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 3894, in _ureduce | |
| r = func(a, **kwargs) | |
| ^^^^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4727, in _quantile_ureduce_func | |
| result = _quantile(arr, | |
| ^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4849, in _quantile | |
| slices_having_nans = np.isnan(arr[-1, ...]) | |
| ~~~^^^^^^^^^ | |
| IndexError: index -1 is out of bounds for axis 0 with size 0 | |
| teacher: frames 320 median d 4.15 p99 11.37 pops 0 (on 1 s block boundaries: 0) at [] | |
| current: frames 157 median d 1.15 p99 18.09 pops 26 (on 1 s block boundaries: 5) at [81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92] | |
| win40: frames 157 median d 2.55 p99 14.48 pops 9 (on 1 s block boundaries: 0) at [99, 100, 101, 103, 105, 107, 109, 110, 117] | |
| /dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/_core/fromnumeric.py:3860: RuntimeWarning: Mean of empty slice. | |
| return _methods._mean(a, axis=axis, dtype=dtype, | |
| /dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/_core/_methods.py:145: RuntimeWarning: invalid value encountered in divide | |
| ret = ret.dtype.type(ret / rcount) | |
| Traceback (most recent call last): | |
| File "/dev/shm/mwm/temporal_probe.py", line 33, in <module> | |
| res[lab] = {"frames": len(g), "median_d": round(med, 2), "p99_d": round(float(np.percentile(d, 99)), 2), | |
| ^^^^^^^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4273, in percentile | |
| return _quantile_unchecked( | |
| ^^^^^^^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4550, in _quantile_unchecked | |
| return _ureduce(a, | |
| ^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 3894, in _ureduce | |
| r = func(a, **kwargs) | |
| ^^^^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4727, in _quantile_ureduce_func | |
| result = _quantile(arr, | |
| ^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4849, in _quantile | |
| slices_having_nans = np.isnan(arr[-1, ...]) | |
| ~~~^^^^^^^^^ | |
| IndexError: index -1 is out of bounds for axis 0 with size 0 | |
| teacher: frames 416 median d 2.78 p99 6.43 pops 0 (on 1 s block boundaries: 0) at [] | |
| current: frames 157 median d 1.88 p99 17.26 pops 20 (on 1 s block boundaries: 5) at [17, 19, 21, 23, 25, 27, 29, 31, 33, 81, 82, 83] | |
| win40: frames 157 median d 3.18 p99 19.83 pops 5 (on 1 s block boundaries: 1) at [81, 82, 94, 101, 110] | |
| /dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/_core/fromnumeric.py:3860: RuntimeWarning: Mean of empty slice. | |
| return _methods._mean(a, axis=axis, dtype=dtype, | |
| /dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/_core/_methods.py:145: RuntimeWarning: invalid value encountered in divide | |
| ret = ret.dtype.type(ret / rcount) | |
| Traceback (most recent call last): | |
| File "/dev/shm/mwm/temporal_probe.py", line 33, in <module> | |
| res[lab] = {"frames": len(g), "median_d": round(med, 2), "p99_d": round(float(np.percentile(d, 99)), 2), | |
| ^^^^^^^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4273, in percentile | |
| return _quantile_unchecked( | |
| ^^^^^^^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4550, in _quantile_unchecked | |
| return _ureduce(a, | |
| ^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 3894, in _ureduce | |
| r = func(a, **kwargs) | |
| ^^^^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4727, in _quantile_ureduce_func | |
| result = _quantile(arr, | |
| ^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4849, in _quantile | |
| slices_having_nans = np.isnan(arr[-1, ...]) | |
| ~~~^^^^^^^^^ | |
| IndexError: index -1 is out of bounds for axis 0 with size 0 | |
| teacher: frames 320 median d 6.35 p99 15.84 pops 0 (on 1 s block boundaries: 0) at [] | |
| current: frames 157 median d 1.27 p99 12.82 pops 19 (on 1 s block boundaries: 3) at [109, 110, 113, 117, 138, 139, 141, 142, 143, 145, 146, 147] | |
| win40: frames 157 median d 1.13 p99 6.45 pops 3 (on 1 s block boundaries: 1) at [113, 114, 121] | |
| /dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/_core/fromnumeric.py:3860: RuntimeWarning: Mean of empty slice. | |
| return _methods._mean(a, axis=axis, dtype=dtype, | |
| /dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/_core/_methods.py:145: RuntimeWarning: invalid value encountered in divide | |
| ret = ret.dtype.type(ret / rcount) | |
| Traceback (most recent call last): | |
| File "/dev/shm/mwm/temporal_probe.py", line 33, in <module> | |
| res[lab] = {"frames": len(g), "median_d": round(med, 2), "p99_d": round(float(np.percentile(d, 99)), 2), | |
| ^^^^^^^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4273, in percentile | |
| return _quantile_unchecked( | |
| ^^^^^^^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4550, in _quantile_unchecked | |
| return _ureduce(a, | |
| ^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 3894, in _ureduce | |
| r = func(a, **kwargs) | |
| ^^^^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4727, in _quantile_ureduce_func | |
| result = _quantile(arr, | |
| ^^^^^^^^^^^^^^ | |
| File "/dev/shm/mwm/venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.py", line 4849, in _quantile | |
| slices_having_nans = np.isnan(arr[-1, ...]) | |
| ~~~^^^^^^^^^ | |
| IndexError: index -1 is out of bounds for axis 0 with size 0 | |
| 02:09:59 ABLATE_DONE | |