Add apps to docker file

hello, can the following applications be added ..? I think they would be useful for all other users
tmux, nano, locate and path...
Thanks

Also, I found out this way to show which app i had installed..
First install aptitude..
apt install aptitude
them
aptitude search '~i!~M'
i   adduser                                                                             - add and remove users and groups
i   alsa-utils                                                                          - Utilities for configuring and using ALSA
i   apache2-utils                                                                       - Apache HTTP Server (utility programs for web servers)
i   apt                                                                                - commandline package manager
i   apt-transport-https                                                                 - https download transport for APT
i   apt-utils                                                                           - package management related utility programs
i   aptitude                                                                            - terminal-based package manager
i   arc-theme                                                                           - Arc is a theme for GTK 3, GTK 2 and Gnome-Shell.
i   arduino                                                                             - AVR development board IDE and built-in libraries
i   base-files                                                                          - Debian base system miscellaneous files
i   base-passwd                                                                         - Debian base system master password and group files
i   bash                                                                                - GNU Bourne Again SHell
i   bash-completion                                                                     - programmable completion for the bash shell
i   bsdutils                                                                            - basic utilities from 4.4BSD-Lite
i   chromium-browser                                                                    - Chromium web browser, open-source version of Chrome
i   code                                                                                - Code editing. Redefined.
i   coreutils                                                                           - GNU core utilities
i   curl                                                                                - command line tool for transferring data with URL syntax
i   dash                                                                                - POSIX-compliant shell
i   dbus-x11                                                                            - simple interprocess messaging system (X11 deps)
i   debconf                                                                             - Debian configuration management system
i   debianutils                                                                         - Miscellaneous utilities specific to Debian
i   diffutils                                                                           - File comparison utilities
i   dirmngr                                                                             - server for managing certificate revocation lists
i   dpkg                                                                                - Debian package management system
i   e2fslibs                                                                            - ext2/ext3/ext4 file system libraries
i   e2fsprogs                                                                           - ext2/ext3/ext4 file system utilities
i   enblend                                                                             - image blending tool
i   ffmpeg                                                                              - Tools for transcoding, streaming and playing of multimedia files
i   findutils                                                                           - utilities for finding files--find, xargs
i   firefox                                                                             - Safe and easy web browser from Mozilla
i   gcc-5-base                                                                          - GCC, the GNU Compiler Collection (base package)
i   gcc-6-base                                                                          - GCC, the GNU Compiler Collection (base package)
i   gedit                                                                               - official text editor of the GNOME desktop environment
i   git                                                                                - fast, scalable, distributed revision control system
i   gnome-themes-standard                                                               - Adwaita GTK+ 2 theme \u2014 engine
i   gnupg                                                                               - GNU privacy guard - a free PGP replacement
i   gnupg2                                                                              - GNU privacy guard - a free PGP replacement (new v2.x)
i   gpgv                                                                                - GNU privacy guard - signature verification tool
i   grep                                                                                - GNU grep, egrep and fgrep
i   gtk2-engines-murrine                                                                - cairo-based gtk+-2.0 theme engine
i   gtk2-engines-pixbuf                                                                 - pixbuf-based theme for GTK+ 2.x
i   gzip                                                                                - GNU compression utilities
i   hostname                                                                            - utility to set/show the host name or domain name
i   hugin-tools                                                                         - panorama photo stitcher - commandline tools
i   init                                                                                - System-V-like init utilities - metapackage
i   init-system-helpers                                                                 - helper tools for all init systems
i   initscripts                                                                         - scripts for initializing and shutting down the system
i   insserv                                                                             - boot sequence organizer using LSB init.d script dependency information
i   less                                                                                - pager program similar to more
i   libacl1                                                                             - Access control list shared library
i   libapparmor1                                                                        - changehat AppArmor library
i   libapt-pkg5.0                                                                       - package management runtime library
i   libattr1                                                                            - Extended attribute shared library
i   libaudit-common                                                                     - Dynamic library for security auditing - common files
i   libaudit1                                                                           - Dynamic library for security auditing
i   libblkid1                                                                           - block device ID library
i   libbz2-1.0                                                                          - high-quality block-sorting file compressor library - runtime
i   libc-bin                                                                            - GNU C Library: Binaries
i   libc6                                                                               - GNU C Library: Shared libraries
i   libcap2                                                                             - POSIX 1003.1e capabilities (library)
i   libcap2-bin                                                                         - POSIX 1003.1e capabilities (utilities)
i   libcomerr2                                                                          - common error description library
i   libcryptsetup4                                                                      - disk encryption support - shared library
i   libdb5.3                                                                            - Berkeley v5.3 Database Libraries [runtime]
i   libdebconfclient0                                                                   - Debian Configuration Management System (C-implementation library)
i   libdevmapper1.02.1                                                                  - Linux Kernel Device Mapper userspace library
i   libeigen3-dev                                                                       - lightweight C++ template library for linear algebra
i   libfdisk1                                                                           - fdisk partitioning library
i   libgcc1                                                                             - GCC support library
i   libgcrypt20                                                                         - LGPL Crypto library - runtime library
i   libgl1-mesa-dri                                                                     - free implementation of the OpenGL API -- DRI modules
i   libglew-dev                                                                         - OpenGL Extension Wrangler - development environment
i   libgpg-error0                                                                       - library for common error values and messages in GnuPG components
i   libkmod2                                                                            - libkmod shared library
i   liblz4-1                                                                            - Fast LZ compression algorithm library - runtime
i   liblzma5                                                                            - XZ-format compression library
i   libmount1                                                                           - device mounting library
i   libncurses5                                                                         - shared libraries for terminal handling
i   libncursesw5                                                                        - shared libraries for terminal handling (wide character support)
i   libpam-modules                                                                      - Pluggable Authentication Modules for PAM
i   libpam-modules-bin                                                                  - Pluggable Authentication Modules for PAM - helper binaries
i   libpam-runtime                                                                      - Runtime support for the PAM library
i   libpam0g                                                                            - Pluggable Authentication Modules library
i   libpcre3                                                                            - Perl 5 Compatible Regular Expression Library - runtime files
i   libprocps4                                                                          - library for accessing process information from /proc
i   libreadline6                                                                        - GNU readline and history libraries, run-time libraries
i   libseccomp2                                                                         - high level interface to Linux seccomp filter
i   libselinux1                                                                         - SELinux runtime shared libraries
i   libsemanage-common                                                                  - Common files for SELinux policy management libraries
i   libsemanage1                                                                        - SELinux policy management library
i   libsepol1                                                                           - SELinux library for manipulating binary security policies
i   libsmartcols1                                                                       - smart column output alignment library
i   libss2                                                                              - command-line interface parsing library
i   libstdc++6                                                                          - GNU Standard C++ Library v3
i   libsystemd0                                                                         - systemd utility library
i   libtinfo5                                                                           - shared low-level terminfo library for terminal handling
i   libudev1                                                                            - libudev shared library
i   libusb-0.1-4                                                                        - userspace USB programming library
i   libustr-1.0-1                                                                       - Micro string library: shared library
i   libuuid1                                                                            - Universally Unique ID library
i   locate                                                                              - maintain and query an index of a directory tree
i   login                                                                               - system login tools
i   lsb-base                                                                            - Linux Standard Base init script functionality
i   lxde                                                                                - Metapackage for LXDE
i   makedev                                                                             - creates device files in /dev
i   mawk                                                                                - a pattern scanning and text processing language
i   mesa-utils                                                                          - Miscellaneous Mesa GL utilities
i   mount                                                                               - tools for mounting and manipulating filesystems
i   multiarch-support                                                                   - Transitional package to ensure multiarch compatibility
i   nano                                                                                - small, friendly text editor inspired by Pico
i   ncurses-base                                                                        - basic terminal type definitions
i   ncurses-bin                                                                         - terminal-related programs and man pages
i   net-tools                                                                           - NET-3 networking toolkit
i   nginx                                                                               - small, powerful, scalable web/proxy server
i   okular                                                                              - universal document viewer
i   passwd                                                                              - change and administer password and group data
i   perl-base                                                                           - minimal Perl system
i   procps                                                                              - /proc file system utilities
i   python-catkin-tools                                                                 - Command line tools for working with catkin.
i   python-pip                                                                          - alternative Python package installer
i   python-rosdep                                                                       - rosdep package manager abstraction tool for ROS
i   python-rosinstall                                                                   - The installer for ROS
i   python-vcstools                                                                     - VCS/SCM source control library for svn, git, hg, and bzr
i   readline-common                                                                     - GNU readline and history libraries, common files
i   ros-kinetic-ackermann-msgs                                                          - ROS messages for robots using Ackermann steering.
i   ros-kinetic-desktop-full                                                            - A metapackage to aggregate several packages.
i   ros-kinetic-geographic-msgs                                                         - ROS messages for Geographic Information Systems.
i   ros-kinetic-geometry-msgs                                                           - geometry_msgs provides messages for common geometric primitives such as points, vectors, and p
i   ros-kinetic-global-planner                                                          - A path planner library and node.
i   ros-kinetic-gps-goal                                                                - Set a ROS navigation goal using latitude and longitude.
i   ros-kinetic-joy                                                                     - ROS driver for a generic Linux joystick.
i   ros-kinetic-jsk-rviz-plugins                                                        - The jsk_rviz_plugins package
i   ros-kinetic-map-server                                                              - map_server provides the map_server ROS Node, which offers map data as a ROS Service.
i   ros-kinetic-marti-sensor-msgs                                                       - marti_sensor_msgs
i   ros-kinetic-marti-visualization-msgs                                                - marti_visualization_msgs
i   ros-kinetic-move-base                                                               - The move_base package provides an implementation of an action (see the actionlib package) that
i   ros-kinetic-move-base-msgs                                                          - Holds the action description and relevant messages for the move_base package.
i   ros-kinetic-nav-core                                                                - This package provides common interfaces for navigation specific robot actions.
i   ros-kinetic-pcl-conversions                                                         - Provides conversions from PCL data types and ROS message types
i   ros-kinetic-pcl-ros                                                                 - PCL (Point Cloud Library) ROS interface stack.
i   ros-kinetic-robot-localization                                                      - Provides nonlinear state estimation through sensor fusion of an abritrary number of sensors.
i   ros-kinetic-rosapi                                                                  - Provides service calls for getting ros meta-information, like list of topics, services, params
i   ros-kinetic-rosserial                                                               - Metapackage for core of rosserial.
i   ros-kinetic-rosserial-arduino                                                       - rosserial for Arduino/AVR platforms.
i   ros-kinetic-swri-image-util                                                         - swri_image_util
i   ros-kinetic-swri-route-util                                                         - This library provides functionality to simplify working with the navigation messages defined i
i   ros-kinetic-swri-transform-util                                                     - The swri_transform_util package contains utility functions and classes for transforming betwee
i   ros-kinetic-teb-local-planner                                                       - The teb_local_planner package implements a plugin to the base_local_planner of the 2D navigati
i   ros-kinetic-tf2-ros                                                                 - This package contains the ROS bindings for the tf2 library, for both Python and C++.
i   sed                                                                                - The GNU sed stream editor
i   sensible-utils                                                                      - Utilities for sensible alternative selection
i   snapd                                                                               - Daemon and tooling that enable snap packages
i   software-properties-common                                                          - manage the repositories that you install software from (common)
i   sudo                                                                                - Provide limited super user privileges to specific users
i   supervisor                                                                          - System for controlling process state
i   systemd                                                                             - system and service manager
i   systemd-sysv                                                                        - system and service manager - SysV links
i   sysv-rc                                                                             - System-V-like runlevel change mechanism
i   sysvinit-utils                                                                      - System-V-like utilities
i   tar                                                                                - GNU version of the tar archiving utility
i   terminator                                                                          - multiple GNOME terminals in one window
i   tmux                                                                                - terminal multiplexer
i   ttf-ubuntu-font-family                                                              - Ubuntu Font Family, sans-serif typeface hinted for clarity
i   ttf-wqy-zenhei                                                                      - transitional dummy package
i   ubuntu-keyring                                                                      - GnuPG keys of the Ubuntu archive
i   util-linux                                                                          - miscellaneous system utilities
i   vim                                                                                - Vi IMproved - enhanced vi editor
i   vim-tiny                                                                            - Vi IMproved - enhanced vi editor - compact version
i   wget                                                                                - retrieves files from the web
i   x11-utils                                                                           - X11 utilities
i   x11vnc                                                                              - VNC server to allow remote access to an existing X session
i   xvfb                                                                                - Virtual Framebuffer 'fake' X server
i   xz-utils                                                                            - XZ-format compression utilities
i   zenity                                                                              - Display graphical dialog boxes from shell scripts
i   zlib1g                                                                              - compression library - runtime

