Support for Ubuntu 22.04 on Meteor Lake is broken

I recently bought a NUC 14 Core Ultra 5 125H. The documentation to get IPEX-LLM with Intel OneAPI/SYCL running on Ubuntu 22.04 with a Meteor Lake doesn't work. It is not possible to install the DKMS module with intel-i915-dkms because afterwards the system will freeze and lock up. There is no official support for Meteor Lake in Kernel 6.5 which is requiered for IPEX-LLM. Intel has to update its documentation or expand its support to Ubuntu 24.04.
Some more related links:

https://community.intel.com/t5/Graphics/Error-installing-intel-i915-dkms-on-6-5-0-41-generic/m-p/1615231#M132875
https://askubuntu.com/questions/1507167/no-driver-for-intel-integrated-graphics-ubuntu-22-04-4-lts/1507452#1507452

Hi, @tristan-k,
We are now trying to reproduce this issue on device with similar specifications. We will inform you as soon as possible if there is any progress.
Please feel free to ask if there is any further problems : )

Hi, @tristan-k,
Could you please try instructions in following link to see if it works? https://github.com/intel-analytics/ipex-llm/issues/11568#issuecomment-2227157685
Please feel free to ask if there is any further problems : )

@JinBridger I already did that. I did not make any difference, as previously mentioned in another comment of mine.

@JinBridger I already did that. It did not make any difference, as previously mentioned in another comment of mine.

Hi, @tristan-k,
Could you please try to skip installing intel-i915-dkms and see if IPEX-LLM could work?
Please feel free to ask if there is any further problems : )

@JinBridger It does not. I alredy tried. The Intel(R) Arc(TM) Graphics is not available for ollama. I also tried to use docker and sycl-ls inside the docker container recognised the iGPU but only with the PCI Device ID 0x7d55 but subsequently wasn't able to use it.

@tristan-k
Can you show us the result of sudo dmesg | grep i915.
Ours:
(xin-llm) arda@xiaoxin04-ubuntu:~/xin/ipex-llm/python/llm/example/GPU/HuggingFace/LLM/glm4$ sudo dmesg | grep i915
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.5.0-35-generic root=UUID=84fbf89b-31fa-4683-b0ee-fcfa74deb21f ro quiet splash i915.force_probe=7d55 vt.handoff=7
[    0.048637] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.5.0-35-generic root=UUID=84fbf89b-31fa-4683-b0ee-fcfa74deb21f ro quiet splash i915.force_probe=7d55 vt.handoff=7
[    2.783516] i915 0000:00:02.0: Force probing unsupported Device ID 7d55, tainting kernel
[    2.783838] i915 0000:00:02.0: [drm] GT0: Incompatible option enable_guc=3 - HuC is not supported!
[    2.784526] i915 0000:00:02.0: [drm] No GSC FW selected, disabling GSC CS and media C6
[    2.784801] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    2.785028] i915 0000:00:02.0: vgaarb: deactivate vga console
[    2.785060] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[    2.806186] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    2.815765] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/mtl_dmc.bin (v2.13)
[    3.682087] i915 0000:00:02.0: [drm] [ENCODER:244:DDI B/PHY B] failed to retrieve link info, disabling eDP
[    3.697690] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/mtl_guc_70.bin version 70.8.0
[    3.709179] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[    3.709183] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[    3.709374] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[    3.713570] i915 0000:00:02.0: [drm] GT1: GuC firmware i915/mtl_guc_70.bin version 70.8.0
[    3.713574] i915 0000:00:02.0: [drm] GT1: HuC firmware i915/mtl_huc_gsc.bin version 8.5.1
[    3.738090] i915 0000:00:02.0: [drm] GT1: HuC: authenticated for clear media
[    3.738418] i915 0000:00:02.0: [drm] GT1: GUC: submission enabled
[    3.738419] i915 0000:00:02.0: [drm] GT1: GUC: SLPC enabled
[    3.738486] i915 0000:00:02.0: [drm] GT1: GUC: RC enabled
[    4.852680] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[    4.855370] sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    4.864343] fbcon: i915drmfb (fb0) is primary device
[    5.984036] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device

Here is the output without the intel-i915-dkms module:
sudo dmesg | grep i915
[    4.104785] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    4.129376] i915 0000:00:02.0: vgaarb: deactivate vga console
[    4.129416] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[    4.143206] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    4.152518] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/mtl_dmc.bin (v2.17)
[    4.158828] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/mtl_guc_70.bin (70.12.1) is recommended, but only i915/mtl_guc_70.bin (70.8.0) was found
[    4.158835] i915 0000:00:02.0: [drm] GT0: Consider updating your linux-firmware pkg or downloading from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[    4.159698] i915 0000:00:02.0: [drm] GT1: GuC firmware i915/mtl_guc_70.bin (70.12.1) is recommended, but only i915/mtl_guc_70.bin (70.8.0) was found
[    4.159700] i915 0000:00:02.0: [drm] GT1: Consider updating your linux-firmware pkg or downloading from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[    4.184781] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/mtl_guc_70.bin version 70.8.0
[    4.200853] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[    4.200858] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[    4.201057] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[    4.210848] mei_gsc_proxy 0000:00:16.0-0f73db04-97ab-4125-b893-e904ad0d5464: bound 0000:00:02.0 (ops i915_gsc_proxy_component_ops [i915])
[    4.211339] i915 0000:00:02.0: [drm] GT1: GuC firmware i915/mtl_guc_70.bin version 70.8.0
[    4.211342] i915 0000:00:02.0: [drm] GT1: HuC firmware i915/mtl_huc_gsc.bin version 8.5.4
[    4.238118] i915 0000:00:02.0: [drm] GT1: HuC: authenticated for clear media
[    4.238597] i915 0000:00:02.0: [drm] GT1: GUC: submission enabled
[    4.238602] i915 0000:00:02.0: [drm] GT1: GUC: SLPC enabled
[    4.238717] i915 0000:00:02.0: [drm] GT1: GUC: RC enabled
[    4.240514] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[    4.277538] [drm] Initialized i915 1.6.0 20230929 for 0000:00:02.0 on minor 1
[    4.280572] i915 display info: display version: 14
[    4.280575] i915 display info: cursor_needs_physical: no
[    4.280577] i915 display info: has_cdclk_crawl: yes
[    4.280578] i915 display info: has_cdclk_squash: yes
[    4.280579] i915 display info: has_ddi: yes
[    4.280581] i915 display info: has_dp_mst: yes
[    4.280582] i915 display info: has_dsb: yes
[    4.280583] i915 display info: has_fpga_dbg: yes
[    4.280584] i915 display info: has_gmch: no
[    4.280585] i915 display info: has_hotplug: yes
[    4.280586] i915 display info: has_hti: no
[    4.280587] i915 display info: has_ipc: yes
[    4.280589] i915 display info: has_overlay: no
[    4.280596] i915 display info: has_psr: yes
[    4.280597] i915 display info: has_psr_hw_tracking: no
[    4.280598] i915 display info: overlay_needs_physical: no
[    4.280599] i915 display info: supports_tv: no
[    4.280601] i915 display info: has_hdcp: yes
[    4.280602] i915 display info: has_dmc: yes
[    4.280603] i915 display info: has_dsc: yes
[    4.307449] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    4.314740] fbcon: i915drmfb (fb0) is primary device
[    4.314808] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[    4.383895] i915 0000:00:02.0: [drm] GT1: Loaded GSC firmware i915/mtl_gsc_1.bin (cv1.0, r<IP_ADDRESS>5, svn 1)
[    4.404069] i915 0000:00:02.0: [drm] GT1: HuC: authenticated for all workloads
[  673.503694] i915 0000:00:02.0: Using 41-bit DMA addresses

$ sudo hwinfo --display
26: PCI 02.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: _Znp.oQng9K+95x3
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Device Name: "Onboard - Video"
  Model: "Intel VGA compatible controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x7d55
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x88c8
  Revision: 0x08
  Driver: "i915"
  Driver Modules: "i915"
  Memory Range: 0x5017000000-0x5017ffffff (ro,non-prefetchable)
  Memory Range: 0x4000000000-0x400fffffff (ro,non-prefetchable)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 208 (101475 events)
  Module Alias: "pci:v00008086d00007D55sv00001043sd000088C8bc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Driver Info #1:
    Driver Status: xe is active
    Driver Activation Cmd: "modprobe xe"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

Primary display adapter: #26

$ sudo inxi -G
Graphics:
  Device-1: Intel driver: i915 v: kernel
  Display: server: X.Org v: <IP_ADDRESS> driver: gpu: i915 note:  X driver n/a
    resolution: 3840x2160~60Hz
  OpenGL: renderer: Mesa Intel Arc Graphics (MTL)
    v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2

$ source /opt/intel/oneapi/setvars.sh

:: initializing oneAPI environment ...
   bash: BASH_VERSION = 5.1.16(1)-release
   args: Using "$@" for setvars.sh arguments:
:: advisor -- latest
:: ccl -- latest
:: compiler -- latest
:: dal -- latest
:: debugger -- latest
:: dev-utilities -- latest
:: dnnl -- latest
:: dpcpp-ct -- latest
:: dpl -- latest
:: ipp -- latest
:: ippcp -- latest
:: mkl -- latest
:: mpi -- latest
:: tbb -- latest
:: vtune -- latest
:: oneAPI environment initialized ::

$ sycl-ls
[opencl:cpu][opencl:0] Intel(R) OpenCL, Intel(R) Core(TM) Ultra 5 125H OpenCL 3.0 (Build 0) [2<IP_ADDRESS>.11_160000]

As soon as I install the intel-i915-dkms the system becomes instable.
Here is the output with  intel-i915-dkms installed:
$ sudo dmesg | grep i915
               use xe.force_probe='7d55' and i915.force_probe='!7d55'
[    3.613393] i915 0000:00:02.0: Using 18 cores (0-17) for kthreads
[    3.613412] i915 0000:00:02.0: [drm] GT count: 2, enabled: 2
[    3.614033] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    3.631580] i915 0000:00:02.0: vgaarb: deactivate vga console
[    3.631609] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[    3.656351] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/mtl_dmc_ver2_12.bin (v2.12)
[    3.675512] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/mtl_guc_70.6.8.bin version 70.6.8
[    3.688901] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[    3.688906] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[    3.689073] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[    3.694386] i915 0000:00:02.0: [drm] GT1: GuC firmware i915/mtl_guc_70.6.8.bin version 70.6.8
[    3.711745] i915 0000:00:02.0: [drm] GT1: GUC: submission enabled
[    3.711750] i915 0000:00:02.0: [drm] GT1: GUC: SLPC enabled
[    3.711811] i915 0000:00:02.0: [drm] GT1: GUC: RC enabled
[    3.744675] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1
[    3.766379] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])

