Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

648 results about "Floating point" patented technology

In computing, floating-point arithmetic (FP) is arithmetic using formulaic representation of real numbers as an approximation to support a trade-off between range and precision. For this reason, floating-point computation is often found in systems which include very small and very large real numbers, which require fast processing times. A number is, in general, represented approximately to a fixed number of significant digits (the significand) and scaled using an exponent in some fixed base; the base for the scaling is normally two, ten, or sixteen. A number that can be represented exactly is of the following form...

Picture occlusion relation processing method and device and storage medium

The invention discloses a picture occlusion relation processing method and device and a storage medium, and relates to the technical field of rendering, and the method comprises the steps: determining a vertical distance between a target element in a to-be-rendered frame and a preset base point; performing normalization processing on the vertical distance to generate a floating point value corresponding to each target element; encoding the floating point value to generate at least one integer channel value corresponding to the element; storing the integer channel value corresponding to the target element to vertex color information of the grid data corresponding to the target element to generate a rendering grid; and rendering the target element based on the rendering grid. According to the method, the normalized and coded depth value is borne through the vertex color information, so that the technical problem that the rendering performance is low due to the fact that the node tree needs to be traversed in each frame and massive elements need to be sorted in the prior art is solved, seamless fusion of the depth data of the rendered elements and the vertex colors is realized, and the rendering efficiency of the elements is improved.
Owner:SHENZHEN ZIXIAO INTERACTIVE TECH CO LTD

BLAS3 structured operator accelerated computing system based on Hopper architecture GPU

The invention provides a BLAS3 structured operator accelerated computing system based on a Hopper architecture GPU, and relates to the technical field of computers. The system comprises: a calculation unit discrimination module for determining a calculation unit used by a current operator during operation, and estimating the maximum row dimension upper bound of the current operator in a tensor core execution path; an instruction sensing block parameter determination module dynamically determines the optimal block size and number of the input matrix in real time; the block matrix loading and aligning module divides an input matrix and a matrix to be updated into sub-matrixes by taking the block size as a basic block and completes loading of the corresponding sub-matrixes; the operator kernel function execution module completes shared memory structured parallel loading and storage of a double-precision floating-point number array of a sub-matrix corresponding to the input matrix, and calls a tensor core to carry out multiply-add accumulation calculation; and the assembly line and concurrent scheduling module adds the block calculation tasks into corresponding task sets and performs multi-stream concurrent scheduling on the task sets.
Owner:NORTHEASTERN UNIV CHINA

Low-bit-width high-energy-efficiency floating point storage and calculation integrated circuit based on partial pre-alignment architecture

The invention belongs to the technical field of storage and calculation integration, and particularly relates to a low-bit-width and high-energy-efficiency floating point storage and calculation integrated circuit based on a partial pre-alignment framework. The circuit comprises a memory array, a pre-calculation unit, an adder tree, a configurable arithmetic unit and a normalization unit, and supports mixed precision operation of FP8MACFP4 and FP8MACFP8. The method is characterized in that a partial pre-alignment strategy dominated by an activation value is adopted, the maximum index of the activation value is dynamically counted, the mantissa of the maximum index is aligned, and multiple partial pre-alignment intermediate results are pre-calculated and latched for reuse; in combination with a customized lookup table and a multiplexer, a pre-calculation result is directly selected to replace real-time multiplication and displacement; and through the reconfigurable hardware, the FP8MACFP8 high-precision operation is realized by utilizing the FP8MACFP4 unit combination. According to the method, complete online floating point multiplication and addition operation is realized, and excellent energy efficiency ratio and operation speed are obtained while high precision is kept.
Owner:FUDAN UNIVERSITY

Floating point multiply-accumulate unit facilitating variable data precision