Also, I found out this way to show which app i had installed..
First install aptitude..
apt install aptitude
them
aptitude search '~i!~M'
i   adduser                                                                             - add and remove users and groups
i   alsa-utils                                                                          - Utilities for configuring and using ALSA
i   apache2-utils                                                                       - Apache HTTP Server (utility programs for web servers)
i   apt                                                                                - commandline package manager
i   apt-transport-https                                                                 - https download transport for APT
i   apt-utils                                                                           - package management related utility programs
i   aptitude                                                                            - terminal-based package manager
i   arc-theme                                                                           - Arc is a theme for GTK 3, GTK 2 and Gnome-Shell.
i   arduino                                                                             - AVR development board IDE and built-in libraries
i   base-files                                                                          - Debian base system miscellaneous files
i   base-passwd                                                                         - Debian base system master password and group files
i   bash                                                                                - GNU Bourne Again SHell
i   bash-completion                                                                     - programmable completion for the bash shell
i   bsdutils                                                                            - basic utilities from 4.4BSD-Lite
i   chromium-browser                                                                    - Chromium web browser, open-source version of Chrome
i   code                                                                                - Code editing. Redefined.
i   coreutils                                                                           - GNU core utilities
i   curl                                                                                - command line tool for transferring data with URL syntax
i   dash                                                                                - POSIX-compliant shell
i   dbus-x11                                                                            - simple interprocess messaging system (X11 deps)
i   debconf                                                                             - Debian configuration management system
i   debianutils                                                                         - Miscellaneous utilities specific to Debian
i   diffutils                                                                           - File comparison utilities
i   dirmngr                                                                             - server for managing certificate revocation lists
i   dpkg                                                                                - Debian package management system
i   e2fslibs                                                                            - ext2/ext3/ext4 file system libraries
i   e2fsprogs                                                                           - ext2/ext3/ext4 file system utilities
i   enblend                                                                             - image blending tool
i   ffmpeg                                                                              - Tools for transcoding, streaming and playing of multimedia files
i   findutils                                                                           - utilities for finding files--find, xargs
i   firefox                                                                             - Safe and easy web browser from Mozilla
i   gcc-5-base                                                                          - GCC, the GNU Compiler Collection (base package)
i   gcc-6-base                                                                          - GCC, the GNU Compiler Collection (base package)
i   gedit                                                                               - official text editor of the GNOME desktop environment
i   git                                                                                - fast, scalable, distributed revision control system
i   gnome-themes-standard                                                               - Adwaita GTK+ 2 theme \u2014 engine
i   gnupg                                                                               - GNU privacy guard - a free PGP replacement
i   gnupg2                                                                              - GNU privacy guard - a free PGP replacement (new v2.x)
i   gpgv                                                                                - GNU privacy guard - signature verification tool
i   grep                                                                                - GNU grep, egrep and fgrep
i   gtk2-engines-murrine                                                                - cairo-based gtk+-2.0 theme engine
i   gtk2-engines-pixbuf                                                                 - pixbuf-based theme for GTK+ 2.x
i   gzip                                                                                - GNU compression utilities
i   hostname                                                                            - utility to set/show the host name or domain name
i   hugin-tools                                                                         - panorama photo stitcher - commandline tools
i   init                                                                                - System-V-like init utilities - metapackage
i   init-system-helpers                                                                 - helper tools for all init systems
i   initscripts                                                                         - scripts for initializing and shutting down the system
i   insserv                                                                             - boot sequence organizer using LSB init.d script dependency information
i   less                                                                                - pager program similar to more
i   libacl1                                                                             - Access control list shared library
i   libapparmor1                                                                        - changehat AppArmor library
i   libapt-pkg5.0                                                                       - package management runtime library
i   libattr1                                                                            - Extended attribute shared library
i   libaudit-common                                                                     - Dynamic library for security auditing - common files
i   libaudit1                                                                           - Dynamic library for security auditing
i   libblkid1                                                                           - block device ID library
i   libbz2-1.0                                                                          - high-quality block-sorting file compressor library - runtime
i   libc-bin                                                                            - GNU C Library: Binaries
i   libc6                                                                               - GNU C Library: Shared libraries
i   libcap2                                                                             - POSIX 1003.1e capabilities (library)
i   libcap2-bin                                                                         - POSIX 1003.1e capabilities (utilities)
i   libcomerr2                                                                          - common error description library
i   libcryptsetup4                                                                      - disk encryption support - shared library
i   libdb5.3                                                                            - Berkeley v5.3 Database Libraries [runtime]
i   libdebconfclient0                                                                   - Debian Configuration Management System (C-implementation library)
i   libdevmapper1.02.1                                                                  - Linux Kernel Device Mapper userspace library
i   libeigen3-dev                                                                       - lightweight C++ template library for linear algebra
i   libfdisk1                                                                           - fdisk partitioning library
i   libgcc1                                                                             - GCC support library
i   libgcrypt20                                                                         - LGPL Crypto library - runtime library
i   libgl1-mesa-dri                                                                     - free implementation of the OpenGL API -- DRI modules
i   libglew-dev                                                                         - OpenGL Extension Wrangler - development environment
i   libgpg-error0                                                                       - library for common error values and messages in GnuPG components
i   libkmod2                                                                            - libkmod shared library
i   liblz4-1                                                                            - Fast LZ compression algorithm library - runtime
i   liblzma5                                                                            - XZ-format compression library
i   libmount1                                                                           - device mounting library
i   libncurses5                                                                         - shared libraries for terminal handling
i   libncursesw5                                                                        - shared libraries for terminal handling (wide character support)
i   libpam-modules                                                                      - Pluggable Authentication Modules for PAM
i   libpam-modules-bin                                                                  - Pluggable Authentication Modules for PAM - helper binaries
i   libpam-runtime                                                                      - Runtime support for the PAM library
i   libpam0g                                                                            - Pluggable Authentication Modules library
i   libpcre3                                                                            - Perl 5 Compatible Regular Expression Library - runtime files
i   libprocps4                                                                          - library for accessing process information from /proc
i   libreadline6                                                                        - GNU readline and history libraries, run-time libraries
i   libseccomp2                                                                         - high level interface to Linux seccomp filter
i   libselinux1                                                                         - SELinux runtime shared libraries
i   libsemanage-common                                                                  - Common files for SELinux policy management libraries
i   libsemanage1                                                                        - SELinux policy management library
i   libsepol1                                                                           - SELinux library for manipulating binary security policies
i   libsmartcols1                                                                       - smart column output alignment library
i   libss2                                                                              - command-line interface parsing library
i   libstdc++6                                                                          - GNU Standard C++ Library v3
i   libsystemd0                                                                         - systemd utility library
i   libtinfo5                                                                           - shared low-level terminfo library for terminal handling
i   libudev1                                                                            - libudev shared library
i   libusb-0.1-4                                                                        - userspace USB programming library
i   libustr-1.0-1                                                                       - Micro string library: shared library
i   libuuid1                                                                            - Universally Unique ID library
i   locate                                                                              - maintain and query an index of a directory tree
i   login                                                                               - system login tools
i   lsb-base                                                                            - Linux Standard Base init script functionality
i   lxde                                                                                - Metapackage for LXDE
i   makedev                                                                             - creates device files in /dev
i   mawk                                                                                - a pattern scanning and text processing language
i   mesa-utils                                                                          - Miscellaneous Mesa GL utilities
i   mount                                                                               - tools for mounting and manipulating filesystems
i   multiarch-support                                                                   - Transitional package to ensure multiarch compatibility
i   nano                                                                                - small, friendly text editor inspired by Pico
i   ncurses-base                                                                        - basic terminal type definitions
i   ncurses-bin                                                                         - terminal-related programs and man pages
i   net-tools                                                                           - NET-3 networking toolkit
i   nginx                                                                               - small, powerful, scalable web/proxy server
i   okular                                                                              - universal document viewer
i   passwd                                                                              - change and administer password and group data
i   perl-base                                                                           - minimal Perl system
i   procps                                                                              - /proc file system utilities
i   python-catkin-tools                                                                 - Command line tools for working with catkin.
i   python-pip                                                                          - alternative Python package installer
i   python-rosdep                                                                       - rosdep package manager abstraction tool for ROS
i   python-rosinstall                                                                   - The installer for ROS
i   python-vcstools                                                                     - VCS/SCM source control library for svn, git, hg, and bzr
i   readline-common                                                                     - GNU readline and history libraries, common files
i   ros-kinetic-ackermann-msgs                                                          - ROS messages for robots using Ackermann steering.
i   ros-kinetic-desktop-full                                                            - A metapackage to aggregate several packages.
i   ros-kinetic-geographic-msgs                                                         - ROS messages for Geographic Information Systems.
i   ros-kinetic-geometry-msgs                                                           - geometry_msgs provides messages for common geometric primitives such as points, vectors, and p
i   ros-kinetic-global-planner                                                          - A path planner library and node.
i   ros-kinetic-gps-goal                                                                - Set a ROS navigation goal using latitude and longitude.
i   ros-kinetic-joy                                                                     - ROS driver for a generic Linux joystick.
i   ros-kinetic-jsk-rviz-plugins                                                        - The jsk_rviz_plugins package
i   ros-kinetic-map-server                                                              - map_server provides the map_server ROS Node, which offers map data as a ROS Service.
i   ros-kinetic-marti-sensor-msgs                                                       - marti_sensor_msgs
i   ros-kinetic-marti-visualization-msgs                                                - marti_visualization_msgs
i   ros-kinetic-move-base                                                               - The move_base package provides an implementation of an action (see the actionlib package) that
i   ros-kinetic-move-base-msgs                                                          - Holds the action description and relevant messages for the move_base package.
i   ros-kinetic-nav-core                                                                - This package provides common interfaces for navigation specific robot actions.
i   ros-kinetic-pcl-conversions                                                         - Provides conversions from PCL data types and ROS message types
i   ros-kinetic-pcl-ros                                                                 - PCL (Point Cloud Library) ROS interface stack.
i   ros-kinetic-robot-localization                                                      - Provides nonlinear state estimation through sensor fusion of an abritrary number of sensors.
i   ros-kinetic-rosapi                                                                  - Provides service calls for getting ros meta-information, like list of topics, services, params
i   ros-kinetic-rosserial                                                               - Metapackage for core of rosserial.
i   ros-kinetic-rosserial-arduino                                                       - rosserial for Arduino/AVR platforms.
i   ros-kinetic-swri-image-util                                                         - swri_image_util
i   ros-kinetic-swri-route-util                                                         - This library provides functionality to simplify working with the navigation messages defined i
i   ros-kinetic-swri-transform-util                                                     - The swri_transform_util package contains utility functions and classes for transforming betwee
i   ros-kinetic-teb-local-planner                                                       - The teb_local_planner package implements a plugin to the base_local_planner of the 2D navigati
i   ros-kinetic-tf2-ros                                                                 - This package contains the ROS bindings for the tf2 library, for both Python and C++.
i   sed                                                                                - The GNU sed stream editor
i   sensible-utils                                                                      - Utilities for sensible alternative selection
i   snapd                                                                               - Daemon and tooling that enable snap packages
i   software-properties-common                                                          - manage the repositories that you install software from (common)
i   sudo                                                                                - Provide limited super user privileges to specific users
i   supervisor                                                                          - System for controlling process state
i   systemd                                                                             - system and service manager
i   systemd-sysv                                                                        - system and service manager - SysV links
i   sysv-rc                                                                             - System-V-like runlevel change mechanism
i   sysvinit-utils                                                                      - System-V-like utilities
i   tar                                                                                - GNU version of the tar archiving utility
i   terminator                                                                          - multiple GNOME terminals in one window
i   tmux                                                                                - terminal multiplexer
i   ttf-ubuntu-font-family                                                              - Ubuntu Font Family, sans-serif typeface hinted for clarity
i   ttf-wqy-zenhei                                                                      - transitional dummy package
i   ubuntu-keyring                                                                      - GnuPG keys of the Ubuntu archive
i   util-linux                                                                          - miscellaneous system utilities
i   vim                                                                                - Vi IMproved - enhanced vi editor
i   vim-tiny                                                                            - Vi IMproved - enhanced vi editor - compact version
i   wget                                                                                - retrieves files from the web
i   x11-utils                                                                           - X11 utilities
i   x11vnc                                                                              - VNC server to allow remote access to an existing X session
i   xvfb                                                                                - Virtual Framebuffer 'fake' X server
i   xz-utils                                                                            - XZ-format compression utilities
i   zenity                                                                              - Display graphical dialog boxes from shell scripts
i   zlib1g                                                                              - compression library - runtime

