Skip to content

Releases: gomlx/gopjrt

v0.4.0 Erf, C library compiled in Ubuntu 24.04 (GLIBC-2.38)

23 Sep 05:09
ba5befa
Compare
Choose a tag to compare
  • Binary distributed compiled in Ubuntu 24.04 (glibc 2.38), updated dependencies on the C library. This may cause issues in older distributions.
  • Added Erf operation.
  • Added dtypes.MapOfNames that includes its aliases.
  • Updated binary PJRT CPU plugin build, 50% faster in some cases (!)

v0.3.2: Added ReduceAnd and ReduceOr

28 Aug 04:50
Compare
Choose a tag to compare

v0.3.1 Fixed inf for bfloat16; removed exceptions dependency

27 Aug 10:25
024918b
Compare
Choose a tag to compare
  • Fixed +/-Inf for bfloat16.
  • Removed dependencies on "github.com/gomlx/exceptions".

v0.3.0 Split protos; Removed panics

23 Aug 06:09
Compare
Choose a tag to compare

Small change in the xlabuilder API for the Literal constructors: they now return an error.

  • Moved each compiled XLA proto to their own package under gopjrt/protos/: this facilitates conversion to Google3 BUILD scheme.
  • Converted several panics to error returning from pjrt and xlabuilder. This means the API changed a bit.
  • Added script cmd/run_coverage.sh.

v0.2.4 bfloat16 support

20 Aug 15:46
Compare
Choose a tag to compare
  • Added bfloat16 support.

v0.2.3 Fixed Cuda check for Nvidia cards

16 Aug 10:00
Compare
Choose a tag to compare

v0.2.2 Installation scripts; Improved cuda support

16 Aug 07:50
Compare
Choose a tag to compare

This is a minor release, needed so that gopjrt won't try to use a cuda plugin is no GPU is installed.

  • Added install.sh and install_cuda.sh
  • pjrt.AvailablePlugins now checks that the plugin can be initialized: so if a "cuda" plugin is available in machine
    without an Nvidia GPU, it won't be listed.

v0.2.1 Improved Donate handling; Added DynamicSlice and DynamicSliceUpdate.

11 Aug 06:20
Compare
Choose a tag to compare
  • Execute.NonDonatable -> Execute.DonateNone
  • Added Execute.SetDonate
  • Use github.com/dmarkham/enumer instead of the usual stringer for dtypes.
  • Fixed double free of C.XlaOp pointers for Identity ops.
  • Added DynamicSlice and DynamicSliceUpdate.
  • Added check for matching DTypes for the common ops taking 2 operands.

v0.2.0 Numerous bug fixes

18 Jul 08:44
Compare
Choose a tag to compare

v0.2.0 GoMLX integration fixes -- GoMLX more extensive tests caught several small issues in Gopjrt.

  • Moved some dtypes support functionality from GoMLX to Gopjrt.
  • Added BFloat16 alias.
  • Renamed FromGoType to FromGenericsType and FromType to FromGoType, to maintain naming consistency.
  • Added DType.Memory as an alias to DType.Size.
  • Client creation immediately caches addressable devices.
  • Client.AddressableDevices returns cached value, no errors returned.
  • Added BufferFromHost.ToDeviceNum to allow specification of the device by device number in the addressable devices list.
  • Added LoadedExecutable.Execute.OnDeviceNum to allow specification of the device by device number in the addressable devices list.
  • Removed the awkward pjrt.FlatDataToRawWithDimensions and added the more ergonomic Client.BufferFromHost.FromFlatDataWithDimensions.
  • Added Buffer.ToFlatDataAndDimensions
  • Store client link with Buffer. Added Buffer.Client method.
  • Added Buffer.Device and Client.NumForDevice.
  • Properly setting client options for pjrt.NewClient. Added test for reading/writing C.PJRT_NamedValues.
  • Added xlabuilder.Shape.Memory and xlabuilder.NewArrayLiteralFromAny.
  • Added xlabuilder.Op.Builder()
  • Added comments support to op_types.txt and added comments to several of the operations.
  • Renamed xlabuilder.BatchNorm{Inference,Training} to xlabuilder.BatchNormFor{Inference,Training}
  • Fixed NewArrayLiteralFromAny to also accept scalar values, if dimensions is empty.
  • Fixed ReduceWindow default values and allow setting values to nil.
  • Fixed Pad to allow missing configuration for axis, per documentation.
  • Fixed ConvertDType to convert the dtypes to the XLA version PrimitiveType before using.

v0.1.2 SuppressAbseilLoggingHack

05 Jul 05:32
Compare
Choose a tag to compare
  • Improved SuppressAbseilLoggingHack to supress only during the execution of a function.