A fused dot-product multiply-accumulate (MAC) circuit may support variable precision of floating-point data elements to perform computations in deep learning operations (e.g., MAC operations). The operating mode of the circuit may be selected based on the accuracy of the input element. The mode of operation may be an FP16 mode or an FP8 mode. In the FP8 mode, a product index may be calculated based on an index of a floating point input element. A maximum index may be selected from the one or more product indexes. A global maximum index may be selected from a plurality of maximum indexes. A product mantissa may be calculated based on a difference between the global maximum exponent and a corresponding maximum exponent and aligned with another product mantissa. The adder tree may accumulate the aligned product mantissas and compute the partial and mantissas. The portions and mantissas may be normalized using a global maximum index.
Owner:INTEL CORP

Self-adaptive repairing method for high-density NAND storage medium

The invention discloses a high-density NAND storage medium self-adaptive repairing method which comprises the following steps: a main control chip separates a target feature vector representing the real aging trend of a storage unit from original read data containing random physical noise; the main control chip deduces the target feature vector by using a full-integer recursive prediction model to obtain a health state prediction result of the storage unit in a future preset time period; wherein the health state prediction result comprises an optimal read reference voltage offset and an estimated bit error rate growth curve; and the main control chip adjusts the charge distribution pattern and programming voltage parameters of the data on the storage unit in the data writing stage according to the health state prediction result. By means of the mode, the problems of firmware assembly line blocking and performance jitter caused by floating point operation and huge model parameter loading can be solved under the limited hardware environment that the main control chip only supports integer operation and on-chip cache is extremely small.
Owner:深圳华芯星半导体有限公司

Method for applying linear programming to CDN (Content Delivery Network) scheduling

The invention discloses a method for applying linear programming to CDN (Content Delivery Network) scheduling, which relates to the technical field of content delivery networks and comprises the steps of data preparation, strategy layer version smooth configuration, macroscopic layer and microscopic layer linear solution and online execution. Basic data are collected, cleaned and repaired, and a version change rule is set; the macroscopic layer constructs a linear programming model, and the cross-provincial bearing quota is solved with the aim of minimizing the cross-provincial cost; the micro layer takes the quota as a boundary and generates domain name class-node weight vectors in parallel; and adapting a routing request online through weighted rendezvous hashing and request features. According to the method, a dynamic cost matrix and a weight granularity control technology are integrated, the engineering problem of linear programming is solved, second-level response, approximate global optimal scheduling and accurate execution of floating-point-level weight are realized, memory overhead is reduced, smooth updating of a strategy and system stability are guaranteed, and CDN service quality and operation efficiency are improved.
Owner:YUNZHOU TIMES TECHNOLOGY CO LTD

Weight quantization method and device based on hybrid segment coding and server

The invention provides a weight quantification method and device based on mixed segment coding and a server, and relates to the technical field of artificial intelligence, and the method comprises the steps: obtaining a to-be-processed floating point weight and an activation value; based on the Laplacian distribution of the floating point weights, carrying out hybrid segmented coding processing on the floating point weights to obtain a coding weight set in a quantization weight coding format; and determining a multiplication coefficient and a shift value of the coding weight based on the identification bit, and carrying out multiplication and addition calculation processing on the activation value and the weight information in the data bit based on the multiplication coefficient and the shift value to obtain an output activation value corresponding to the coding weight. According to the method, the quantization precision of the neural network can be remarkably improved, and the quantization error is reduced while the compression ratio is not changed.
Owner:ZHEJIANG XINMAI SILICON CO LTD

Model quantification implementation method, model and computer equipment

The invention provides a model quantization implementation method, a model and computer equipment, and the method comprises the steps: obtaining a target floating point model and a training data set, and determining the quantization configuration corresponding to each neural network layer contained in the target floating point model; the quantization configuration corresponding to different neural network layers is related to the change degree of the performance of the corresponding neural network layer compared with the target floating point model after the corresponding neural network layer is quantized, and according to the quantization configuration corresponding to each neural network layer, performing pseudo quantization on parameters of the corresponding neural network layer in the target floating point model to obtain a first pseudo quantization model; and based on the target floating point model and the training data set, performing quantitative perception training on the first pseudo-quantitative model to obtain a target quantitative model, and deploying the target quantitative model to a terminal device to execute a calculation task.
Owner:SMARTER SILICON (SHANGHAI) TECH CO LTD