@vinnnyr .. Here's there is a list of my packges..


batch multiplication attention energies

In the Attn module, you use a for loop to calculate the attention energies
    # For each batch of encoder outputs
    for b in range(this_batch_size):
        # Calculate energy for each encoder output
        for i in range(max_len):
            attn_energies[b, i] = self.score(hidden[:, b], encoder_outputs[i, b].unsqueeze(0))
    ...
def score(self, hidden, encoder_output):

    if self.method == 'general':
        energy = self.attn(encoder_output)
        energy = hidden.dot(energy)
        return energy

    elif self.method == 'concat':
        energy = self.attn(torch.cat((hidden, encoder_output), 1))
        energy = self.v.dot(energy)
        return energy
    else:
        #self.method == 'dot':
        energy = hidden.dot(encoder_output)
        return energy

But it seems like you can do this more simply with matrix multiplication.  I modified your code using the bmm function instead of the for loops and dot products.  One thing to note, is that I did batch_first=True for the GRU so my transposes may not jive with yours, but the idea should be similar.
    # get attn energies in one batch
    attn_energies = self.score(hidden, encoder_outputs)
    ...
def score(self, hidden, encoder_output):
    #print("attn.score:", hidden.size(), encoder_output.size())
    if self.method == 'general':
        energy = self.attn(encoder_output)
        energy = energy.transpose(2, 1)
        energy = hidden.bmm(energy)
        return energy

    elif self.method == 'concat':
        hidden = hidden * Variable(torch.ones(encoder_output.size())) # broadcast hidden to encoder_outputs size
        energy = self.attn(torch.cat((hidden, encoder_output), -1))
        energy = energy.transpose(2, 1)
        energy = self.v.bmm(energy)
        return energy
    else:
        #self.method == 'dot':
        encoder_output = encoder_output.transpose(2, 1)
        energy = hidden.bmm(encoder_output)
        return energy

