Releases: gomlx/gopjrt
Releases · gomlx/gopjrt
v0.4.0 Erf, C library compiled in Ubuntu 24.04 (GLIBC-2.38)
- 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
Bump version number.
v0.3.1 Fixed inf for bfloat16; removed exceptions dependency
- Fixed +/-Inf for bfloat16.
- Removed dependencies on "github.com/gomlx/exceptions".
v0.3.0 Split protos; Removed panics
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
- Added bfloat16 support.
v0.2.3 Fixed Cuda check for Nvidia cards
Updated CHANGELOG.
v0.2.2 Installation scripts; Improved cuda support
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
andinstall_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.
- Execute.NonDonatable -> Execute.DonateNone
- Added Execute.SetDonate
- Use
github.com/dmarkham/enumer
instead of the usualstringer
for dtypes. - Fixed double free of C.XlaOp pointers for Identity ops.
- Added
DynamicSlice
andDynamicSliceUpdate
. - Added check for matching DTypes for the common ops taking 2 operands.
v0.2.0 Numerous bug fixes
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
toFromGenericsType
andFromType
toFromGoType
, 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 ergonomicClient.BufferFromHost.FromFlatDataWithDimensions
. - Added
Buffer.ToFlatDataAndDimensions
- Store client link with Buffer. Added
Buffer.Client
method. - Added
Buffer.Device
andClient.NumForDevice
. - Properly setting client options for
pjrt.NewClient
. Added test for reading/writingC.PJRT_NamedValues
. - Added
xlabuilder.Shape.Memory
andxlabuilder.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}
toxlabuilder.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 versionPrimitiveType
before using.
v0.1.2 SuppressAbseilLoggingHack
- Improved SuppressAbseilLoggingHack to supress only during the execution of a function.