Deep learning reasoning service performance analysis method based on kernel function trajectory

The invention provides a kernel function trajectory-based deep learning inference service performance analysis method, which comprises the following steps of: based on service indexes and hardware theoretical computing power acquired from a production cluster, defining floating point operation times per request (FPR) index to quantify service resource efficiency, and identifying high FPR hotspot services; positioning a reasoning iteration candidate boundary based on a GPU kernel function trajectory, verifying iteration integrity through fingerprint matching and chi-square test, and calculating a second reasoning iteration number IIPS and a model reasoning efficiency MIE; aiming at calculation-intensive operators on the key path, combining a dynamic Roofline model to estimate an operator theoretical performance upper limit, and based on actual execution time, calculating efficiency and a BottleScore index to identify a key bottleneck operator; and outputting targeted optimization suggestions according to analysis results of service efficiency analysis, model efficiency analysis and operator efficiency analysis. According to the method, the inference behavior pattern can be automatically identified from massive kernel trajectories, and the efficiency loss of each level is quantified.
Owner:UNIV OF SHANGHAI FOR SCI & TECH +1

KV cache data quantification device and method

The invention provides KV cache data quantization equipment, which comprises a precision decision interface, a compressor and a storage interface, and is characterized in that the precision decision interface is used for determining a quantization precision mark of each token in combination with token quantization difficulty, and generating a mixed quantization precision instruction according to the quantization precision marks corresponding to all the tokens; the compressor is used for acquiring a floating point Key value and / or a floating point Value value corresponding to each token, quantizing the floating point Key value and / or the floating point Value value based on a mixed quantization precision instruction issued by the precision decision interface, and generating metadata with a scaling factor and a zero point of each token and corresponding quantization data; and the storage interface is used for combining the quantized data corresponding to the quantized precision marks with the low-precision bit width in pairs, associating the quantized data with the metadata through an address mapping table, and separately storing the quantized data and the metadata. According to the invention, the storage space occupied by the KV cache can be reduced, and the reasoning speed of the model is improved.
Owner:HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD

SRT operational circuit

The SRT operational circuit comprises an input module, a floating point conversion module, a calculation module and an output module, the input module is configured to output an initial operand, a first end of the floating point conversion module is connected with the input module, a first end of the calculation module is connected with the floating point conversion module and the input module, and a second end of the calculation module is connected with the output module. The output module is connected with the second end of the calculation module; when the initial operand is an integer, the floating point conversion module is configured to perform floating point conversion on the initial operand to output a first operand; if the calculation module is configured to perform division operation or root extraction operation by adopting the first operand based on the SRT algorithm, the output module is configured to perform mantissa rounding on a division result or a root extraction result after the calculation of the calculation module is completed and output a floating point result, so that the operation accuracy of an integer in the circuit is improved, and the universality of the circuit is improved.
Owner:GUANGDONG LEAPFIVE TECH CO LTD

Floating point arithmetic device and method of operating the same

A floating point arithmetic device with two floating point operands and its operation method are disclosed. The floating point arithmetic device includes an exponent subtraction circuit, an exponent calculation circuit, a mantissa calculation circuit, and a conversion circuit. The exponent subtraction circuit calculates the difference between the exponents of the two operands and generates a sign bit and an exponent difference. The exponent calculation circuit generates the post-operation exponent bits according to the larger one of the exponents of the two operands. The mantissa calculation circuit aligns the mantissa bits of the two operands and performs one of addition and subtraction on the aligned mantissa bits. To improve the calculation efficiency and reduce the power consumption, the floating point arithmetic device can complete the floating point addition or subtraction operation in one step (one clock cycle) without moving the intermediate floating point data between the registers and the functional circuit units as in the multi-step operation.
Owner:XINLIJIA INTEGRATED CIRCUIT (SHANGHAI) CO LTD

High-energy-efficiency mixed-precision charge domain in-memory computing architecture and working method thereof