Once one does this, you can remove almost all of the squeeze/unsqueeze operations from the tutorial.

@dhpollack  Hey that's such a cool snippet, not only simpler but I imagine it would be able to run faster because you stripped out the iteration.  When you say you managed to get rid of the frequent dimensional changes, do you mean in the other part of the decoder or only  in the Attention Mechanism that youve shown here. Have been trying to implement the spro's model myself without copy pasting but Im having a lot of trouble. If you dont mind mind do you think I could take a glimpse at the rest of your code? Couldnt see it on your github.

@aa1607
https://gist.github.com/dhpollack/c4162aa9d29eec20df8c77d9273b651b
That's the whole script. You can see that I am currently generating a sequence in one shot and not doing it one prediction at a time but you can look at the commented code and use that to do one at a time. You might also need to change some of the initialization.


fix(TensorSliceOp::fold): ignore DenseResourceElementsAttr

Certain cases involve constants who have been converted to resources.
The following change simply ignores these in the folding operation.
One possible future improvement is to perform the slicing at compile
time as we do for the DenseElements, but for now to unblock failing
models this is good enough

#6  👈
dev

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @chrsmcgrr and the rest of your teammates on  Graphite


[rmkit] update remux and harmony

remux: palm filtering config option. defaults to off
harmony: layer dialog improvements, better HW support for pressure/tilt
test plan:

start remux, verify "ENABLED PALM EVENT FILTERS" is not in the initial output.
harmony: play with layers, import/export, etc

Tested on rm2, this did fix the issue!

(This also occurs on the previous harmony release 0.2.0)