$ sudo hwinfo --display
26: PCI 02.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: _Znp.oQng9K+95x3
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Device Name: "Onboard - Video"
  Model: "Intel VGA compatible controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x7d55
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x88c8
  Revision: 0x08
  Driver: "i915"
  Driver Modules: "i915"
  Memory Range: 0x5017000000-0x5017ffffff (ro,non-prefetchable)
  Memory Range: 0x4000000000-0x400fffffff (ro,non-prefetchable)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 208 (71 events)
  Module Alias: "pci:v00008086d00007D55sv00001043sd000088C8bc03sc00i00"
  Driver Info #0:
    Driver Status: xe is active
    Driver Activation Cmd: "modprobe xe"
  Driver Info #1:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

Primary display adapter: #26

$ sudo inxi -G
Graphics:
  Device-1: Intel driver: i915
    v: backported to 6.8.0-40 from (cde40e5cc005a) using backports I915_24.3.23_PSB_240419.26
  Display: server: X.org v: <IP_ADDRESS> with: Xwayland v: 22.1.1 driver: gpu: i915
    note:  X driver n/a tty: 214x52
  Message: GL data unavailable in console for root.

$ source /opt/intel/oneapi/setvars.sh

:: initializing oneAPI environment ...
   -bash: BASH_VERSION = 5.1.16(1)-release
   args: Using "$@" for setvars.sh arguments:
:: advisor -- latest
:: ccl -- latest
:: compiler -- latest
:: dal -- latest
:: debugger -- latest
:: dev-utilities -- latest
:: dnnl -- latest
:: dpcpp-ct -- latest
:: dpl -- latest
:: ipp -- latest
:: ippcp -- latest
:: mkl -- latest
:: mpi -- latest
:: tbb -- latest
:: vtune -- latest
:: oneAPI environment initialized ::

$ sycl-ls
[opencl:cpu][opencl:0] Intel(R) OpenCL, Intel(R) Core(TM) Ultra 5 125H OpenCL 3.0 (Build 0) [2<IP_ADDRESS>.11_160000]
[opencl:gpu][opencl:1] Intel(R) OpenCL Graphics, Intel(R) Arc(TM) Graphics OpenCL 3.0 NEO  [24.22.29735.27]
[level_zero:gpu][level_zero:0] Intel(R) Level-Zero, Intel(R) Arc(TM) Graphics 1.3 [1.3.29735]

sudo xpu-smi discovery -d 0
+-----------+--------------------------------------------------------------------------------------+
| Device ID | Device Information                                                                   |
+-----------+--------------------------------------------------------------------------------------+
| 0         | Device Type: GPU                                                                     |
|           | Device Name: Intel(R) Arc(TM) Graphics                                               |
|           | PCI Device ID: 0x7d55                                                                |
|           | Vendor Name: Intel(R) Corporation                                                    |
|           | SOC UUID: 00000000-0000-0200-0000-00087d558086                                       |
|           | Serial Number: unknown                                                               |
|           | Core Clock Rate: 2200 MHz                                                            |
|           | Stepping: C0                                                                         |
|           | SKU Type: N/A                                                                        |
|           |                                                                                |
|           | Driver Version: I915_24.3.23_PSB_240419.26                                           |
|           | Kernel Version: 6.8.0-40-generic                                                     |
|           | GFX Firmware Name: GFX                                                               |
|           | GFX Firmware Version: unknown                                                        |
|           | GFX Firmware Status: unknown                                                         |
|           |                                                                                |
|           | PCI BDF Address: 0000:00:02.0                                                        |
|           | PCI Slot: N/A                                                                        |
|           | PCIe Generation: -1                                                                  |
|           | PCIe Max Link Width: -1                                                              |
|           |                                                                                |
|           | Memory Physical Size: 0.00 MiB                                                       |
|           | Max Mem Alloc Size: 4095.99 MiB                                                      |
|           | ECC State: N/A                                                                       |
|           | Number of Memory Channels: N/A                                                       |
|           | Memory Bus Width: N/A                                                                |
|           | Max Hardware Contexts: 65536                                                         |
|           | Max Command Queue Priority: 0                                                        |
|           |                                                                                |
|           | Number of EUs: 112                                                                   |
|           | Number of Tiles: 1                                                                   |
|           | Number of Slices: 1                                                                  |
|           | Number of Sub Slices per Slice: 7                                                    |
|           | Number of Threads per EU: 8                                                          |
|           | Physical EU SIMD Width: 8                                                            |
|           | Number of Media Engines: 2                                                           |
|           | Number of Media Enhancement Engines: 1                                               |
|           |                                                                                |
|           | Number of Xe Link ports: N/A                                                         |
|           | Max Tx/Rx Speed per Xe Link port: N/A                                                |
|           | Number of Lanes per Xe Link port: N/A                                                |
+-----------+--------------------------------------------------------------------------------------+

On Ubuntu 24.04 without the intel-i915-dkms I can use the OpenCL backend but not the Level Zero. It seems that the 6.8.0-45-generic kernel exposes at least one backend to the iGPU.
$ sycl-ls
[opencl:cpu][opencl:0] Intel(R) OpenCL, Intel(R) Core(TM) Ultra 5 125H OpenCL 3.0 (Build 0) [2<IP_ADDRESS>.11_160000]
[opencl:gpu][opencl:1] Intel(R) OpenCL Graphics, Intel(R) Graphics [0x7d55] OpenCL 3.0 NEO  [23.43.027642]

sudo dmesg | grep i915
[    3.091427] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    3.111467] i915 0000:00:02.0: vgaarb: deactivate vga console
[    3.111497] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[    3.123337] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    3.132024] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/mtl_dmc.bin (v2.21)
[    3.148692] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/mtl_guc_70.bin version 70.20.0
[    3.160847] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[    3.160850] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[    3.161042] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[    3.169243] mei_gsc_proxy 0000:00:16.0-0f73db04-97ab-4125-b893-e904ad0d5464: bound 0000:00:02.0 (ops i915_gsc_proxy_component_ops [i915])
[    3.169583] i915 0000:00:02.0: [drm] GT1: GuC firmware i915/mtl_guc_70.bin version 70.20.0
[    3.169585] i915 0000:00:02.0: [drm] GT1: HuC firmware i915/mtl_huc_gsc.bin version 8.5.4
[    3.196242] i915 0000:00:02.0: [drm] GT1: HuC: authenticated for clear media
[    3.196676] i915 0000:00:02.0: [drm] GT1: GUC: submission enabled
[    3.196679] i915 0000:00:02.0: [drm] GT1: GUC: SLPC enabled
[    3.196747] i915 0000:00:02.0: [drm] GT1: GUC: RC enabled
[    3.200188] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[    3.225485] [drm] Initialized i915 1.6.0 20230929 for 0000:00:02.0 on minor 1
[    3.228034] i915 display info: display version: 14
[    3.228037] i915 display info: cursor_needs_physical: no
[    3.228038] i915 display info: has_cdclk_crawl: yes
[    3.228039] i915 display info: has_cdclk_squash: yes
[    3.228039] i915 display info: has_ddi: yes
[    3.228040] i915 display info: has_dp_mst: yes
[    3.228041] i915 display info: has_dsb: yes
[    3.228041] i915 display info: has_fpga_dbg: yes
[    3.228042] i915 display info: has_gmch: no
[    3.228043] i915 display info: has_hotplug: yes
[    3.228044] i915 display info: has_hti: no
[    3.228044] i915 display info: has_ipc: yes
[    3.228045] i915 display info: has_overlay: no
[    3.228046] i915 display info: has_psr: yes
[    3.228046] i915 display info: has_psr_hw_tracking: no
[    3.228047] i915 display info: overlay_needs_physical: no
[    3.228048] i915 display info: supports_tv: no
[    3.228049] i915 display info: has_hdcp: yes
[    3.228049] i915 display info: has_dmc: yes
[    3.228050] i915 display info: has_dsc: yes
[    3.254319] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.262304] fbcon: i915drmfb (fb0) is primary device
[    3.334957] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[    3.338572] i915 0000:00:02.0: [drm] GT1: Loaded GSC firmware i915/mtl_gsc_1.bin (cv1.0, r<IP_ADDRESS>5, svn 1)
[    3.358730] i915 0000:00:02.0: [drm] GT1: HuC: authenticated for all workloads
[  429.749853] i915 0000:00:02.0: Using 41-bit DMA addresses

sudo inxi -G
[sudo] Passwort für ubuntu:
Graphics:
  Device-1: Intel Meteor Lake-P [Intel Arc Graphics] driver: i915 v: kernel
  Display: server: X.Org v: 23.2.6 with: Xwayland v: 23.2.6 driver:
    dri: iris gpu: i915 resolution: 3840x2160~60Hz
  API: EGL v: 1.5 drivers: iris,swrast platforms: x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.9-0ubuntu0.1
    renderer: Mesa Intel Arc Graphics (MTL)
  API: Vulkan v: 1.3.275 drivers: N/A surfaces: xcb,xlib

This level_zero:gpu is the wanted backend, it looks like you have got it if you installed `intel-i915-dkms`. But you said `the system becomes instable.`, what did you mean `instable`, system crash?

I'm unable to load anything related to the gpu. I can however run xpu-smi. For example I tried to run vkpeak but the applications just freezes. If I then try to reboot, the whole system locks up and I will have to do a hard reset. I'm pretty sure that the issue is caused by the intel-i915-dkms  because there are other reports.

hi @tristan-k, i had exactly the same experience with you, been following your comments from here. Installed the drivers according to the ipex guideline, whenever i run any workload on iGPU, it got freeze and system locks up, eventually leads to hard reset on the system. Try READ and use this Installing Clients GPU, from my side it worked. Please SKIP the out of tree driver installation (idk why but it worked for me). After installed GPU packages, do check with sycl-ls, and see whether the level_zero:gpu got installed

Please SKIP the out of tree driver installation (idk why but it worked for me).

This actually works but it's embarrassing that Intel doesnt properly test it's own backported drivers with default Kernels shipped in Ubuntu 22.04 even though it's a supported distro. I suspect that there other things which wont work without the drivers. For example intel_gpu_top isnt able to identify the compute metric.


Firmware Upgrade  // this is not a issue but a question

Hi
sorry , this is not a issue but just a question, to avoid problem (I am quite new on use of that add on and I prefer to ask in advance
Imour released a new firmware.
Are there things to consider before updating firmware or we can procede wiht "relax" ?
:-)
wbr