The invention belongs to the field of storage, and discloses a high-energy-efficiency mixed-precision charge domain in-storage computing architecture and a working method thereof. Comprising a single-slope analog-to-digital converter, a sparsity perception input alignment module, a multi-bit input accumulation module, a controller and an accumulation module, wherein the single-slope analog-to-digital converter consists of an index calculation array, a mantissa calculation array, a shared ramp voltage generator and a bidirectional counter. According to the invention, serial input binary coding based on capacitor voltage is suitable for floating point and integer multiply-accumulate operation with flexible bit width; according to the invention, a shared single-slope analog-to-digital converter (SS-ADC) is introduced to realize maximum index search and index difference calculation; according to the method, a sparsity perception calculation scheme is provided, low-importance input-weight pairs are filtered out through an adjustable threshold value, and invalid power consumption is reduced; according to the method, a multi-bit input accumulation method is further combined, and an ADC redundancy optimization quantization and normalization process is utilized, so that the overall energy efficiency is improved.
Owner:ZHEJIANG UNIV

Floating-Point Data Precision Conversion Method and Apparatus

A floating-point data precision conversion method includes determining a bit width of a second mantissa field based on a coded value of a first exponent field. The floating-point data precision method further includes determining a reserved coded value and a discarded coded value in a first mantissa field. The floating-point data precision method further includes, if the coded value of the first exponent field is greater than or equal to a first preset threshold, performing a rounding operation on the reserved coded value based on a coded value that starts from a most significant bit and whose bit width is a preset bit width in the discarded coded value, to obtain a coded value of the second mantissa field.
Owner:HUAWEI TECH CO LTD

Floating-point number quantization method and device, floating-point number inverse quantization method and device, equipment and storage medium

The invention provides a floating-point number quantization method and device, a floating-point number inverse quantization method and device, equipment and a storage medium, and belongs to the technical field of artificial intelligence. The method comprises: based on a compression rule, determining quantization information corresponding to an index of each floating-point number in floating-point numbers to be quantized, the quantization information corresponding to the index of each floating-point number comprising a first quantization value and / or a second quantization value, the compression rule comprises a rule that an index which indicates that quantization information with a low compression degree belongs to is greater than an index which indicates that quantization information with a high compression degree belongs to, and for each floating-point number in the floating-point numbers to be quantized, based on a first quantization value corresponding to the floating-point number, performing quantization processing on a mantissa of the floating-point number, and / or performing quantization processing on the mantissa of the floating-point number based on a second quantization value corresponding to the floating-point number. And quantizing the index of the floating-point number based on the second quantized value corresponding to the floating-point number. By adopting the method and the device, the required average error can be met during quantization.
Owner:HUAWEI TECH CO LTD

Ambiguity fixing method, device and equipment

The invention discloses an ambiguity fixing method, device and equipment, and the method comprises the steps: obtaining an ambiguity floating point solution vector and a covariance matrix with a corresponding ambiguity mode under a current epoch based on Kalman filtering, and the ambiguity floating point solution vector comprises a plurality of original ambiguity; according to the covariance matrix, determining an arrangement sequence of the plurality of original ambiguity; according to the ambiguity mode and the arrangement sequence, multiple target ambiguity are selected from the multiple original ambiguity for two-stage fixation, and if two-stage fixation succeeds, fixed values of the target ambiguity after fixation are output; if the two-stage fixation fails, outputting an unfixed floating point value of the original ambiguity, and recording that the current epoch fixation fails; and repeating the above steps for the next epoch, and when the number of continuous fixed failed epochs is equal to a preset number, initializing parameters of Kalman filtering, and then repeating the above steps for the next epoch. According to the method, the calculation complexity and the processing delay can be reduced, and the adaptive capacity in a multi-frequency environment is enhanced.
Owner:GUANGZHOU HAIGE JINGWEI INFORMATION IND CO LTD

Arcing detection model training method and system based on quantitative perceptual training