This seems to occur only on rM2. Following the same test procedure, I experience no crash no rM1. Logs:
write(2, "SAVING", 6SAVING)                   = 6
write(2, " ", 1 )                        = 1
write(2, "/home/root/harmony/saved_images/"..., 63/home/root/harmony/saved_images/Layer 0-2022-06-23-22:09:39.png) = 63
write(2, "\n", 1
)                       = 1
mmap2(NULL, 2637824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x743de000
munmap(0x743de000, 2637824)             = 0
openat(AT_FDCWD, "/home/root/harmony/saved_images/Layer 0-2022-06-23-22:09:39.png", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10
fstat64(10, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(10<EMAIL_ADDRESS>24576) = 24576
write(10, "\217\246\201\321\20\30\r\201\321\20\30\r\1:\204\300\350\20\304h2\33\r\201\321\20\30\r\201\1\n\201"..., 3290) = 3290
close(10)                               = 0
munmap(0x74662000, 10547200)            = 0
munmap(0x75071000, 5275648)             = 0


06/15/2018 01:21 : Create Pull Request for branch master -> prTesting1_2018061501

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
: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.


stubbing out the python for user avatars

[ ] make it actually work
closes #255

@migurski halp?

What do we get back for the avatar value? Is it a URL?
I’ve made some changes that assume a URL, but the HTML templates don't seem compatible with that. I’m going to bump this back over to you since I believe it’s a template fix. I’d also like to see https://github.com/mapzen/wiki/wiki/mapzen.com-OAuth#get-current_developer updated with a sample avatar response.

template updated, all we need is tests now


cfn stack name should have some entropy

https://github.com/rhythmictech/terraform-aws-imagebuilder-component-ansible/blob/55ab74b820f62d09536250e16f1579b2267c82f4/main.tf#L12-L12

@smiller171 wasn't this fixed in #7?

@cdaniluk yep!


Update and release

The readme is outdated, and i should add the Si1143 library once it is updated. It doesn't work, but it's more modular than the original source.
Then it's time to release it!

Still working on this, but it should be done soon. Just need to:

finish the T28 write up
finish the HP203B library
Update the Kx022 library so that it works :confused:, and so it can use my SortwareI2C library
Zip/Tar and upload!

Ive released it, but the Si1143 library still needs work. It does however use templating so it can use the hardware Wire library or the SoftwareI2C library (or any i2c library conforming to the Wire library function structure)
PENDING:
3. Update the Si1143 library so that it works :confused:


Fix atIndex() to work for swipes and scrolls

Closes #1461

Let's add e2e maybe?

Let's let it pass first. I have a feeling that the same problem exists in Android. @d4vidi can you pls look at the changes and check if Android has the same issue?

23:24:05 Jest: "global" coverage threshold for statements (100%) not met: 99.93%
23:24:05 Jest: "global" coverage threshold for branches (100%) not met: 99.79%
23:24:05 Jest: "global" coverage threshold for lines (100%) not met: 99.93%

What is this garbage? 🙄


[Event Request] Codeunit 90 Purch.-Post - procedure PostItemChargePerRetRcpt - OnAfterPostItemChargePerRetRcpt

Please add the following existing Event OnAfterPostItemChargePerRetRcpt to procedure PostItemChargePerRetRcpt in Codeunit 90 Purch.-Post
[Event Request] Codeunit 90 Purch.-Post - procedure PostItemChargePerRetRcpt
var
    ReturnRcptLine: Record "Return Receipt Line";
    TempItemLedgEntry: Record "Item Ledger Entry" temporary;
    Sign: Decimal;
    DistributeCharge: Boolean;
    IsHandled: Boolean;
begin
    if not ReturnRcptLine.Get(
         TempItemChargeAssgntPurch."Applies-to Doc. No.", TempItemChargeAssgntPurch."Applies-to Doc. Line No.")
    then
        Error(RelatedItemLedgEntriesNotFoundErr);
    ...
    if DistributeCharge then
        PostDistributeItemCharge(
          PurchHeader, PurchLine, TempItemLedgEntry, ReturnRcptLine."Quantity (Base)",
          TempItemChargeAssgntPurch."Qty. to Handle", TempItemChargeAssgntPurch."Amount to Assign", Sign, 0)
    else
        PostItemCharge(PurchHeader, PurchLine,
          ReturnRcptLine."Item Rcpt. Entry No.", ReturnRcptLine."Quantity (Base)",
          TempItemChargeAssgntPurch."Amount to Handle" * Sign,
          TempItemChargeAssgntPurch."Qty. to Handle", 0)

    OnAfterPostItemChargePerRetRcpt(PurchLine); // <-- NEW EVENT

end;

[IntegrationEvent(false, false)]
local procedure OnAfterPostItemChargePerRetRcpt(var PurchaseLine: Record "Purchase Line")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 51150.


Renaming wallet breaks coin binding

Coins are configured against wallets by name, so if the wallet name changes the binding will break.  We should be binding coins to the wallet id instead.

This is caused by a bug where we're linking wallets to coins by name and not by id.  Updating the binding field will fix the problem, but we may need to add an additional validator to config loading to automatically detect/fix this since existing configurations will break if we suddenly change the field.

Still not working.  Wallet is not being resolved properly when the miner starts.

Still not working.  Refresh code is broken on account of matching on the wrong field.


⚠ gorzdrav.org has degraded performance

In 8162168, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 2663 ms

Resolved: gorzdrav.org performance has improved in 1839696.


shipperctl validate chart command #46

This pull request is aiming to implement a new shipperctl command which will perform a quick probe of a helm chart and report potential issues.

Hey folks, this PR is now in an i-think-it's-ready-for-a-review state. Please give it a quick look and let me know your impressions @kanatohodets @parhamdoustdar @isutton

@ksurent I really appreciate your feedback. Very much helpful!

Closing this PR due to an uncertainty regarding it's applicability and usability.


Added data for indian startups and news

I have added data set for 💵Indian startup & funding news dataset💰 - please have a loot and merge my request
Resolves issue #208

Good one @ighoshsubho
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow these steps.

Star this repository. ⭐
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .
Go to the profile section from the top right-hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard!
And don’t forget to share your achievement with your friends.


Barnhark/working on base class docstrings

Pull Request Test Coverage Report for Build 119

0 of 0   changed or added relevant lines in 0 files are covered.
212 unchanged lines in 3 files lost coverage.
Overall coverage increased (+2.8%) to 35.233%

Files with Coverage Reduction
New Missed Lines
%

/home/travis/miniconda/envs/_testing/lib/python3.6/site-packages/terrainbento/boundary_condition_handlers/precip_changer.py
11
82.89%

/home/travis/miniconda/envs/_testing/lib/python3.6/site-packages/terrainbento/base_class/erosion_model.py
94
57.31%

/home/travis/miniconda/envs/_testing/lib/python3.6/site-packages/terrainbento/base_class/stochastic_erosion_model.py
107
20.9%

Totals

Change from base Build 103:
2.8%

Covered Lines:
847

Relevant Lines:
2404

💛  - Coveralls


_stext fails to move .text with lld

I have an older program/library that I am moving to lld so that I can work with ease on more than just Linux. The code in question is https://github.com/yodaldevoid/mkl26/tree/lld_port. Please note that the example/library currently require nightly and should be built for thumbv6m-none-eabi.
To start, the code compiles and runs correctly using gcc's linker.
When attempting to compile the blink example with lld using cargo build --example blink I get the following error:
error: linking with `rust-lld` failed: exit code: 1
  |
  = note: "rust-lld" "-flavor" "gnu" "-L" "C:\\Users\\ga29s\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\thumbv6m-none-eabi\\lib" "E:\\mkl26\\target\\thumbv6m-none-eabi\\debug\\examples\\blink-288c8e46abd20a15.blink.2hpe9hsl-cgu.0.rcgu.o" "-o" "E:\\mkl26\\target\\thumbv6m-none-eabi\\debug\\examples\\blink-288c8e46abd20a15" "--gc-sections" "-L" "E:\\mkl26\\target\\thumbv6m-none-eabi\\debug\\deps" "-L" "E:\\mkl26\\target\\debug\\deps" "-L" "E:\\mkl26\\target\\thumbv6m-none-eabi\\debug\\build\\mkl26-36049ce57ff99828\\out" "-L" "E:\\mkl26\\target\\thumbv6m-none-eabi\\debug\\build\\mkl26-36049ce57ff99828\\out" "-L" "E:\\mkl26\\target\\thumbv6m-none-eabi\\debug\\build\\cortex-m-rt-6e1f169148af1ece\\out" "-L" "C:\\Users\\ga29s\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\thumbv6m-none-eabi\\lib" "-Bstatic" "C:\\Users\\ga29s\\AppData\\Local\\Temp\\rustcVhEipN\\libcortex_m_rt-193fc16ad349c2cc.rlib" "C:\\Users\\ga29s\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\thumbv6m-none-eabi\\lib\\libcompiler_builtins-41a0f49e919d94c0.rlib" "-Tlink.x" "-Bdynamic"
  = note: rust-lld: error:
          ERROR(cortex-m-rt): The .text section can't be placed inside the .vector_table section
          Set _stext to an address greater than the end of .vector_table (See output of `nm`)

error: aborting due to previous error

error: Could not compile `mkl26`.

To learn more, run the command again with --verbose.

If I change line 20 in memory.x to _stext = 0x410; I then get the following error:
error: linking with `rust-lld` failed: exit code: 1
  |
  = note: "rust-lld" "-flavor" "gnu" "-L" "C:\\Users\\ga29s\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\thumbv6m-none-eabi\\lib" "E:\\mkl26\\target\\thumbv6m-none-eabi\\debug\\examples\\blink-288c8e46abd20a15.blink.2hpe9hsl-cgu.0.rcgu.o" "-o" "E:\\mkl26\\target\\thumbv6m-none-eabi\\debug\\examples\\blink-288c8e46abd20a15" "--gc-sections" "-L" "E:\\mkl26\\target\\thumbv6m-none-eabi\\debug\\deps" "-L" "E:\\mkl26\\target\\debug\\deps" "-L" "E:\\mkl26\\target\\thumbv6m-none-eabi\\debug\\build\\mkl26-36049ce57ff99828\\out" "-L" "E:\\mkl26\\target\\thumbv6m-none-eabi\\debug\\build\\mkl26-36049ce57ff99828\\out" "-L" "E:\\mkl26\\target\\thumbv6m-none-eabi\\debug\\build\\cortex-m-rt-6e1f169148af1ece\\out" "-L" "C:\\Users\\ga29s\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\thumbv6m-none-eabi\\lib" "-Bstatic" "C:\\Users\\ga29s\\AppData\\Local\\Temp\\rustcy1mc9U\\libcortex_m_rt-193fc16ad349c2cc.rlib" "C:\\Users\\ga29s\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\thumbv6m-none-eabi\\lib\\libcompiler_builtins-41a0f49e919d94c0.rlib" "-Tlink.x" "-Bdynamic"
  = note: rust-lld: error: section .flashconfig file range overlaps with .vector_table
          >>> .flashconfig range is [0x1000, 0x100F]
          >>> .vector_table range is [0x1000, 0x10BF]

          rust-lld: error: section .flashconfig virtual address range overlaps with .vector_table
          >>> .flashconfig range is [0x0, 0xF]
          >>> .vector_table range is [0x0, 0xBF]

          rust-lld: error: section .flashconfig load address range overlaps with .vector_table
          >>> .flashconfig range is [0x0, 0xF]
          >>> .vector_table range is [0x0, 0xBF]

error: aborting due to previous error

error: Could not compile `mkl26`.

To learn more, run the command again with --verbose.

It appears that .flashconfig is not being placed at 0x400 despite what the linker script says. Am I doing something wrong here or is this some sort of bug?

#164 seems to be related as all of this is in attempt to support the flash configuration section on an NXP device.

Your .flashconfig section definition is placed before all other sections, that's why you have some of these problems. Try setting loading address (not only virtual address) for this section.

It is my understanding that when a load address is not given the virtual address is used as the loading address. Still, to test your suggestion I changed the SECTIONS command to be:
SECTIONS
{
    .flashconfig 0x400 : AT (0x400)
    {
        KEEP(*(.flashconfig))
        _stext = .;
    } > FLASH
}

With this I still see the previous suite of errors. Please correct me if I went about implementing your suggestion wrong.

Yeah, seems OK. I'm not sure though if it's the correct way of implementing this in case of lld. In riscv-rt I had to add some dirty hacks to get section address working.

Because I had a copy of the rustc source code laying around (and really, who doesn't?) I decided to add debug prints to lld and see what's going on. After poking around, it seems that lld is evaluating the address of the section, moving the dot there, and then proceeds to move the dot to the current position within the memory region. Because the address was evaluated before actually setting the current region, the current position in the region was not moved by the evaluation. This all means that the address evaluation is effectively ignored in favor for the current position within the region.
This all seems like a bug in lld to me, and so I plan on submitting a bug report and patch to fix the issue. I am currently awaiting my account getting approved as they currently have self registration on the bug tracker disabled.
TL;DR: This seems to be caused by a bug in lld.

https://reviews.llvm.org/D60744

Thanks for fixing the issue!

A little update on this. While my patch got merged into LLVM master, I found an issue with it shortly after. While raw binaries are created correctly, ELF binaries have the possibility of the ELF headers getting written over by a section defined in a linker script. In short, this has not been fully resolved yet.


Fix division by zero when using an empty prompt

This PR is pretty small and straight to the point: calling Generate.prompt2image with a prompt containing just the empty string ('') would raise a ZeroDivisionError due to a division in split_weighted_subprompts (I think this only happens if skip_normalize is set to False). Wrapping the division in max(..., 1) fixes the issue, allowing empty prompts to work as expected.

There seem to be conflicts that need to be examined on the command line and github has disabled one-click merging. I will incorporate later today when I'm back on a laptop (using an iPad now).


Model Training

Hi,
I have one question about the training. Shall I use one image or serveral images to train for one people ?

Several images of the same person. The more variation you capture the better the results will be.


Add support for these ranges

Issue from @frankfolf on GlyphBrowser repo:
https://github.com/LettError/glyphBrowser/issues/27
U+2900-U+297F	Supplemental Arrows-B
U+2980-U+29FF	Miscellaneous Mathematical Symbols-B
U+2A00-U+2AFF	Supplemental Mathematical Operators
U+2B00-U+2BFF	Miscellaneous Symbols and Arrows

@frankrolf do you already have a preference for these names?


Bump to the latest BUILD-SNAPSHOTs

After introducing a BeanDefinition.getResolvableType() we have
several failed builds because of NoSuchMethodError.
Looks like interface and its implementation classes are loaded from
different versions.

Exclude org.springframework from spring-data-commons to avoid
CLASSPATH conflicts

Related to
https://build.spring.io/browse/SK-SON-1242/
https://github.com/spring-projects/spring-framework/issues/23178

If this is OK, I'll do the same for Spring AMQP. That one doesn't use SF B-S and that causes problems in SI master.
Time to think about global exclude for org.springframework group...


A100 80GB lora training out of memory

Training lora encounters insufficient video memory on a single A100 80GB graphics card. Any help would be much appreciated.
lora rank is 16 and batch size is 1.
11.206656 parameters
wandb: (1) Create a W&B account
wandb: (2) Use an existing W&B account
wandb: (3) Don't visualize my results
wandb: Enter your choice: 3
wandb: You chose "Don't visualize my results"
wandb: Tracking run with wandb version 0.16.6
wandb: W&B syncing is set to `offline` in this directory.
wandb: Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
08/08/2024 04:37:22 - INFO - __main__ - ***** Running training *****
08/08/2024 04:37:22 - INFO - __main__ -   Num Epochs = 300
08/08/2024 04:37:22 - INFO - __main__ -   Instantaneous batch size per device = 1
08/08/2024 04:37:22 - INFO - __main__ -   Total train batch size (w. parallel, distributed & accumulation) = 2
08/08/2024 04:37:22 - INFO - __main__ -   Gradient Accumulation steps = 2
08/08/2024 04:37:22 - INFO - __main__ -   Total optimization steps = 300
Checkpoint 'latest' does not exist. Starting a new training run.
Steps:   0%|                                                                                | 0/300 [00:00<?, ?it/s]Traceback (most recent call last):
  File "/root/autodl-tmp/x-flux/train_flux_lora_deepspeed.py", line 301, in <module>
    main()
  File "/root/autodl-tmp/x-flux/train_flux_lora_deepspeed.py", line 231, in main
    model_pred = dit(img=x_t.to(weight_dtype),
  File "/root/miniconda3/envs/3.10/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/root/miniconda3/envs/3.10/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1541, in _call_impl
    return forward_call(*args, **kwargs)
  File "/root/miniconda3/envs/3.10/lib/python3.10/site-packages/accelerate/utils/operations.py", line 822, in forward
    return model_forward(*args, **kwargs)
  File "/root/miniconda3/envs/3.10/lib/python3.10/site-packages/accelerate/utils/operations.py", line 810, in __call__
    return convert_to_fp32(self.model_forward(*args, **kwargs))
  File "/root/miniconda3/envs/3.10/lib/python3.10/site-packages/torch/amp/autocast_mode.py", line 16, in decorate_autocast
    return func(*args, **kwargs)
  File "/root/autodl-tmp/x-flux/src/flux/model.py", line 213, in forward
    img = block(img, vec=vec, pe=pe)
  File "/root/miniconda3/envs/3.10/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/root/miniconda3/envs/3.10/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1541, in _call_impl
    return forward_call(*args, **kwargs)
  File "/root/autodl-tmp/x-flux/src/flux/modules/layers.py", line 332, in forward
    qkv, mlp = torch.split(self.linear1(x_mod), [3 * self.hidden_size, self.mlp_hidden_dim], dim=-1)
  File "/root/miniconda3/envs/3.10/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/root/miniconda3/envs/3.10/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1541, in _call_impl
    return forward_call(*args, **kwargs)
  File "/root/miniconda3/envs/3.10/lib/python3.10/site-packages/torch/nn/modules/linear.py", line 116, in forward
    return F.linear(input, self.weight, self.bias)
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 64.00 MiB. GPU
wandb: You can sync this run to the cloud by running:
wandb: wandb sync /root/autodl-tmp/x-flux/wandb/offline-run-20240808_043714-dhyc07rv
wandb: Find logs at: ./wandb/offline-run-20240808_043714-dhyc07rv/logs
Traceback (most recent call last):
  File "/root/miniconda3/envs/3.10/bin/accelerate", line 8, in <module>
    sys.exit(main())
  File "/root/miniconda3/envs/3.10/lib/python3.10/site-packages/accelerate/commands/accelerate_cli.py", line 48, in main
    args.func(args)
  File "/root/miniconda3/envs/3.10/lib/python3.10/site-packages/accelerate/commands/launch.py", line 1097, in launch_command
    simple_launcher(args)
  File "/root/miniconda3/envs/3.10/lib/python3.10/site-packages/accelerate/commands/launch.py", line 703, in simple_launcher
    raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/root/miniconda3/envs/3.10/bin/python', 'train_flux_lora_deepspeed.py', '--config', 'train_configs/test_lora.yaml']' returned non-zero exit status 1.

same here.
a6000 cuda at rank 4 and 512. somethings whack here

I tried Lora training with flux-schnell and dev models using train batch size 1, gradient_accumulation_steps 4, and rank 2 on  40gb a100, but it still raised Cuda out of memory exception.

same here

You need to run accelerate config to configure DeepSpeed first using the settings in the README, or make a accelerate_config.yaml for a single GPU:
deepspeed_config:
  gradient_accumulation_steps: 2
  gradient_clipping: 1.0
  offload_optimizer_device: none
  offload_param_device: none
  zero3_init_flag: false
  zero_stage: 2
distributed_type: DEEPSPEED
downcast_bf16: 'no'
enable_cpu_affinity: false
machine_rank: 0
main_training_function: main
mixed_precision: bf16
num_machines: 1
num_processes: 1
rdzv_backend: static
same_network: true
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false```

Launch using:

`accelerate launch --config_file "accelerate_config.yaml" train_flux_lora_deepspeed.py --config "train_configs/test_lora.yaml"`

With default settings in example files this requires 42837MiB VRAM.

@thavocado How much RAM are you using? I"m getting a SIGKILL with ~50GB of RAM

Please use Deepspeed and set Accelerate accordingly.
I train a lora with rank 16, it just needs 40GB vram.

really shouldn't need deepspeed though. i think it's because the VAE and T5 / CLIP are all loaded during training.

@thavocado How much RAM are you using? I"m getting a SIGKILL with ~50GB of RAM

@arcanite24 40GB of RAM here

https://github.com/XLabs-AI/x-flux/issues/12#issuecomment-2276998054
This information was very helpful, thank you.
I deployed 3 x A40 48GB GPUs on Runpod for training and got the following results:

img_size: 1024: out of memory
img_size: 512: ✅

It seems that to train at 1024 resolution, we might need at least about 150GB of VRAM or more...(?)

Just 30 hours on ADA 6000. Using config from https://github.com/XLabs-AI/x-flux/issues/12#issuecomment-2276998054 is it fine or I need to adjust something. 42GB used

looks like the proper speed

#12 (comment) This information was very helpful, thank you.
I deployed 3 x A40 48GB GPUs on Runpod for training and got the following results:

img_size: 1024: out of memory
img_size: 512: ✅

It seems that to train at 1024 resolution, we might need at least about 150GB of VRAM or more...(?)

#12 (comment) This information was very helpful, thank you.
I deployed 3 x A40 48GB GPUs on Runpod for training and got the following results:

img_size: 1024: out of memory
img_size: 512: ✅

It seems that to train at 1024 resolution, we might need at least about 150GB of VRAM or more...(?)

I'm running on 8*A100 for 1024 img size and requires around 61GB for each GPU

You need to run accelerate config to configure DeepSpeed first using the settings in the README, or make a accelerate_config.yaml for a single GPU:
compute_environment: LOCAL_MACHINE
debug: false
deepspeed_config:
  gradient_accumulation_steps: 2
  gradient_clipping: 1.0
  offload_optimizer_device: none
  offload_param_device: none
  zero3_init_flag: false
  zero_stage: 2
distributed_type: DEEPSPEED
downcast_bf16: 'no'
enable_cpu_affinity: false
machine_rank: 0
main_training_function: main
mixed_precision: bf16
num_machines: 1
num_processes: 1
rdzv_backend: static
same_network: true
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false

Launch using:
accelerate launch --config_file "accelerate_config.yaml" train_flux_lora_deepspeed.py --config "train_configs/test_lora.yaml"
With default settings in the example files this requires 42,837 MiB VRAM.

I'm running on 1*A100 for 1024 img size and requires around 63GB（65147MiB） for A100-GPU， while i have processed the data and only load vae and dit model

You need to run accelerate config to configure DeepSpeed first using the settings in the README, or make a accelerate_config.yaml for a single GPU:
compute_environment: LOCAL_MACHINE
debug: false
deepspeed_config:
  gradient_accumulation_steps: 2
  gradient_clipping: 1.0
  offload_optimizer_device: none
  offload_param_device: none
  zero3_init_flag: false
  zero_stage: 2
distributed_type: DEEPSPEED
downcast_bf16: 'no'
enable_cpu_affinity: false
machine_rank: 0
main_training_function: main
mixed_precision: bf16
num_machines: 1
num_processes: 1
rdzv_backend: static
same_network: true
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false

Launch using:
accelerate launch --config_file "accelerate_config.yaml" train_flux_lora_deepspeed.py --config "train_configs/test_lora.yaml"
With default settings in the example files this requires 42,837 MiB VRAM.

when use this config, raise another error!
File "/mnt/bn/liwen/mlx/users/liwen.8459/playground/x-flux/train_flux_iclora_deepspeed.py", line 180, in main
[rank0]:     dit, optimizer, _, lr_scheduler = accelerator.prepare(
[rank0]:                                       ^^^^^^^^^^^^^^^^^^^^
[rank0]:   File "/usr/local/lib/python3.11/dist-packages/accelerate/accelerator.py", line 1284, in prepare
[rank0]:     result = self._prepare_deepspeed(*args)
[rank0]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[rank0]:   File "/usr/local/lib/python3.11/dist-packages/accelerate/accelerator.py", line 1751, in _prepare_deepspeed
[rank0]:     engine, optimizer, _, lr_scheduler = deepspeed.initialize(**kwargs)
[rank0]:                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[rank0]:   File "/usr/local/lib/python3.11/dist-packages/deepspeed/init.py", line 181, in initialize
[rank0]:     engine = DeepSpeedEngine(args=args,
[rank0]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[rank0]:   File "/usr/local/lib/python3.11/dist-packages/deepspeed/runtime/engine.py", line 306, in init
[rank0]:     self._configure_optimizer(optimizer, model_parameters)
[rank0]:   File "/usr/local/lib/python3.11/dist-packages/deepspeed/runtime/engine.py", line 1249, in _configure_optimizer
[rank0]:     self.optimizer = self._configure_zero_optimizer(basic_optimizer)
[rank0]:                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[rank0]:   File "/usr/local/lib/python3.11/dist-packages/deepspeed/runtime/engine.py", line 1507, in _configure_zero_optimizer
[rank0]:     optimizer = DeepSpeedZeroOptimizer(
[rank0]:                 ^^^^^^^^^^^^^^^^^^^^^^^
[rank0]:   File "/usr/local/lib/python3.11/dist-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 325, in init
[rank0]:     param.cpu_data = param.data.cpu()
[rank0]:                      ^^^^^^^^^^^^^^^^
[rank0]: NotImplementedError: Cannot copy out of meta tensor; no data!


Create a script to release the TFJob operator image

Add a script to submit the Argo workflow.

Related to

kubeflow/kubeflow#215

This change is

/uncc @lluunn
/uncc @zjj2wry
/assign @willb
/assign @gaocegege

Coverage remained the same at 45.236% when pulling fdcab371a7959d5cb1887b3e003dab1e9a8a3d48 on jlewi:release_docs into be41326985e15663aa04f92ddd2b34e5e34ef178 on kubeflow:master.

@willb  Its definitely doable but I think that falls into the bucket of how to further improve the tooling around releases.

@jlewi agreed that this shouldn’t block on having the script run in CI; I’ll file an issue for a future release.
The script changes look good; thanks!
/lgtm
/approve

/retest

/approve
/lgtm


[backport] Add documentation of ndarray

Backport of #5660

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit eb0562aa306704072413f14a0fdf442f2a25e45f, target branch v5) succeeded!


Example pipeline err - XGBoost - Iterative model training

We use the PNS executor, and are thus hitting this issue: https://github.com/argoproj/argo-workflows/issues/1256
That is currently the best executor for us to use, so the best way to fix this is to just remove the failing sample pipelines for now, see #11


Binds stop working.

Lexogrine HUD (1.2.0)
Can't make radar smaller or bigger.
Trivial and toggle radar are working

@GoRnoStayStandin Fixed in the newest (1.2.1) build


[Bug Report]

Describe the bug
"No thanks" button padding on invite modal is a bit weird.
To Reproduce

Open an invite link from a server you didn't join yet.
Let it redirect to Discord.
See the weird "No thanks" button in the invite modal.

Expected behaviour
Button should be same padding like the "Join" button.
Screenshots

Operating System:
Which operating system do you use?

[ ] Linux
[x] Windows
[ ] macOS

Additional context

Outdated Bug from CreArts v2.


Increase Track Height [WIP]

Issac from Google brought up a use case where the user may want to give a Perfetto track more vertical space for investigating values at a more precise level.  This PR is starting as a prototype where you can increase the height of a counter track by clicking the Change Scale button for the track.
How this could be built upon:
Currently the height of a track is decided by the track itself. All tracks would need to be able to draw their data at any height of pixels.  This would require changes to all 20+ track types.

As far as I can tell CPU Frequency and Counter Tracks are the only things marking a values change over time in a line graph kinda way, as far as I can tell. The remainders seem to mainly be showing ranges or singular sets of time. (Slice Tracks and Buffer Tracks).  These tracks will not get as much value from resizing vertically, but should still be supported when the PR is finished.

Update: Counter Tracks, Chrome/Async Slice Tracks, CPU Slice Tracks, and CPU Frequency tracks all support vertical resizing.  This feature is a opt in from the track, so if a plugin adds tracks to the timeline they won't have an "Enhance" button unless the boolean is set.  This is currently also the case for Thread State Tracks, Process Summary Tracks, and various other tracks that I don't have examples of in my current test files.

There was an idea to make the tracks resizable in way similar to excel.  In excel it seems to resize by first selecting a row/track then dragging the borders to where you want them.  If this is the case we may want to make the selection of a track as a prerequisite  as we could use this to know which track we are resizing.

https://github.com/eclipsesource/perfetto/assets/121060410/09de7045-ab63-40fd-a11c-fa699ecd69c2


Better Support for Github Organizations

Not really sure how to implement this however.

Most new event types are already supported. See #102 for sync integration.


Doesn't work!

i did all instructions but it doesn't work.
info - socket.io started
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
warn - error raised: Error: listen EADDRINUSE
and crush CSS.

The error message implies that the port the you're trying to run is already being used by something else. Try to change the port number and see if that helps


Sony DS4 controler detected as peripheral #1 instead of #0 on Linux Mint (with only one controler connected)

Godot version:
Steam Godot v3.2.2.stable.official
OS/device including version:
Linux Mint 20 - Sony DS4 Controller (with official Usb/BT dongle)
Issue description:
In my Game I have two player "Player one" linked with actions on peripheral #0 and "Player two" on peripheral #1. On Linux mint with only my DS4 connected it's the Player2 who respond to commands. (have verified with jstest-gtk there is only one controller...
Steps to reproduce:
Minimal reproduction project:

I've tested with https://github.com/godotengine/godot-demo-projects/tree/master/misc/joypads and the DS4 is detected two times one time in device 0 (but the values move strangely when I move the controller like if it take the sisaxis sensor) and in device 1 it got the right controller. with good values.

Duplicate of #50273 (newer but with more details).


Vertically oriented Stepper content is misplaced

When orientation=vertical for the Stepper component, the content of the StepperStep components is at the bottom when one would expect it to be instead on the side.
E.g.,
import dash
from dash import _dash_renderer
import dash_mantine_components as dmc

_dash_renderer._set_react_version("18.2.0")
app = dash.Dash(__name__)

import dash_mantine_components as dmc
from dash import callback, Output, Input, State, ctx
from dash_iconify import DashIconify

min_step = 0
max_step = 3
active = 1

def get_icon(icon):
    return DashIconify(icon=icon, height=20)

app.layout = dmc.MantineProvider(
    dmc.Container(
        [
            dmc.Stepper(
                id="stepper-custom-icons",
                my="xl",
                active=active,
                orientation="vertical",
                children=[
                    dmc.StepperStep(
                        label="First step",
                        description="Create an account",
                        icon=get_icon(icon="material-symbols:account-circle"),
                        progressIcon=get_icon(icon="material-symbols:account-circle"),
                        completedIcon=get_icon(icon="mdi:account-check"),
                        children=[
                            dmc.Text("Step 1 content: Create an account", ta="center")
                        ],
                    ),
                    dmc.StepperStep(
                        label="Second step",
                        description="Verify email",
                        icon=get_icon(icon="ic:outline-email"),
                        progressIcon=get_icon(icon="ic:outline-email"),
                        completedIcon=get_icon(
                            icon="material-symbols:mark-email-read-rounded"
                        ),
                        children=[
                            dmc.Text("Step 2 content: Verify email", ta="center")
                        ],
                    ),
                    dmc.StepperStep(
                        label="Final step",
                        description="Get full access",
                        icon=get_icon(icon="material-symbols:lock-outline"),
                        progressIcon=get_icon(icon="material-symbols:lock-outline"),
                        completedIcon=get_icon(
                            icon="material-symbols:lock-open-outline"
                        ),
                        children=[
                            dmc.Text("Step 3 content: Get full access", ta="center")
                        ],
                    ),
                    dmc.StepperCompleted(
                        children=[
                            dmc.Text(
                                "Completed, click back button to get to previous step",
                                ta="center",
                            )
                        ]
                    ),
                ],
            ),
            dmc.Group(
                justify="center",
                mt="xl",
                children=[
                    dmc.Button("Back", id="back-custom-icons", variant="default"),
                    dmc.Button("Next step", id="next-custom-icons"),
                ],
            ),
        ]
    )
)

@callback(
    Output("stepper-custom-icons", "active"),
    Input("back-custom-icons", "n_clicks"),
    Input("next-custom-icons", "n_clicks"),
    State("stepper-custom-icons", "active"),
    prevent_initial_call=True,
)
def update_with_icons(back, next_, current):
    button_id = ctx.triggered_id
    step = current if current is not None else active
    if button_id == "back-custom-icons":
        step = step - 1 if step > min_step else step
    else:
        step = step + 1 if step < max_step else step
    return step

if __name__ == "__main__":
    app.run_server(debug=True)

That's what we get currently but I would expect the content to be placed as follows:

Hi @michaelrussell4
I'm not sure it's possible to do that.  Someone might have some CSS workarounds if you ask on the Plotly forum or the Discord channel.
Personally, I would just make everything align left by removing the ta="center" and justify="center"
so it looks like

Perhaps this is a feature, not a bug? I just assumed setting the orientation to vertical would format them side by side like how the vertical orientation works with dmc.Tabs. if this is the intended format, though, we can close this.

This is consistent with how it works in the upstream Mantine library.  There is a discussion over there about having more options for placement of the stepper content, but this feature has not yet been added.  You can follow the progress at:
https://github.com/orgs/mantinedev/discussions/1060

A workaround could be to use the active prop in a callback and place stepper Children content wherever you want it.

Here is one more workaround with CSS. I hope this example is helpful :slightly_smiling_face:
I'm going to close this issue now since the dmc.Stepper consistent with the upstream Mantine library and there are lots of ways to format the content without making changes to dmc.
            dmc.Stepper(
                styles={
                    "root": {
                        "display": "flex",
                        "gap": 40,
                    },
                    "content": {"border": "solid 1px", "padding": 10, "width": 200},
                },
               # ....
            )


How can i move the talking head frame?

Description
Hi i wanted to know how to move it, it's getting in the way when i try to select a target to attack as a hunter specially when in a group, when trying to avoid aggro monsters
Version Number
1.2.63

Steps to Reproduce

Do world quest, invacions or anything that uses the talking head frame
with a hunter or ranged class

Only DiabolicUI Enabled
With diabolic ui only happened the same

It's not movable in-game, but you can open the file DiabolicUI/settings/blizzard.lua and change its position in line 114. It's the part that looks like this:
	talkinghead = {
		position = { "TOP", "UICenter", "TOP", 0, -330 },

If you want it farther down the screen, you increase the last value, if you want it higher up, you lower it.
Having that said, you pointed out something here I hadn't thought of. Namely that it's in the way if we happen to be in combat. I think you can click it away by clicking or right clicking on it when combat has started (can't remember which, it's a blizzard thing, not mine), but still. An extra step like that can mean life or death!
So I'll see if I can make another system that can have it spawn somewhere else when in combat. :)


Application for Proofreader for React Localization in Tagalog

Hi sir,
Good day, I am asking for your permission to allow me to be a proofreader of the translation in Tagalog.
I'll be waiting fot your response ,
Thank you and More Power.

Thanks for volunteering to help with translation! There is an active Crowdin translation project that you can join in here: https://crowdin.com/project/react/tl#
🇵🇭 😄

Hi sir, I will help with the translatuon sir but please approved me as a proofreader for the tagalog translation sir.
Thank you and More Power.

The Crowdin translation project is separate from the reactjs.org repo, so please refer to the guidelines over there.


Update test_bfs.py

Here I added some additional test cases which cover more scenarios and are actually useful, such as testing empty maze or island.
It is crucial to note that high coverage rate is not necessarily an indicator of good tests, we should aim to design test cases that check for edge cases and potential errors.

Nice Work extending our unit tests . Could you please update the doc file with the necessary documentation for extending the unit tests as long with the job results before and after your work . thank you


Removed a problematic self include to fix JBMETA-407

Just removed an include for the schema file itself.

Won't fix, please use 7.1


Identify in perfRes where an instrument occurs in the score

Related to the need to describe recorded sources as an instrument in the perfRes descriptions (See #475), it would be valuable to have guidance on how to identify in the score where a particular instrument occurs.
The use case for this is where a number of recorded “snippets” are treated as an instrument in the score. We should be able to identify where a particular speech or excerpt of a recording occurs within the score by aligning the perfRes element with time stamps or startid/endid.

Using <surface> as a model, @startid can be added to <perfRes> to capture the initial use of the resource.  I'm reluctant to go much beyond this simple mechanism, as anything more would begin to get us into the realm of annotation and analysis, for which there are already existing elements and attributes.

Would the startid need to be limited to a specific element? You would probably want to annotate every staff across measures.
It also assumes an existing id. In the related issue we have the case of an audio "instrument", which may have a musical tstamp, but not necessarily an element we can use as a startid.
On Nov 9, 2017, at 4:09 PM, pe-ro <notifications<EMAIL_ADDRESS>wrote:
Using  as a model, @startid can be added to  to capture the initial use of the resource. I'm reluctant to go much beyond this simple mechanism, as anything more would begin to get us into the realm of annotation and analysis, for which there are already existing elements and attributes.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/music-encoding/music-encoding/issues/476#issuecomment-343183338, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAJ9b3UQKKTaF9UBAyfq0lRhmWpssX07ks5s0xWMgaJpZM4QXrJy.

Would the startid need to be limited to a specific element? You would probably want to annotate every staff across measures.

Without a specific example, it's hard for me to parse your statement.
Are you suggesting that <perfRes> should point to every measure, staff, note, etc. where it is used?
It need not point to any particular kind of element, but I was thinking that perfRes/@startid would identify only the first occurrence of the use of the resource.  Exactly which element is pointed at depends on the detail provided by the encoding.  If the encoding is only marked up down to the measure level, then a measure could be the target.  If the encoding contains note-level markup, then the first note could be pointed to.  Neither of these is likely to be useful for works with tape, so it's more likely that the target would be an instruction; e.g., a <dir>, associated with the tape material.

Closing because of the lack of input.


ARM template type not accepted even though valid.

This issue appears to have come back (or some variation of it) https://github.com/Microsoft/vscode/issues/881

VSCode Version:1.10.2 with arm tools 0.3.4
OS Version: Windows 10

Never mind, but this could provide a more helpful error:
https://github.com/Azure/azure-resource-manager-schemas/pull/161


Fee: Minor cleanup + renamed 'adjusted fee' to 'rate'

Was going through the code for several reason and noticed the use of 'adjusted fee', which I found confusing.
Decided to renamed it to what it actually is, a fee rate.

Updated


Disable lowercasing?

Is it possible to disable lowercasing of titles somehow?

I didn't check, but I suppose
\renewrobustcmd{\MakeTitleCase}[1]{#1}

or
\DeclareFieldFormat{titlecase}{#1}

could both do the trick.

Just so this has a more decisive answer. My preferred version would be
\DeclareFieldFormat{titlecase}{#1}

That field is used by the standard styles as well and so this approach is portable.


Update and rename CompileHowto.txt to CompileHowto.md

Just a documentation update to make it prettier and more readable :)

Thx. One thing is missing. If you do not write the platform param, platform is autodetected. This should fit in most cases

I mostly reworded and did styling changes but that's might be a good addition as well. Right now I'm still testing on OS X but it actually won't compile for me right now due to spidev.h missing.
The error is understandable but I'll have to see what I can do to fix this :)

Uh, osx! We need your help to get our travis osx build to work, just report or update the travis_install.sh with your brew install commands :D

Write an issue and post compile error. I think we can solve the prob ... yeah and help with trabis would be greay

Well, this is as far as I can get :)
I have made a few changes to the build script and fixed a small linux specific bit of code.
Additionally, I've added some auto generated files to the ignore list although I'm not a 100% certain if I'm including too much now.
The results from the current run: https://travis-ci.org/WoLpH/hyperion.ng/jobs/150217294
The spidev.h is obviously not available on OS X so we need some way to work around that issue.

You can delete the spi include in ledudpdevice. This was a copy of ledspidevice and have some left overs. This device needs some cleanup. Perhaps @penfold42 can do that?

Oops!
Yep, I'll do it

Fix is merged. Plesse test agsin


Have a REVAULTD_PATH env var

To set the path to the revaultd binary, it's not practical to have to install it globally every time...

you dont have to install it globally.
The gui will check first if revaultd is running with the given config by pinging with getinfo on the specified socket
so you can still run in your revaultd directory:
cargo run --bin revaultd -- --conf $CONFIG_PATH
and in revault-gui directory:
REVAULTD_CONF=$CONFIG_PATH cargo run

Yeah i know but i wanted to test the "GUI is starting revaultd" code path

Ok my bad, what do you think of REVAULTD_BIN ?

Sounds good :)

Working on this