Hi, so far nobody reported issues with firmware upgrade but unfortunately it is difficult to know in advance what to expect and if anything changes. Personally I prefer to run old firmware unless there are new capabilities I desperately need but it is a personal choice ;-)


Implement select to enable waiting for a specific number of remote objects to be ready.

what is the API? is there any design document? ;-)
Thanks,
Ion
On Mon, Aug 15, 2016 at 4:52 PM, Philipp Moritz<EMAIL_ADDRESS>wrote:

Merged #369 https://github.com/amplab/ray/pull/369.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/amplab/ray/pull/369#event-756362906, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABGKQS35rX_r8X4XTuq3hH4-HSYZiBEEks5qgPuggaJpZM4JhupI
.

Currently, there are two ways to use it. Suppose that we have at least 4 workers and that we've defined the following.
import ray
import time

ray.init(start_ray_local=True, num_workers=4)

@ray.remote([float], [int])
def sleep(t):
  time.sleep(t)
  return 0

We can use this in non-blocking way to immediately determine which remote objects are ready.
objectids = [sleep.remote(3.0), sleep.remote(2.0), sleep.remote(1.0), sleep.remote(0.0)]
time.sleep(1.5)
ray.select(objectids)  # This will immediately print [2, 3]

Alternatively, we can block until a specific number of objects are ready.
objectids = [sleep.remote(3.0), sleep.remote(2.0), sleep.remote(1.0), sleep.remote(0.0)]
ray.select(objectids, num_objects=3)  # This will block for 2 seconds and then print [1, 2, 3].


go list -m: can't compute 'all' using the vendor directory

Having isuses setting this to install with errors:
$ hugo mod get -u
go list -m: can't compute 'all' using the vendor directory
        (Use -mod=mod or -mod=readonly to bypass.)
WARN 2022/03/31 19:45:20 failed to list modules: failed to execute 'go [list -m -json all]': failed to execute binary "go" with args [list -m -json all]: go list -m: can't compute 'all' using the vendor directory
        (Use -mod=mod or -mod=readonly to bypass.)
 *errors.errorString
go get: added github.com/hugo-mods/icons v0.0.0-20211204094455-ce8763589b4a

$ hugo version

hugo v0.94.2+extended darwin/amd64 BuildDate=unknown

go.mod
module github.com/howdu/test

go 1.17

require github.com/hugo-mods/icons v0.0.0-20211204094455-ce8763589b4a // indirect

go.sum
github.com/FortAwesome/Font-Awesome v0.0.0-20210316185733-d79d85c3fad8/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/hugo-mods/icons v0.0.0-20211204094455-ce8763589b4a h1:ZT9rx0pweU4vmYITDwESn8+0jG2VHTNaWK0zqD+ZknA=
github.com/hugo-mods/icons v0.0.0-20211204094455-ce8763589b4a/go.mod h1:sPodUyqumOYz75PKIwmqOYZXLIcLAujn7V9+1Hk4VW8=

config.toml
# SETUP
baseurl = "https://test.local/"
DefaultContentLanguage = "en"
disableHugoGeneratorInject = "true"
disableKinds = ["RSS","taxonomy","taxonomyTerm"] # disable hugo's content that we don't need...
enableRobotsTXT = "true"
showBreadcrumbs = "true"

theme = "congo"
colorScheme = "ocean" # https://jpanther.github.io/congo/docs/getting-started/#menus

[mediaTypes]
  [mediaTypes."application/x-php"]
    suffixes = ["php"]

[outputFormats]
  [outputFormats.PHP]
    mediaType = "application/x-php"
    isPlainText = true
    baseName = "index"

[markup.goldmark.renderer]
unsafe= true
hardWraps = true

[[module.imports]]
path = "github.com/hugo-mods/icons"

Let me know if I can

Not sure what was wrong here but managed to fix by running  hugo mod clean with  hugo mod get -u


add contributors area

basically have some slogan or something like idk these people made the abyss possible or whatever then we can have like a group picture with a decent ammount of people in minecraft?
then button that takes you to contributors page showing all the names on cards with skin heads. just copy wynntils contrib page :)
also add a learn to contribute button or apply button

this should probably also include community or something lol idk


Model design Assignment

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
I designed a logical model for a bookstore. In ERD i created 7 tables related to bookstore.
What did you learn from the changes you have made?
learned about type 1 and type 2 SCD
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
N/A
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
No
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

Assignment marked.


Announcement message Form

Work branch for announcement form feature

Writing it here to remember:

we should establish and create the sas token in azure with a longer date and note it somewhere, in case it expires to renew it.


Add maxtasksperchild parameter for MultiprocessIterator

