Fix Typos in Documentation and Python Comments (#5658)

* Update istftnet.py

Signed-off-by: Maxim Evtush <154841002+maximevtush@users.noreply.github.com>

* Update GPU-acceleration.md

Signed-off-by: Maxim Evtush <154841002+maximevtush@users.noreply.github.com>

---------

Signed-off-by: Maxim Evtush <154841002+maximevtush@users.noreply.github.com>
This commit is contained in:
Maxim Evtush 2025-06-18 23:11:13 +03:00 committed by GitHub
parent 9bcf4c56f1
commit add8fc35a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -154,7 +154,7 @@ class SineGen(torch.nn.Module):
""" f0_values: (batchsize, length, dim) """ f0_values: (batchsize, length, dim)
where dim indicates fundamental tone and overtones where dim indicates fundamental tone and overtones
""" """
# convert to F0 in rad. The interger part n can be ignored # convert to F0 in rad. The integer part n can be ignored
# because 2 * np.pi * n doesn't affect phase # because 2 * np.pi * n doesn't affect phase
rad_values = (f0_values / self.sampling_rate) % 1 rad_values = (f0_values / self.sampling_rate) % 1

View file

@ -243,12 +243,12 @@ spec:
amd.com/gpu: '1' amd.com/gpu: '1'
``` ```
This configuration has been tested on a 'custom' cluster managed by SUSE Rancher that was deployed on top of Ubuntu 22.04.4, certification of other configuration is ongoing and compatability is not gauranteed. This configuration has been tested on a 'custom' cluster managed by SUSE Rancher that was deployed on top of Ubuntu 22.04.4, certification of other configuration is ongoing and compatability is not guaranteed.
### Notes ### Notes
- When installing the ROCM kernel driver on your system ensure that you are installing an equal or newer version that that which is currently implemented in LocalAI (6.0.0 at time of writing). - When installing the ROCM kernel driver on your system ensure that you are installing an equal or newer version that that which is currently implemented in LocalAI (6.0.0 at time of writing).
- AMD documentation indicates that this will ensure functionality however your milage may vary depending on the GPU and distro you are using. - AMD documentation indicates that this will ensure functionality however your mileage may vary depending on the GPU and distro you are using.
- If you encounter an `Error 413` on attempting to upload an audio file or image for whisper or llava/bakllava on a k8s deployment, note that the ingress for your deployment may require the annotation `nginx.ingress.kubernetes.io/proxy-body-size: "25m"` to allow larger uploads. This may be included in future versions of the helm chart. - If you encounter an `Error 413` on attempting to upload an audio file or image for whisper or llava/bakllava on a k8s deployment, note that the ingress for your deployment may require the annotation `nginx.ingress.kubernetes.io/proxy-body-size: "25m"` to allow larger uploads. This may be included in future versions of the helm chart.
## Intel acceleration (sycl) ## Intel acceleration (sycl)