The invention relates to the technical field of embedded artificial intelligence, and discloses an arc discharge detection model training method and system based on quantitative perception training, and the method comprises the steps: constructing an initial floating point precision neural network model for DC arc discharge fault detection, and defining a plurality of quantization functions for the model to convert floating point parameters; a FakeQuant pseudo quantization strategy is self-defined, a linear calculation layer in an original model is replaced with a quantifiable calculation layer, and a quantization operator is created through the quantifiable calculation layer; performing layer-by-layer differentiation quantitative perception training on the replaced model based on a training data set, and simulating a forward calculation behavior of a low-precision fixed-point type in actual reasoning while keeping floating-point precision back propagation through a quantization operator, so that the weight of the model is adaptive to a quantization error; and converting the trained model parameters into a target low-precision fixed-point type, and generating an end-side deployable arc discharge detection model through model testing and computing power evaluation, thereby realizing high-fidelity conversion from a floating-point model to a low-precision fixed-point model.
Owner:SHANGHAI SHENSILICON SEMICON CO LTD

DFT (Discrete Fourier Transform) clock architecture establishment method and device and electronic equipment

The invention provides a DFT clock architecture establishment method and device and electronic equipment, and belongs to the technical field of EDA, and the DFT clock architecture establishment method comprises the steps that a structured data file corresponding to clock planning information of a chip is acquired, the structured data file at least comprises an index field used for identifying clock uniqueness and a type field used for indicating a clock type, and the index field is used for identifying the clock uniqueness; and a parameter field for indicating clock attributes; generating a corresponding clock information object based on the values of the index field, the type field and the parameter field; based on the clock information object, a first configuration file and a second configuration file are generated, the first configuration file is used for driving a DFT tool to execute circuit insertion, and the second configuration file is used for driving a comprehensive or static timing analysis tool. The problems of configuration ambiguity, floating point error, asynchronous path omission, inconsistent OCC insertion and the like caused by dispersed and unstructured DFT clock planning information and dependence on manual transmission can be solved.
Owner:XIAN JIANSI TECH CO LTD

SP application optimization method and device based on multi-core NUMA architecture

PendingCN121560580AResource allocationComputer architectureMulticore architecture
The invention relates to an SP application optimization method and device based on a multi-core NUMA architecture. The method comprises the following steps of: in a compiling stage, performing compiling optimization based on a multi-core NUMA (Non Uniform Memory Access) architecture, and performing memory management by adopting a memory allocator perceived by the NUMA; in the initialization stage, an MPI process is bound to a specific NUMA node, an OpenMP thread in the MPI process is bound to a physical core of the node, and a memory area in charge of the MPI process is initialized in parallel through the thread so as to achieve data locality; in the execution stage, a NEON instruction is adopted to carry out vectorization optimization on the step of calculating the residual vector local sum. By adopting the method, the memory access delay across the NUMA nodes can be remarkably reduced through multi-level collaborative optimization, and the instruction execution efficiency and the floating point operation throughput rate are improved, so that the execution performance and the parallel expandability of an SP reference program on a multi-core NUMA architecture server are effectively improved.
Owner:TIANJIN INST OF ADVANCED TECH

Data processing method, computing unit, electronic device, storage medium and program product

The embodiment of the invention relates to a data processing method, a computing unit, electronic equipment, a storage medium and a program product. The method is executed by a calculation unit and comprises the steps that first data to be processed are obtained, and the first data correspond to a weight matrix; analyzing the first data into a plurality of data segments, the plurality of data segments including a plurality of first data segments and a second data segment, the plurality of first data segments corresponding to the floating point value of the first precision; based on a preset corresponding relation, multiple basic values corresponding to the multiple first data segments and a scaling factor corresponding to the second data segment are determined, the multiple basic values correspond to floating point values of second precision, the second precision is higher than the first precision, and the product of the multiple basic values and the scaling factor corresponds to multiple weight values in a weight matrix; and performing multiplication calculation of the weight matrix and the input matrix based on the plurality of base values and the scaling factor. In this way, the decoding and calculation efficiency of the data can be effectively improved.
Owner:VASTAI TECH (SHANGHAI) INC

Systems and methods for energy-efficient, bit-parallel, multiply-accumulate for artificial intelligence and deep neural networks

A system and method for providing a tunable floating-point multiply-accumulate (MAC) unit are disclosed. The unit maintains full arithmetic precision while enabling dynamic elimination of ineffectual computation through operand decomposition and selective activation of partial product generation logic. The disclosed MAC unit is suitable for drop-in replacement in existing deep-learning accelerators and improves energy efficiency without requiring architectural changes.
Owner:KAXIRAS STEFANOS +3

GPU shader rendering computer implementation method of finite element result

The invention discloses a GPU shader rendering computer implementation method of a finite element result. The method comprises the steps that a static three-dimensional grid is adopted as a rendering geometry; the 32-bit floating point type scalar data corresponding to the vertexes are subjected to lossless coding at a CPU end to obtain four-channel 8-bit RGBA vertex color attributes; during data updating, lightweight vertex color data are only transmitted to the GPU; hardware interpolation is carried out on the encoded color attributes by using a GPU rasterizer; and finally, in the fragment shader, decoding the interpolation result of each pixel to reconstruct a scalar value, and mapping the scalar value into a final color. According to the method, the bottleneck of topological calculation of a CPU end and transmission of massive geometric data to the GPU is avoided, the calculation load is transferred to the GPU in a large scale for parallel processing, the rendering efficiency is remarkably improved, and high-frame-rate dynamic visualization of a finite element result is realized.
Owner:CHANGJIANG SPATIAL INFORMATION TECH ENG CO LTD (WUHAN) +1

Floating point arithmetic unit and floating point processing device

The invention discloses a floating point arithmetic unit, a floating point processing device and method, a chip and electronic equipment, and the floating point arithmetic unit comprises a logic processing module which is used for carrying out the logic operation of a to-be-processed operand inputted into the floating point arithmetic unit, and obtaining an operation result; the delay control module is used for controlling the delay between the input logic processing module of the operands to be processed and the input floating point arithmetic unit; and / or controlling the delay between the operation result output by the logic processing module and the operation result output by the floating point operation unit. Therefore, the delay of the floating point operation can be effectively balanced, the operation efficiency is improved, and the overall performance of the floating point operation is improved.
Owner:SHANGHAI ORIENTAL COMPUTER TECHNOLOGY CO LTD

Systems and methods for accelerating the computation of the exponential function

ActiveUS12554466B2Digital data processing detailsGate arrayEulerian number
Aspects of embodiments of the present disclosure relate to a field programmable gate array (FPGA) configured to implement an exponential function data path including: an input scaling stage including constant shifters and integer adders to scale a mantissa portion of an input floating-point value by approximately log2 e to compute a scaled mantissa value, where e is Euler's number; and an exponential stage including barrel shifters and an exponential lookup table to: extract an integer portion and a fractional portion from the scaled mantissa value based on the exponent portion of the input floating-point value; apply a bias shift to the integer portion to compute a result exponent portion of a result floating-point value; lookup a result mantissa portion of the result floating-point value in the exponential lookup table based on the fractional portion; and combine the result exponent portion and the result mantissa portion to generate the result floating-point value.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Post-training quantification method based on activation value distribution adaptive hybrid calibration

A post-training quantification method based on activation value distribution adaptive hybrid calibration comprises the following steps: 1) acquiring a trained floating point model for target detection, and selecting representative data from original data to form a calibration data set; 2) running the trained floating point model by using data in the calibration data set to obtain activation distribution characteristics of activation values of each operation layer in the trained floating point model; 3) constructing an AH-PTQ decision function, and optimizing the AH-PTQ decision function by using reinforcement learning; 4) based on the optimized AH-PTQ decision function and the activation distribution characteristics of the activation value of each operation layer, determining a quantization parameter; and 5) quantizing the trained floating point model based on the quantization parameter to obtain a quantized integer model. According to the method, the detection precision of the model is kept to the maximum extent while the reasoning efficiency is greatly improved. According to the method, the performance loss caused by a single calibration method is effectively avoided while the model calculation overhead is reduced.
Owner:CHONGQING UNIV

Airborne Beidou positioning method and device suitable for extra-high voltage converter station, and medium

The invention discloses an airborne Beidou positioning method and device suitable for an extra-high voltage converter station. The method comprises the following steps: acquiring original observation data of a base station and a moving station in an extra-high voltage converter station scene, and preprocessing the original observation data to obtain preprocessed observation values; performing cycle slip detection on a carrier phase in the observation value according to a preset criterion to obtain cycle slip information; constructing a factor graph optimization model according to the preprocessed observation value and the cycle slip information; performing floating point solution on the factor graph optimization model to obtain an ambiguity floating point solution; and carrying out ambiguity fixation on the ambiguity floating point solution to obtain a high-precision ambiguity fixed solution.
Owner:CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +1

Floating-point number format conversion device and method, storage medium and program product

The invention discloses a floating-point number format conversion device and method, a storage medium and a program product, and relates to the technical field of floating-point number format conversion. The device comprises a preprocessing unit and a conversion mapping unit; the preprocessing unit is used for receiving input data in a first floating point format and performing bit width compression processing on at least part of digits influencing rounding operation in the input data to generate a corresponding index value, and the bit width of the index value is smaller than the mantissa bit width of the input data; the conversion mapping unit is coupled to the preprocessing unit, a plurality of mapping relations between index value ranges and numerical value representations in a second floating point format are stored in the conversion mapping unit, and the conversion mapping unit is used for searching the corresponding numerical value representations in the second floating point format according to the index values to serve as output data. The invention aims to reduce the number of logic gates and the circuit complexity required by floating-point number format conversion, so that the area of a related chip is reduced, the power consumption is reduced, and the operation delay is shortened.
Owner:SUZHOU YIZHU INTELLIGENT TECH CO LTD

Nanoscaling floating -point for large language models

Block decoding in an artificial neural network is provided. An encoded block comprising a plurality of encoded values, each encoded value comprising a mantissa, is read. The encoded block's scaling information, which includes an exponent and a mantissa, is read. Each of the plurality of encoded values is decoded according to the scaling information to produce a plurality of decoded values.
Owner:PRESIDENT & FELLOWS OF HARVARD COLLEGE

Softmax operator circuit and method based on semi-precision floating-point number

The invention discloses a Softmax operator circuit and method based on a semi-precision floating-point number, and relates to the technical field of circuits, and the method comprises the steps that the circuit comprises an addition module, a multiplication module, a reciprocal module, an index calculation module and a main control unit; the addition module is used for carrying out addition calculation on the semi-precision floating-point number; the multiplication module is used for carrying out multiplication calculation on the semi-precision floating-point number; the reciprocal calculation module is used for performing reciprocal calculation on the semi-precision floating-point number; the index calculation module is used for performing index calculation on the semi-precision floating-point number; and the main control unit is used for synchronizing the state of each module through the corresponding confirmation signal after each module completes the corresponding calculation. Based on modular and parallel design, the precision of the semi-precision floating-point number is still kept on the premise that hardware resources and the area are remarkably saved, redundant operation and resource consumption are greatly reduced, higher numerical accuracy is achieved, and efficient, high-precision and low-power-consumption calculation acceleration can be achieved under the limited hardware condition.
Owner:SUN YAT SEN UNIV

Microscaling format blocks

Disclosed herein are various techniques for converting a vector from a high precision floating point format to a microscaling (MX) format. An example of a precision floating point format is the FP32 format described above, however, the initial format may be another type of standard floating point format as well (reference to the FP32 number format hereinafter is merely for exemplary purposes and not intended to be limiting). The techniques for converting to the MX-compliant format are improvements over the standard technique suggested in the MX specification by at least accounting for the amount of data in the mantissa of the original precision floating point format to mitigate the amount of data that is lost during the conversion. Therefore, the benefits of representing multiple data points of a vector in the single MX format representation without sacrificing as much of the data contained in the original high precision format that may occur following the standard technique described in the MX specification (portions of which are described below).
Owner:META PLATFORMS TECHNOLOGIES LLC