fixes https://github.com/chainer/chainer/issues/4946
In _PrefetchLoop class, multiprocess.Pool is used but maxtasksperchild is set to None as default.
As original document noted ( https://docs.python.org/3.6/library/multiprocessing.html#multiprocessing.pool.Pool ), it was recommended to clean processes by setting maxtasksperchild.
May I suggest to add maxtasksperchild parameter to MultiprocessIterator?

@okuta
fixed name of variable. Please check again.

jenkins, test this please.

Jenkins CI test (for commit a0edadb029f77cb2dd48f2f11bd49244a21ce784, target branch master) succeeded!

ping? @okuta

AppVeyor (Windows) tests failed for Python 2.  Could you check the errors?
https://ci.appveyor.com/project/pfnet/chainer/build/11805/job/5wrc65wlspjj57xw#L2157

LGTM!

Jenkins CI test (for commit b38638c21e936e088c3a49a4b4926f9cf1bb6fb0, target branch master) succeeded!


Task Dependency

This PR adds a new type of dependency, a TaskDependency. The idea is that a task dependency allows the user to define an entry point to a script or binary that slm will run during the dependency resolution process. This allows the user to construct some non-trivial dependency from whole cloth if necessary.
Example
I've setup my lbstanza-z3 repo with slm a task dependency to build the Z3 shared library with conan. Here is an example listing:
$>  SLM_DEBUG=1 slm build z3-tests
slm: debug: build: Parsing git version: git version 2.39.2 (Apple Git-143)
slm: debug: build: Target: 'z3-tests'
slm: debug: build: Parsing stanza version: 0.18.58
slm: debug: build: Dep: libz3 Parent: lbstanza-z3 Task: One({ command = "./build_conan.sh" })

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=apple-clang
compiler.cppstd=gnu17
compiler.libcxx=libc++
compiler.version=14
os=Macos
[options]
z3/*:shared=False

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=apple-clang
compiler.cppstd=gnu17
compiler.libcxx=libc++
compiler.version=14
os=Macos

======== Computing dependency graph ========
Graph root
    conanfile.py (stanza-z3/None): /Users/callendorph/src/lbstanza-z3/conanfile.py
Requirements
    z3/4.12.2#e0d92a9719f08b1da98dacb71d7a2df0 - Cache

======== Computing necessary packages ========
Requirements
    z3/4.12.2#e0d92a9719f08b1da98dacb71d7a2df0:a77ad5ec6cec5767a19492a0e5aa905294be5886#5f4d531b34d8e1310c61020ecc2aacb6 - Cache

======== Installing packages ========
z3/4.12.2: Already installed! (1 of 1)
WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
WARN: deprecated:     'cpp_info.filenames' used in: z3/4.12.2
WARN: deprecated:     'cpp_info.names' used in: z3/4.12.2

======== Finalizing install (deploy, generators) ========
conanfile.py (stanza-z3/None): Conan built-in full deployer to /Users/callendorph/src/lbstanza-z3/build/static
conanfile.py (stanza-z3/None): Writing generators to /Users/callendorph/src/lbstanza-z3/build/static
conanfile.py (stanza-z3/None): Generator 'CMakeDeps' calling 'generate()'
conanfile.py (stanza-z3/None): Generator 'CMakeToolchain' calling 'generate()'
conanfile.py (stanza-z3/None): CMakeToolchain generated: conan_toolchain.cmake
conanfile.py (stanza-z3/None): Preset 'conan-release' added to CMakePresets.json. Invoke it manually using 'cmake --preset conan-release' if using CMake>=3.23
conanfile.py (stanza-z3/None): If your CMake version is not compatible with CMakePresets (<3.23) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/Users/callendorph/src/lbstanza-z3/build/static/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
conanfile.py (stanza-z3/None): CMakeToolchain generated: CMakePresets.json
conanfile.py (stanza-z3/None): Generating aggregated env files
conanfile.py (stanza-z3/None): Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
Install finished successfully
slm: debug: build: /usr/local/bin/conan
LibZ3: Building Static Library
./build/static/full_deploy/host/z3/4.12.2/Release/x86_64/lib/libz3.a -> ./build/content/libz3.a
LibZ3: Build Complete
slm: debug: build: done resolving 'lbstanza-z3'
slm: debug: build: done parsing dependency graph
slm: debug: build: Project: Stanza Version Spec: None
slm: debug: build: Project: Compatible: true | No Stanza Version Requirement Specified
slm: debug: build: with stanza='stanza'
slm: debug: build: with build args ''
slm: debug: build: Build Version: 0.1.0
slm: debug: build: Stanza: stanza, build, z3-tests
Build target z3-tests is already up-to-date.

With this new task mechanism, the user can now run:
$> slm add -git "callendorph/lbstanza-z3"

and slm manages all of the dependencies and setup.
Details
I've added a new sub-command add-task to allow the user to create new task dependencies. Task dependencies can be removed using the standard remove command.
Task dependencies look like a normal dependency in the slm.toml file with some new features:
[dependencies]
libz3.task = { command = "./build_conan.sh" }
libz3.task.windows = { command = "./build_conan.ps1" }

Here you can see I define one default task libz3.task that would run on all platforms. I then add a subsequent definition that targets, explicitly, the windows platform. This second definition overrides the first when running on windows.
You can additionally pass the following arguments:

args - normal command line arguments as a string
working-dir - Working directory to run the command. By default it runs in the project root directory where the slm.toml file is found.
env-vars - Define additional environment variables as necessary.

Limitations
I don't think this current implementation will work with apt. For example, if you tried:
[dependencies]
libpng.task.linux = { command = "sudo" args="apt install libpng-dev" }

I think it would fail because of interactivity required to get the users password. But if the user was setup with no password required for sudo - it might work fine.

how do we know if TaskDependencys are up-to-date? just a hash of the shell command?

My model is that the TaskDependency is idempotent. So we just run the script on every dependency resolution process. There is no "up to date" because I don't know exactly what up to date will mean.
Maybe this isn't a good idea, but it is a pretty simple/straightforward approach. It seems to work well with conan2 because conan caches the results of previous builds. I find with lbstanza-z3- I can integrate the script and it does not appreciably change the build time after the build has completed at least once.

how do we know if TaskDependencys are up-to-date? just a hash of the shell command?

My model is that the TaskDependency is idempotent. So we just run the script on every dependency resolution process. There is no "up to date" because I don't know exactly what up to date will mean.
Maybe this isn't a good idea, but it is a pretty simple/straightforward approach. It seems to work well with conan2 because conan caches the results of previous builds. I find with lbstanza-z3- I can integrate the script and it does not appreciably change the build time after the build has completed at least once.

Seems like a pragmatic and reasonable assumption, makes sense to me!

OK - I fixed the complexity in the remove func you pointed out.
I added some additional documentation about idempotency requirement.


Default hlint file

This file disables all the hlint rules in the project that might cause the lint to fail.
To test if hlint works in CI, delete the .hlint.yaml file and the build should fail.
This PR was created so that the SRE team can create a commit on top to enable hlint in CI.  See https://jira.iohk.io/browse/SRE-131

there is still some rules that cause the lint to fail:
https://hydra.iohk.io/build/3746935/nixlog/1

What version of hlint is being used?

I'd have to have any additional rules be excluded in the hlint config to enable the build to pass, then my team would be able to gradually look at re-enabling rules on a case-by-case basis.

it's using htlint 2.2.10, I can look into using a newer version (the one provided by haskell.nix hackage snapshot)

mmm. tried to use hlint through haskell.nix, but got
error: The Haskell package set does not contain the package: cpphs (build dependency)

I can confirm the hlint version difference is responsible for most of the warnings.

updated to use hlint 3.1.6.
now the only warnings are:
cardano-node/test/Test/Common/Base.hs:75:19-114: Warning: Use maybe
Found:
  fromMaybe
    "UnknownModule"
    (fmap
       (GHC.srcLocModule . snd) (listToMaybe (getCallStack callStack)))
Perhaps:
  maybe
    "UnknownModule" (GHC.srcLocModule . snd)
    (listToMaybe (getCallStack callStack))

cardano-node/test/Test/Common/Process.hs:37:75-91: Warning: Use unwords
Found:
  L.intercalate " "
Perhaps:
  unwords

Nice!

I pushed some warning fixes on top.  Hopefully it builds now.

bors r+

bors r+

bors merge

Looks like there's a conflict in release.nix:
<<<<<<< HEAD
  filterJobsCross = mapAttrsRecursiveCond (a: !(isDerivation a)) (path: value:
    if (any (p: take (length p) path == p) noCrossBuild) then null
    else value
  );
=======
  filterJobsCross = filterAttrs (n: _: n != "dockerImage" && n != "shell" && n != "cluster" && n != "hlint");
>>>>>>> Add hlint ci check

@jbgi Thanks so much for your help!


[Add-ins] Add delegate access article

OPS Build status updates of commit 998182a:
:clock10: Preparing: average preparing time is 41 sec(s)

OPS Build status updates of commit 998182a:
:clock10: Incremental building: average incremental building time is 18 sec(s)

OPS Build status updates of commit 998182a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/add-ins/delegate-access.md
:white_check_mark:Succeeded

docs/add-ins/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@ElizabethSamuel-MSFT just a note that I'm aware of this review request and plan to review this PR tomorrow (Wednesday). Thanks!

OPS Build status updates of commit 0380c33:
:clock10: Preparing: average preparing time is 41 sec(s)

OPS Build status updates of commit 0380c33:
:clock10: Incremental building: average incremental building time is 18 sec(s)

OPS Build status updates of commit 0380c33:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/add-ins/delegate-access.md
:white_check_mark:Succeeded

docs/add-ins/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 2b209b3:
:clock10: Preparing: average preparing time is 41 sec(s)

OPS Build status updates of commit 2b209b3:
:clock10: Incremental building: average incremental building time is 18 sec(s)

OPS Build status updates of commit 2b209b3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/add-ins/delegate-access.md
:white_check_mark:Succeeded

docs/add-ins/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@kbrandl and @lindalu-MSFT: Thanks for all the great feedback :)


fix: json format & mistyped on stackoverflow link

https://github.com/arifpz/slack-overflow/issues/5 fixing this


how can a login user know the vouchers he owns?

we only can find a user's voucher by table "voucher application" or table "basket",what if we don't want touch that scenes and get all the vouchers a user have???

@dogewzy we don't use Github issues for support requests. Please post your question on Stack Overflow which is the preferred place to ask for help, or the mailing list. I'd also suggest that you explain the issue a bit more as it's not very clear what you're asking here. Thanks.


when react-native version>0.25 error!

my react-native version is 0.31 ,when new class use class A extends Component but not class A react.creatclass()

This library is deprecated and should no longer be used


improve and fix installation logic

Currently there are still bugs and problems with the installation/updates of particular software. I have already created valuable functions like doInstall or doUpgradeMavenArtifact that do most of the logic and can be reused. However this still needs some improvements. The general thing is as following:

we download some archive from an URL (doDownload)
depending of the type (extension) we extract it (doExtract)
if already installed (on update) we create a backup of the previous files and folders
then we move the extracted files and folders to the new target location
in some cases we need to do some custom post logic (e.g. to workaround some MacOS quirks)
in case of real software we even do a custom verification to check that the installation is sane (e.g. call mvn -v).

The remaining challenges are:

the archive may contain directly all the files and folders in the way we need them OR it may contain a top-level folder containing the files and folders we need. In some cases this even includes the version of the software and potential other clutter so we do not know the exact name of that folder.
besides there might be a single folder to "install" like software/eclipse or the entire DEVON_IDE_HOME directory is the target and all extracted folders/files shall be replaced there.

For 1. we supply an optional argument to doExtract (and doInstall / doUpgradeMavenArtifact). If it is present, this is the name or a glob-pattern of the extracted folder. The function will currently rename that folder to the target foldername. While this works for installing a single folder (e.g. eclipse) that can then be moved to its final destination it causes problems if the target folder is DEVON_IDE_HOME that may have any arbitrary name.
Hence, currently the update does not work:
ide-test devon ide update
*** Software Update of devon-ide-scripts ***
Updating /projects/ide-test from https://repo.maven.apache.org/maven2/com/devonfw/tools/ide/devon-ide-scripts
Trying to determine the latest available version from https://repo.maven.apache.org/maven2/com/devonfw/tools/ide/devon-ide-scripts/maven-metadata.xml
LATEST = 3.0.0-beta5
You are using version 3.0.0-SNAPSHOT of devon-ide-scripts
The new version to install is 3.0.0-beta5
Starting installation from https://repo.maven.apache.org/maven2/com/devonfw/tools/ide/devon-ide-scripts/3.0.0-beta5/devon-ide-scripts-3.0.0-beta5.tar.gz to /projects/ide-test
Artifact already exists at /Users/hohwille/Downloads/devon-ide-scripts-3.0.0-beta5.tar.gz
To force update please delete the file and run again.
Running command: tar xfz '/Users/hohwille/Downloads/devon-ide-scripts-3.0.0-beta5.tar.gz' -C '/projects/ide-test/updates/extracted'
Succeeded to run command tar
Successfully extracted archive devon-ide-scripts-3.0.0-beta5.tar.gz to updates/extracted

******** ATTENTION ********
ERROR: The file or folder to move does not exist: /projects/ide-test/updates/extracted/ide-test
We are sorry for the inconvenience. Please check the above errors, resolve them and try again.

To fix this issue we should change the logic such that the extracted content after doExtract is always directly in the folder updates/extracted. Then to install we can either move and rename that folder directly to its target destination or if the target is DEVON_IDE_HOME then iterate the files/folders in updates/extracted and then update (backup and replace) each of them.

fixed.


Simple import of wsdl file produces error: 'wsdl' property is not present.

Where:
Build file 'D:\Development\Projects\Zilch\issuer-service\build.gradle' line: 121
* What went wrong:
A problem occurred evaluating root project 'issuer-service'.
> Could not create task ':wsdl2javaGps'.
   > 'wsdl' property is not present

build.gradle has:
plugins {
    id "io.micronaut.application" version "1.3.4"
    id "io.mateo.cxf-codegen" version "1.0.0-rc.3"
    id "com.github.johnrengelman.shadow" version "6.1.0"
}

and later on:
cxfCodegen {
    wsdl2java {
        gps {
            wsdl = file("./src/main/resources/wsdl/service.wsdl")
        }
    }
}

The property seems present and correct.

I was able to reproduce on my Windows 10 machine with the following:
plugins {
    id("io.mateo.cxf-codegen") version "1.0.0-rc.3"
    id("io.micronaut.application") version "1.3.4"
}

repositories {
    mavenCentral()
    // https://github.com/grails/grails-core/issues/11825
    maven {
        url = uri("https://repo.grails.org/artifactory/core")
    }
}

dependencies {
    cxfCodegen("jakarta.xml.ws:jakarta.xml.ws-api:2.3.3")
    cxfCodegen("jakarta.annotation:jakarta.annotation-api:1.3.5")
}

application {
    mainClass.set("com.example.Example")
}

cxfCodegen {
    wsdl2java {
        register("gps") {
            wsdl.set(file("src/main/resources/wsdl/service.wsdl"))
        }
    }
}

If you remove the Micronaut plugin, it works:
plugins {
    id("io.mateo.cxf-codegen") version "1.0.0-rc.3"
-   id("io.micronaut.application") version "1.3.4"
}

I have not worked with Micronaut so I will need to investigate what the various Micronaut plugins are doing to cause the wsdl property to be unset.
From my brief testing, you do not need to execute any wsdl2java tasks for the error to show which is not clear to me why.

I will try this again later. I wonder if it works if the cxf plugin is after the micronaut plugin? It's worth a try, if this is a problem in micronaut, I will happily log the issue there.

I think I narrowed it down to these lines from io.micronaut.application:
https://github.com/micronaut-projects/micronaut-gradle-plugin/blob/v1.5.1/src/main/java/io/micronaut/gradle/MicronautApplicationPlugin.java#L109...L146
More specifically this line: https://github.com/micronaut-projects/micronaut-gradle-plugin/blob/v1.5.1/src/main/java/io/micronaut/gradle/MicronautApplicationPlugin.java#L109
tasks.withType(JavaExec.class, javaExec -> { ... })

That is equivalent to:
tasks.withType(JavaExec.class).all(...)

What I think is happening is that the Micronaut Application plugin is causing the wsdl2java tasks to be realized. Per the Gradle docs (point 7):

Eagerly realizing some tasks may cause a cascade of other tasks to be realized.

Since the Micronaut Application plugin is targeting all JavaExec types, Wsdl2JavaTask types are  unfortunately being targeted/configured as well since they are a subclass of JavaExec.
With all of that said, my testing was as follows:

Hack together a test that fails: https://github.com/ciscoo/cxf-codegen-gradle/commit/c9c05cb4ea52049ec53422846440194d9e576f07
Clone the Micronaut Application plugin repo and publish 9.9.9-SNAPSHOT locally
Observe test from (1) fail (passes assertion)
Modify the aforementioned line above and republish locally:

- tasks.withType(JavaExec.class, javaExec -> { ... })
+ tasks.withType(JavaExec.class).configureEach(javaExec -> { ... })

Rerun failing test and it no longer fails for 'wsdl' property is not present

IMO, the Micronaut Application plugin should be more selective as to which JavaExec task it needs to customize. It adds additional dependencies to wsdl2java's classpath which really are not needed and configures other items that are not needed for the wsdl2java tool.
However, I think it is unfair to place the issue solely on Micronaut here. There may be an issue within the cxf-codegen plugin that I am not seeing. I'll need to put together a build scan to get deeper insights as noted in the troubleshooting docs

I think I may have a fix:
https://github.com/ciscoo/cxf-codegen-gradle/blob/v1.0.0-rc.3/cxf-codegen-gradle/src/main/java/io/mateo/cxf/codegen/CxfCodegenPlugin.java#L104
@@ -101,7 +101,10 @@ public class CxfCodegenPlugin implements Plugin<Project> {
                                task.setClasspath(configuration.get());
                                task.setGroup(WSDL2JAVA_GROUP);
                                task.setDescription("Generates Java sources for '" + option.getName() + "'");
-                               task.setArgs(option.generateArgs());
+                               // Generate arguments at the very last moment to avoid realization issues.
+                               task.doFirst("generateArgsFor" + name, (exec) -> {
+                                       ((Wsdl2JavaTask) exec).setArgs(option.generateArgs());
+                               });
                        });
                });
        }

My brief testing shows that this works with the Micronaut Application plugin.
I'll need to do more testing to make sure.
I am also not sure if this should be considered a bug or an enhancement

Thanks, that looks awesome, especially as I was thinking the issue might actually be with the micronaut plugin

Unfortunately the fix for this will need to be reverted since it had undesired consequences. Trying to resolve #13 leads to the same issue as this one, so the fix isn't really a fix.

This has been fixed with https://github.com/ciscoo/cxf-codegen-gradle/issues/25 and tests show that it now works with the Micronaut plugin. Please give the latest snapshot a try; migration guide here.


[Fix #1295] Covers validates_comparison_of in Rails/Validations

Fixes #1295
Rails/Validation covers replacing old-style attribute validation macros with newer, more flexible validates calls. However currently, it doesn't check for validates_comparison_of. This covers validates_comparison_of, and adds a new test case for procs as arguments.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.
[-] If this is a new cop, consider making a corresponding update to the Rails Style Guide.

Thanks!


Setting value = undefined does not reset the value of the html5 input

Describe the bug
When resetting the value of the auro-input the html5 input in the shadow DOM does not reset it's value.
To Reproduce
Steps to reproduce the behavior:

Setup an input with a value in it
call auro-input.value = undefined
Check the displayed value of the html5 input in the shadow DOM

Expected behavior
The html5 input element should not have a value

I'm also able to repro this. Check the screen shot below:

This is after I set the value of the auro-input to undefined. You can see on the right side in dev tools that both the text content and value of auro-input are empty string and undefined respectively. The underlying input field in the shadowRoot, however, retained the value.


Click handling

It looks like ember's approach where a single click handler is registered at the document level doesn't work with a-frame.
Do you know of a good solution for handling events in ember with a-frame?
This doesn't work:
{{ember-a-box onclick=(action 'clicked')}

This works:
document.querySelector('a-sphere').addEventListener('click', function () {
  this.setAttribute('material', 'color', 'blue');
  console.log('I was clicked!');
});

Okay - I sorted it out (kinda).
onclick doesn't work, but implementing click inside a component does. I can work around it by implementing click in your ember-a-xxx components and having it call a closure action.


When uploading data into data_import project, do not create tasks for it

tasks are not used
when importing csv every line gets converted to a task, deleting this costs a lot of time

When uploading a csv using the LS import button one task gets generated. This is also fine.

This will also increase the delete_project speed


Unique Constraints

Is your feature request related to a problem? Please describe.
I have lots of scenarios where I require unique values on non-primary key fields. Especially for public apps where you might want to not allow two people with the same phone number or email address and so forth
Describe the solution you'd like
It would be possible to add a directive such as @unique to a field or @unique(fields: ["email", "phone"]) to the type
First of all this would cause resources to be added:

A table would have been created by the amplify CLI called "UniqueConstraints-APIID-env"

when this is added you can then change the VTL generated to do the following:

operation is changed from PutItem in the VTL to "TransactWriteItems"
The main record is a "Put" operation is added to the item list
for every unique constraint (up to 24 which is max transaction),
** another "Put" item is added the Items but for TableName - "UniqueConstraints-APIID-env" and the id(pk) of "table#field#value"
** attribute_not_exist(id) is added the condition for this item

This would then only succeed if the field is successful.  You would also need the update and delete templates to follow the equivalent logic
If the "value" is a complex type you could potentially use a hash of the value
Describe alternatives you've considered
I have used custom lambda resolvers and custom resolvers to implement this myself but it tedious for something I have to do over and over again

Does anyone know if this is currently being developed by the amplify team?

I've only started out with Amplify, but it seems like a really basic requirement. There are plenty of times you would need to make sure a field is unique. Having a directive like @unique seems to make sense.

This is the best I could find specific to what you're asking for.
https://medium.com/@fullstackpho/ensuring-usernames-are-unique-in-your-aws-amplify-app-6fff963274

A real shame this hasn't been picked up, the medium link posted above works by running a Lambda that validates the data before (or just after?) it is inserted into the database. Uniqueness should be handled by the data store so it is guarenteed to be enforced.

@WillDent I tried similar methods but the method I suggested works better.  I have modified my VTL template to use the method and it works perfectly (and is not that diffficult to do).  It just takes a long time to do for every template and field combination when we could easily add directive to the schema that changes the vtl template generation slightly

+1

+1

Even key field does not ensure uniqueness. I have following and duplicate email accepted even though I have indicated that as key...
type AddUserToT
@model
@key(fields: ["userEmail"])
id: ID!
email: ID!

+1

+1

+1

+1

+1

+1

+1

+1

i notice this issue has the graphql-transformer-v1 label on it, but i want this feature for an amplify project i am working on that is using graphql transformer v2. should i create a new issue for that, or should this issue have the graphql-transformer-v2 label?


🔧 Update template

This pull request merges the current state of the template used here into this project so that it is up to date.

:tada: This PR is included in version 1.1.1-develop.14 :tada:
The release is available on:

v1.1.1-develop.14
GitHub release
Docker container (sebbo2002/fitness-first-ical-proxy:1.1.1-develop.14)
v1.1.1-develop.14

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.1 :tada:
The release is available on:

v1.1.1
GitHub release
Docker container (sebbo2002/fitness-first-ical-proxy:1.1.1)
v1.1.1

Your semantic-release bot :package::rocket:


Alamofire ResponseSerializationFailureReason.inputFileReadFailed when downloading large files  Ask Question

I am using Alamofire to download files into my iOS app and it works fine for smaller files (~1GB or less) but when I try to download anything larger it fails. It completes the entire download, gets to 100% and then throws the error:

FAILURE: responseSerializationFailed(Alamofire.AFError.ResponseSerializationFailureReason.inputFileReadFailed(file:///...))

Why is it failing on the large files?
Here is my code - I am using a sessionManager to allow for background downloads since the files are so large (there may be a better way to do this but I do not think it is related to this issue.):
let destination: (URL, HTTPURLResponse) -> (URL, DownloadRequest.DownloadOptions) = { (temporaryURL, response) in
if let directoryURL = FileManager().containerURL(forSecurityApplicationGroupIdentifier: applicationGroup), let suggestedFilename = response.suggestedFilename {
    let filePath = directoryURL.appendingPathComponent("\(suggestedFilename)")
    return (filePath, [.removePreviousFile, .createIntermediateDirectories])
}
return (temporaryURL, [.removePreviousFile, .createIntermediateDirectories])
}

if self.reachability.isReachableViaWiFi {

var request: DownloadRequest

if let resumeData = resumeData {

    request = BackendAPIManager.sharedInstance.alamoFireManager.download(resumingWith: resumeData)
        .downloadProgress { progress in
            cell?.progressView.isHidden = false
            cell?.progressView.setProgress(Float(progress.fractionCompleted), animated: true)
    }
} else {
    request = BackendAPIManager.sharedInstance.alamoFireManager.download(fileLocation, to: destination)
        .downloadProgress { progress in
            cell?.progressView.isHidden = false
            cell?.progressView.setProgress(Float(progress.fractionCompleted), animated: true)
    }
}

request.responseData { response in
    switch response.result {
        case .success( _):
            cell?.pctLabel.text = nil
            cell?.progressView.isHidden = true
            break;
        case .failure:
            print(response)
            resumeData = response.resumeData
    }
}
}

class BackendAPIManager: NSObject {
static let sharedInstance = BackendAPIManager()
var alamoFireManager : Alamofire.SessionManager!

var backgroundCompletionHandler: (() -> Void)? {
    get {
        return alamoFireManager?.backgroundCompletionHandler
    }
    set {
        alamoFireManager?.backgroundCompletionHandler = newValue
    }
}

fileprivate override init()
{
    let configuration = URLSessionConfiguration.background(withIdentifier: "com.nw.fileDownload.background")
    configuration.timeoutIntervalForRequest = 14400 // 4 hours
    configuration.timeoutIntervalForResource = 14400
    self.alamoFireManager = Alamofire.SessionManager(configuration: configuration)
}
}

How big of a file are you downloading? Is it happening only on certain devices or all of them? What versions of iOS, Alamofire, and Swift are you using?

I've been able to successfully test large file downloads using a background SessionManager. Your issue may stem from your responseData usage, as doing so reads the entire downloaded file into memory, which may cause a failure to read it from disk. Using response instead, and checking if the DefaultDownloadResponse's error is nil will let you take action when the download completes without attempting the read the file into memory.
A few things to note:

Alamofire doesn't reconnect to your background session if your app is killed, so you'll lose track of progress and the response handler. You'll need to handle that yourself.

Your timeoutInterval* properties aren't doing what you think they are. Timeouts are only used for the time between server responses, not for the total duration of the download. Keeping those at the default values should work fine.

Checking for reachability before making a request is an anti pattern and Apple specifically says not to do it.


Implementing a custom ErrorResponse

From the API I'm working with, I get error messages in a format like this.
{
  "status": "fail",
  "code": 400,
  "data": null,
  "message": [
    "phoneno: Enter a valid phone no. This value should be 11 digits folowed by + sign."
  ]
}

I want to display the strings that come inside the message array to the user when an error occurs. So I intended to implement my own ErrorResponse.
The problem is it already has a variable called message. And it is of type String. I can't turn it into a [String] because message is a required property.
So I put together a workaround like this.
struct APIErrorResponse: AnyErrorResponse, Decodable {
    let message: String
    let messages: [String]?

    enum CodingKeys: String, CodingKey {
        case message = "m"
        case messages = "message"
    }

    init(from decoder: Decoder) throws {
        let container = try decoder.container(keyedBy: CodingKeys.self)

        message = ""
        messages = try container.decodeIfPresent([String].self, forKey: .messages)
        print(messages)
    }
}

However I'm not getting this response in the .fail case where I call the endpoint. I put a breakpoint inside the nit(from decoder: Decoder) and the JSON is parsed and the property is assigned the value too but it's not coming to topside. I traced the execution back to the func parse<Output: Decodable, E: Endpoint>(from data: Data?, for endpoint: E) throws -> Output method but I'm unable to figure out what goes wrong from there.
Demo project uploaded here (Tap on the Login button).

That is indeed the workaround I would use to parse out a different messages property.
You're seeing an empty error because you are setting the message property to an empty string. That makes the final error print out as an empty string.
I recommend changing message to a calculated property and removing its coding key. You also don't need to implement the decode initializer as long as you match the coding key name to the property name (which you did). That leaves us with:
struct APIErrorResponse: AnyErrorResponse, Decodable {
    let messages: [String]?

    var message: String {
        return self.messages?.joined(separator: ", ")
            ?? "Unknown Error"
    }

    enum CodingKeys: String, CodingKey {
        case messages = "message"
    }
}

I do however recommend making messages not optional. Since it is optional, the error response will always decode successfully and you will get just "Unknown Error" instead of something potentially more helpful.

Gotcha. Thanks once again :)


Loss is NaN for LibriSpeech recipe

Hello,
I am trying to test how can train model with speech brain. I have chosen the Librispeech recipe.  when training LM (python train.py hparams/RNNLM.yaml), i have got this following error.
2022-06-21 20:40:24,602 - speechbrain.core - ERROR - Exception:
Traceback (most recent call last):
File "/srv/nas_data/atrabelsi/speechbrain/recipes/LibriSpeech/LM/train.py", line 208, in
lm_brain.fit(
File "/srv/nas_data/atrabelsi/speechbrain/speechbrain/core.py", line 1129, in fit
self._fit_train(train_set=train_set, epoch=epoch, enable=enable)
File "/srv/nas_data/atrabelsi/speechbrain/speechbrain/core.py", line 985, in _fit_train
loss = self.fit_batch(batch)
File "/srv/nas_data/atrabelsi/speechbrain/recipes/LibriSpeech/LM/train.py", line 62, in fit_batch
self.check_gradients(loss)
File "/srv/nas_data/atrabelsi/speechbrain/speechbrain/core.py", line 915, in check_gradients
raise ValueError(
ValueError: Loss is not finite and patience is exhausted. To debug, wrap fit() with autograd's detect_anomaly(), e.g.
with torch.autograd.detect_anomaly():
brain.fit(...)
Best regards
log.txt

Hi, are you training with the recommended yaml file ? Did you change anything ? How many GPUs are you using?

@TParcollet , i have not changed the recommended yaml file. i use one GPU.

Ok, if you only use one GPU you will have to increase gradient_accumulation to compensate :-)

Hello,
Any news on this issue, please? Thanks!

I met this issue for multiples reasons : the env corruption was not compatible with my data apparently ; and of course, some of my data were problematics (empty files, etc). Unfortunately, I still meet this issue depending of the batch_size : when training with a batch_size of 4, I could train my model for 1 epoch ; but with a batch_size of 7, my model crash at 81% of the first epoch with this error.

Hello @thibault-roux,
thanks for reaching out. Are you still facing this problem? Thank you. 🙂

Somehow, filtering again worked ! This is the magic of Speechbrain 😃

Good to know!
I close this issue as it seems that there is no more activity. If you need, please create a new issue following the issue template. Thanks. :-)

Hi I am having the same issue, I am training a model performing multitasking ASR and emotion recognition, in first epoch it was showing this error, then somehow by changing the optimizer to AdamW first two epochs got completed, but in the third epoch again it is showing this error. Can someone help in this regard?
Thanks.

Hi I am having the same issue, I am training a model performing multitasking ASR and emotion recognition, in first epoch it was showing this error, then somehow by changing the optimizer to AdamW first two epochs got completed, but in the third epoch again it is showing this error. Can someone help in this regard? Thanks.

Do you use the LibriSpeech dataset or did you plug your own?
If you use CTC for that ASR task on a custom dataset make sure the output neuron count matches the symbol count.

Hi I am using IEMOCAP data instead of Librispeech. I have created the json files consisting of Uppercased transcripts with removal of all the characters like (?,! etc.). Before removal of the characters and lowercased transcripts I was having nan in the loss. But now I am having error: ZeroDivisionError: float division by zero

Hi I am using IEMOCAP data instead of Librispeech. I have created the json
files consisting of Uppercased transcripts with removal of all the
characters like (?,! etc.). Before removal of the characters and lowercased
transcripts I was having nan in the loss. But now I am having error:
ZeroDivisionError: float division by zero
[image: image.png]
Can we connect on google meet if possible?
Thanks & Regards
Lokesh Bansal
MTech, Robotics
Indian Institute of Science, Bangalore, India
+91<PHONE_NUMBER>
On Mon, Jan 16, 2023 at 3:04 PM asu @.***> wrote:

Hi I am having the same issue, I am training a model performing
multitasking ASR and emotion recognition, in first epoch it was showing
this error, then somehow by changing the optimizer to AdamW first two
epochs got completed, but in the third epoch again it is showing this
error. Can someone help in this regard? Thanks.
Do you use the LibriSpeech dataset or did you plug your own?
If you use CTC for that ASR task on a custom dataset make sure the output
neuron count matches the symbol count.
—
Reply to this email directly, view it on GitHub
https://github.com/speechbrain/speechbrain/issues/1462#issuecomment-1383751213,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMOW4LRATUQM5CI4ZHFEE43WSUI3JANCNFSM5ZPF4J6A
.
You are receiving this because you commented.Message ID:
@.***>

I think this could be caused by an empty utterance in the dataset (maybe or maybe not due to the filtering you have done).
Also, even if you don't encounter the NaN loss anymore I would still recommend double-checking if the vocabulary size and the neuron count match if you haven't already, just in case.

@asumagic Hi, I am trying to run the hyperconformer for my custom dataset I didn't change the script and I also checked if there were any empty audio files but there were none. In the first epoch after 30% progress, my code is stopped and giving this error patience exhausted. Kindly help.

from speechbrain.processing.features import InputNormalization
class Model(torch.nn.Module):
def init(self,n_class):
super(Model,self).init()
self.feature_extractor=cls.mods.compute_features
self.norm1=InputNormalization()
self.mod=cls.mods.embedding_model
# self.mod.register_forward_hook(self.hook_fun)
self.classifier=AAMsoftmax(n_class,0.2,30)
self.batch_norm=torch.nn.BatchNorm1d(num_features=192)
self.norm2=InputNormalization()
def forward(self,x,label=None):
fet=self.feature_extractor(x)
fet=self.norm1(fet,torch.ones(len(fet)))
pred=self.mod(fet)S
pred=pred.view(32,192)
pred=self.batch_norm(pred)
if label!=None:
loss,prec1=self.classifier(pred.view(32,192),label)
return loss,prec1
return loss,prec1
# def hook_fun(self,module,input,output):
#     self.out=output
#     return output
i was using speech brain EncoderClassifier to basically train the model from scratch and i have just created a custom class but i am getting nan values after few epochs if anyone can help?


Bump Dependencies #12213866767

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/12213866767

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Release binaries?

As with buck2, it would be great if this repo could have releases with binaries available for users.
I've actually been using the Dotslash version of Buck2 recently too, to give people consistent versions which is quite a nice experience, so it would be great if a dotslash file could also be provided. :)

It's still a fair amount of work to produce pre-packed binaries for Meta open source projects (I hope one day it becomes automatic for everything). Since this project has a smaller number of developers and users, and since its mainly targeted at CI (where random developers are less likely to have random binaries floating around) I suspect we aren't ready to start publishing releases for it yet.


Uncaught TypeError: this.observer$.unsubscribe is not a function

Hi there,
I'm getting the error....but I don't know why.
Plz help me out.
RxJS version:
<EMAIL_ADDRESS>Code to reproduce:
rxjs is used in a react componet as follows.
class MyComponent extends React.Component {

  componentDidMount() {
    this.observer$ =  Observable.timer(0, 1000).flatMap(() => {
        return Observable.fromPromise(this.foo());
      }).subscribe(() => {
      });
  }
  componentWillUnmount() {
     console.log(this.observer$);
    if (this.observer$) {
      this.observer$.unsubscribe();      <--- this line throws an error.
    }
  }
  ...
}

Expected behavior:
this.observer$ will unsubscribe the stream without any errors.
Actual behavior:
When componentWillUnmount() is called, I get the following error.

Uncaught TypeError: this.observer$.unsubscribe is not a function

Additional information:
The output of console.log in componentWillUnmount() is as follows.

AutoDetachObserver {isStopped: false, observer: AnonymousObserver, m: Rx.SingleAssignmentDisposable}

Cheers

Rx v5 and above doesn't have AutoDetachObserver. Are you sure it's 5.x, and there is no any other instance of Rx not 5 version?

v5 of rxjs module name is rxjs, not rx. Seems you're importing old version of module and tried to use v5 interfaces.

reference:
https://www.npmjs.com/package/rx
https://www.npmjs.com/package/rxjs


#21125 remove accessibility binding

Please check with JAWs and NVDA - working with the data editor - odd/even rows must be read.

verified


Fixing some ui bugs and re-designing the offers page (details in ss)

The logo and theme button not working for menu section :

This customer opinion portion looks broken :

The offers webpage doesn't look like it serves the purpose can i recreate it to something appealing?

Also please add suitable label to the issue :) I'd also need to rearrange the files are they are unorganised and have many linking issues (if you let me). level 3 or 2 should suffice


doc(tutorials): adjustment of chapter3 consume data

Description
This PR contains adjustments to chapter 3 consume data, implementing first feedback from @SeBuSov

Added webhook.site as potential backend for testing
fixed typo

Issue #487
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[ ] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[ ] Copyright and license header are present on all affected files

close because of wrong source branch selected


Don't test on Python 3.3

As discovered in #104, the new Travis Trusty environment doesn't include Python 3.3 so we can't test on it.

Dupe of #108


Service Principal Authentication is not working for Notebook Deployemnt Task

I have tried quite a few combinations but Service Principle Authentication is not working for me and I keep on getting the following error - Tools Version: 2.2.5299
Connecting via AAD
##[error]The remote server returned an error: (401) Unauthorized.
Finishing: Databricks Notebooks deployment
Service Principal is Reader at the Subscription Level and Contributor at the Workspace Level

Please cancel this issue, it was something wrong I was doing.


Ensure release variants build successfully without any setup

Future changes to Facebook/Twitter will break the build if setup incorrectly! 👏

@SUPERCILEX did it fail when it should have?

Yup on my Travis: https://travis-ci.org/SUPERCILEX/FirebaseUI-Android/builds/360021255

@SUPERCILEX awesome thank you for doing this!


Course's staff image doesn't show in course info page.

Course info doesn't show image of staff, see attach for detail.
This shown in web version.

This shown in mobile app.

Duplicated, confirmed. This is a bug on iOS and Android.


Text cursor points to wrong place

Challenge Name
All challenges in which there is a lot of code
For example Warn your Users of a Dangerous Action
Issue Description
Sometime when I go to next challenge something strange occurs. I'm pointing to one place, but it seems that in fact cursor is on other line that I want. The everything become normal after I press something.
Please look at video for more details.
Video
http://screencast.com/t/EdA4BFQBfEm0
Browser Information

Browser Name, Version:  Google Chrome Canary 52.0.2743.0 (64-bit)
Operating System:  Windows 10
Mobile, Desktop, or Tablet:  Desktop

Closing as a duplicate of #8253. This is a known issue in CodeMirror.


firstTime.mtaext listed on "Getting started ..." pages has a syntax error

The yamls used for the installation of the EA Designer, on both Getting Started pages, the -name has incorrect spacing.
[`Create a text file, copy the following content to it, replacing the variable with your choice of a temporary administrator password for the first login, and save it as firstTime.mtaext:
_schema-version: "2.0.0"
ID: com.sap.hana.eadesigner.ext
extends: com.sap.hana.eadesigner
modules:

name: eadesigner-backend
properties:`]

(http://www.sap.com/developer/tutorials/hxe-ua-getting-started-binary.html)
Cutting and pasting into the firstTime.mtaext file causes the installation to bomb.   I deleted the spacing in front of the dash name to make the xs install work. Request the HTML be updated.   Thanks ... @ccmehil @jpenninkhof

Please refer to https://github.com/SAPDocuments/Tutorials/issues/1224. Thank you!

The tutorial Start Using SAP HANA 2.0, express edition (Virtual Machine Method) and the binary getting started tutorial were both modified as below. Please note our testing indicates there should be two spaces in front of "- name".  Also, in the comment above, there is a bullet instead of a dash in "- name" in your code snippet.
...

Create a text file, copy the following content to it, replacing the variable <tempPwd> with your choice of a temporary administrator password for the first login, and save it as firstTime.mtaext:

Important: Incorrect indentation causes errors. If you are copying code, make sure that - name, properties and ADMIN_PASSWORD are indented with spaces, not tab. There are two spaces in front of - name:. There are two spaces in front of properties.


fix: count cpu's correctly when process name includes the word processor

Fixes a bug someone found running Immich where we utilised this script.
The script can double count cores if the process name includes the word "processor"
We use this script over on Immich and a user found when running docker within a VM, the processor name can end up being something like "Common KVM processor", so ensuring that grep only detects "processor" at the start of the line fixes it double counting cores.
Thought as this script helped us out I would commit it back here in return :smile:

Thanks a ton!


distinguish between net and expanded

Previously, nets and expanded nets were handled together, now their handled separately.

This PR resolves #435.


Moved usual termination codes into finally block

Moved usual termination codes into a finally block so that the codes can be executed even when SystemExit, KeyboardInterrupt, GeneratorExit raised (These exceptions derive not Exception but BaseException.)

Can one of the admins verify this patch?

I signed it!

Test this please, Jenkins.


Support non-git paths

I would like to bundle some cookiecutter project templates with a developer scaffolding/workflow tool that I'm creating. I realized it would be wonderful if the scaffolding part of this tool could help merge in template updates. This is when I discovered cruft and tried to integrate the cruft.create and cruft.update API's into the tool.
Unfortunately, cruft seems to rely on the template being a git repo. The installed path of a python module does not contain the git repo stuff, so cruft is unable to create the template from a sub-directory of the install location. Here's a reproduction of what I'm talking about with all the complexity of the tool that I'm working on abstracted away:
mkdir new-folder
cd new-folder
echo '{"var": "blah"}' > cookiecutter.json
mkdir {{cookiecutter.var}}
touch {{cookiecutter.var}}/something.txt
cruft create . --output-dir=../plz-work

Error: Unable to initialize the cookiecutter using /private/tmp/new-folder! Failed to clone the repo. stderr: 'fatal: repository '/private/tmp/new-folder' does not exist
'

It seems local paths do not work if the path does not contain a git repo. I believe the error message is from git clone failing. Cookiecutter can generate this okay. #110 mentions that local paths are meant to be supported, but it seems the library is limiting this to cloned git repositories only? Is this intentional? Or just a missing feature?
As a workaround, I tried to cruft.link after using cookiecutter to generate the template; however, that results in the same error expecting a git repo.
I investigated why this might be and realized that the .cruft.json file is tracking the commit ref of the git repo. Presumably, this is used to quickly detect the presence of differences during updates? I'm wondering if it would be possible to null this for local paths?
Thoughts? Ideas? Must the templates be git repositories for the update feature to function?

Cruft only works with git templates. Otherwise it doesn't have any way to track which template revision the generated project is on and which one to update to. For cruft to track and find diffs between two template versions, the template itself needs to be a git repository. If you only want to generate a one off project from a non git template, just plain cookiecutter should work.

In hindsight, I realize it was a silly idea to bundle the templates with the tool that I'm making. I would have had to ship every version of each template bundled with it in order to do the 3-way diffs for merging. It does make sense to give each of those their own repo. Thanks!

I've come across this issue with a monorepo maintaining some templates.
Is it possible to create a project based off a path within a git project?

I agree with @gregl83.  I'm also working on a monorepo and would like to have some templates within the repo that the many micro services are built from and updated when I update the template.  Maybe cruft isn't the tool for this, but cookiecutter doesn't seem to have these update and diff options.


Fix segfault when exporting some GEMM layers to ONNX

The ONNX export tests invoke set_layer_scale to overwrite the quantization scales and need to allocate scale tensors with the correct size.

/te-ci

@nzmora-nvidia I'm still seeing the segfaults with this. PR whereas #124 fixes it.

Closing since this has been incorporated in #112 as it fixes the IndexErrors seen in ci. The segfault is unrelated to this error and will be addressed in a following PR.


User story 9 walkable player

Game crashed after fishing once.

Game crashed after fishing once.

It seems like it is inconsitent and only happens when some kind of combination of inputs is done.

Updated the sprites for minigama and exclamation mark

See comment about public field, saw now that the game crash exists in sprint_3 as well.

And btw I did not try to fix the bug since it probably has to do with something else than animations??

I think it is well implemented except for some bugs. One thing is that you start fishing without evan pressing f (maybe its a feature i dont know). Also when I catch something and dont close the info window and start fishing again I get stuck and cant get out of fishing or the info screen.

I believe it is intentional that you fish when you touch the water tile, don't know anything about the other bug though.

I think it is well implemented except for some bugs. One thing is that you start fishing without evan pressing f (maybe its a feature i dont know). Also when I catch something and dont close the info window and start fishing again I get stuck and cant get out of fishing or the info screen.

Yes it is a feature. Dont know why you get stuck, it seems to happen in other branches too


Add CONTRIBUTING.md

In order to help facilitate engagement, we should add a CONTRIBUTING.md file that outlines the steps for contribution

This is done with 1ae5c002fd73fadc8520439715c69026d243b3ac


M5CoreS3 and M5Unified repos - unclear relation to CoreS3 support

I see ongoing commits relating to CoreS3 support in both https://github.com/m5stack/M5Unified and https://github.com/m5stack/M5CoreS3, and very recent
can you please clarify which repo is intended to be used for CoreS3 development?
is the intent to fold M5CoreS3 into M5Unified eventually or what is the plan here?
thanks
Michael

Sorry for the confusion.
The respective libraries are not integrated. They are separate.
Both will continue to be supported.
If you want to target only CoreS3, choose M5CoreS3 library.
If you want to target multiple models with common source code, consider M5Unified library.
The M5CoreS3 library is developed to support only M5CoreS3.
In other words, it cannot be used for models other than M5CoreS3.
M5Unified is developed primarily to support multiple products.
Support for multiple models allows for universal use.
Basically, M5Unified's main objective is to be more versatile than a model-specific library.
Therefore, support for model-specific features may be incomplete.
If you are not attracted to integrated libraries, then there is no advantage to using M5Unified.

thanks for the quick reply
I tend to use M5Unified as we will have multiple platforms
a question in principle: assume I hit an issue in M5Unified and it is fixed in M5CoreS3
do you accept PR's to carry over a fix into M5Unified?
best regards
Michael

The main maintainer of each library is a different person.
I was originally in the position of a single user of M5Stack and not a member of M5Stack.
I liked the M5Stack product and used several models, but was frustrated by the lack of consistency in the libraries for each model and the lack of common programming.
I entered into an outsourcing agreement with M5Stack and proposed the M5Unified plan to resolve this situation and began development.
While I welcome pull requests to fix M5Unified issues, I will not actively participate in the work to fix model-specific libraries.

I see
sorry to be an inquisitive bastard.. but I assume many folks have similar questions
I really like the idea underlying the M5Unified effort, and M5GFX is great
we have a mix of various M5stack platforms, including CoreS3, and a few non-M5stack boards like Sunton and Lilygo
my thinking was I could get away with private forks of M5Unified and M5GFX to add support for non-M5 hardware - is that reasonable?
I have  a similar question about M5GFX vs LovyanGFX - which one would be the upstream? I see both repos busy
would I be better off to go with LovyanGFX to cover non-M5 hardware or is the above approach applicable?
I guess you wont accept PR's for M5GFX for non-M5 hardware, but that'd be ok for LovyanGFX, correct?
thanks for your patience
Michael

You may find this Issue helpful.
https://github.com/m5stack/M5Unified/issues/54

thanks, appreciated!


Revert "A new --concatenate-modules flag"

Reverts webpack/webpack.js.org#1686

cc @iamakulov will merge this shortly and then we’ll figure out how to reopen/recreate the other one.

I could revert this PR once it’s merged and submit it as a new PR :–)

Sounds good.


Wrong symbol used for copyright on gallery home

The copy right symbol used on nuget gallery home footer seems to be a c and not a © -

cc: @loic-sharma @joelverhagen

@mishra14 nice catch!
/cc @ryuyu

This was fixed:


Implement "net" collector

Prometheus' Windows Exporter

https://github.com/prometheus-community/windows_exporter/blob/master/collector/net.go
https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.net.md

Implemented in f3f7e77606e3bfe9c3caf619f218142c9b9406b8. Now we have six metrics.

Implemented in f3f7e77606e3bfe9c3caf619f218142c9b9406b8. Now we have all the six metrics.
Let's test them.


Development: Adjust e2e playwright tests

Checklist
General

[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Client

[x] I strictly followed the client coding and design guidelines.
[x] I documented the TypeScript code using JSDoc style.

Motivation and Context
Migrated Tests from Cypress had to be adjusted in Playwright. The corresponding cypress tests were skipped.
Description
Adds system health tests to Playwright and disables them in Cypress.
Steps for Testing

Code Review: Ensure that tests pass for valid reasons, functionality is adequately tested and check the code quality.
Run the tests (optional): Tests are checked by automatic run in CI environment. You can optionally run them locally and check if they pass.

Steps for running the tests:

Navigate to src/tests/playwright
Configure Playwright using playwright.env file based on your local setup. Current configuration should work for default Artemis setup.
Run npm install && npm run playwright:setup && npx playwright test e2e/SystemHealth.spec.ts
Confirm that "System health" tests pass

Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked

Review Progress

Code Review

[x] Code Review 1
[x] Code Review 2

Manual Tests

[x] Test 1
[x] Test 2

Summary by CodeRabbit
Summary by CodeRabbit

Tests

Introduced tests for checking the health status of system components using Playwright.
Temporarily skipped system health check tests in Cypress.
Added a new test script SystemHealth.spec.ts for checking system health indicators on a web page.

two playwright tests fail. Can you check if this is connected to this PR?


Outdated copyright year!

Hallo there, I just came across this one today, the website is using 2018 as copyright year in the footer, so I thought I would report it here. Ideally, I think it might be a good idea to change it to be dynamic so we don't have to update that every year but I would leave that up to you guys :)

cc: @strogonoff, @ronaldtse

Thanks Abu!

On 4 Nov 2020, at 2:17 AM, Abu Nashir<EMAIL_ADDRESS>wrote:

Hallo there, I just came across this one today, the website is using 2018 as copyright year in the footer, so I thought I would report it here. Ideally, I think it might be a good idea to change it to be dynamic so we don't have to update that every year but I would leave that up to you guys :)
cc: @strogonoff, @ronaldtse
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Allow purchasing items directly into party stash

We're currently unable to use the 'Buy Item' button when adding items to the stash in a party sheet. It doesn't recognize the selected party token as valid and prompts the error, "Select at least one token." The 'Take Item' button does work, however, but does not deduct currency.
In the first image, I successfully take Chain Mail from the compendium. In the second, I fail to buy Chain Mail. I'm the Gamemaster in this world.

See #15984


Unclear license

Hi,
In the root of the repo you have a LICENSE file that is the MIT license. At the top of your file you have a copyright statement that says "all rights reserved".
If your intention is to distribute this code under the MIT license, could you please add the MIT license to the source code file itself? That would clarify the license that accompanies the code.
I've tried three different libraries for parsing JSON over the past few days and yours is the only one that works. I'd appreciate it if you could clarify this license issue so that I can continue to use your excellent library.

I guess that's just the line Xcode adds to each new file on top.


feat: add github action for auto build app with expo dev

What does this do?
add GitHub action file to automate the workflow of generation of the app with expo dev

#185


Fix unexpected points from intercut.

As @rmarianski pointed out, some of the output of an intersection operation can be lower-dimensional types from touching intersections. It seems unlikely that we'll want these most of the time, so this patch adds an option to filter them out which is switched on by default.
I also went a bit nuts with refactoring the intercut method, but I think the new code is a bit nicer to read.
@rmarianski could you review, please?

:+1:


[Bug]: Flaky CI test make it hard to contribute

What happened?
Looks like the e2e tests fail quite often:

Steps to reproduce
Create a pr
Expected behavior
Running the CI on the main branch works 99% of the time
Relevant log output
No response
Screenshot
No response
Additional context
No response
Jaeger backend version
No response
SDK
No response
Pipeline
No response
Stogage backend
No response
Operating system
No response
Deployment model
No response
Deployment configs
No response

After fixing #2223: is there something else that makes difficult to contribute?

I think we can close this issue since the CI is working properly

Not sure

Please, can you list what is failing? And we can create follow-up tasks to solve the issues. This one is too generic.


Obtain the .cer file for the root certificate -- Linux link is incorrect

Linux instructions point to https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-certificates-point-to-site-makecert instead of https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-certificates-point-to-site-linux

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 59e72010-dab4-54d9-1409-c95b0ce60824
Version Independent ID: 0da5450c-6181-1c27-93c0-b0c698d2d598
Content: Connect a computer to an Azure virtual network using Point-to-Site and native Azure certificate authentication: Azure Portal
Content Source: articles/vpn-gateway/vpn-gateway-howto-point-to-site-resource-manager-portal.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@matevarga Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.
@cherylmc I will let you make the call on this

Thanks @matevarga - good catch! I'm making the update now.

#please-close


Clipboard image support for Anthropic models.

A list of models that support images is stored in image_supported_models.json which functions as a whitelist to prevent images being sent to models that don't support them.

Awesome! Looks good for merging. Thank you for the contribution.

Nice work this is a great contribution thanks! Sorry for the late merge :)


react-big-calendar styles are not working when component is rendered in microfrontend

Do you want to request a feature or report a bug?
Is there an alternative for using react-big-calendar css  in microfrontend ?
What's the current behavior?

What's the expected behavior?

Having the same issue


Updated copyright year and Laurent's email address

Needs to be done at some point... better late than never. xD
I think I got all of them :smile:

I'm not going to check, I trust you :p

Close but a few are missing. Look for .m, .mm and .plist files (might be more but that's the one I found). ;)

I'm not going to check, I trust you :p

Well @Bromeon missed some during the 2014 update :P

Close but a few are missing. Look for .m, .mm and .plist files (might be more but that's the one I found). ;)

Done.

I think your regex doesn't work with plist files in tools/xcode. The format is a bit different there. ;)

I think your regex doesn't work with plist files in tools/xcode. The format is a bit different there. ;)

What do you mean? The changes in those files look just fine to me.

You're right. I thought you haven't changed those because they are not listed on the Files Changed tab.. Anyway, thanks!

Github :stuck_out_tongue:

Sorry, we could not display the entire diff because too many files (305) changed.

This PR has been added to my merge list, meaning it will be merged soon, unless someone raises any concerns.


AbstractPlutoDingetjes integration

We have a new package https://github.com/JuliaPluto/AbstractPlutoDingetjes.jl to solve some of our issues. In particular, this will allow a pretransformation, which means that we can fix most of these issues: https://github.com/JuliaPluto/PlutoUI.jl/issues?q=is%3Aissue+sort%3Aupdated-desc+label%3A"needs+Pluto.jl+feature"
https://user-images.githubusercontent.com/6933510/139685113-1f4fc1e3-90a2-45c8-a760-8e87cd741543.mov
It is also a companion pr to:

https://github.com/JuliaPluto/PlutoSliderServer.jl/pull/29
https://github.com/fonsp/Pluto.jl/pull/1612

Requires https://github.com/JuliaPluto/AbstractPlutoDingetjes.jl/pull/2 to work


[Parity] Support providing additional credentials for OAuth flow (JS)

Tacking issue for implementing https://github.com/microsoft/botbuilder-dotnet/issues/3152

Closed via #1697


[Nuget]: package bump leads to broken build because the build pipeline won't see the package yet

Package manage/ecosystem
Nuget
The problem
It is not really a bug, but a problem in synchronization of tasks: Quite frequently I see package bumps resulting in a new branch and a respective PR. So far, so good. Our CI pipeline gets triggered and builds the PR but fails like that:
##[error]path/to.the.project.csproj(0,0): Error NU1103: Unable to find a stable package Microsoft.Extensions.Primitives with version (>= 3.1.6)
 - Found 49 version(s) in nuget.org [ Nearest version: 5.0.0-preview.1.20120.4 ]

It seems that dependabot "saw" a new package, that was not replicated yet to all downstream nuget servers, at least not to the one my CI agent is routed to. I understand that's not dependabot's fault, but what would be the correct countermeasure to avoid false negatives in my CI pipeline (that is really PITA when it comes to fixing it manually...)

A few options:

You could change the frequency of Dependabot runs to be less frequent, thus reducing the chance of collisions.
You could vote for https://github.com/dependabot/dependabot-core/issues/3651 such that Dependabot delays creating the PR til the day after the package is updated.
You could wire up your CI system to do a delayed retry after a certain amount of time... or even if the delay is typically just a few minutes you could have your CI first do a sleep for 10 mins before kicking off.

Closing as fundamentally this is a CI delay / retry issue and not much we can do here.


Extract tree layout

Hi!
Your Tree Layout implementation looks nice. Could you please extract it as a separate library?
Thanks!

Thank you for the kind words. There are no plans to extract it as a separate library, but you are more than welcome to pull it out and use it elsewhere!


nav bar logo cleanup

reduce white space above and below nav bar logo
use identical spacing to what is used on android
dispaly 'Testnet' if current net is testnet, as is done on android

This was fixed here....
https://github.com/raedahgroup/dcrios/pull/129


[Docbug][Groupchatscope][3861]

Added reference to groupchat scope.

Acrolinx Scorecards
We do not currently enforce a minimum score for content merged to the default branch. This will change in the future.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/schema/manifest-schema.md
96
12
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 32af5fa:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/resources/schema/manifest-schema.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel