Skip to content

Commit

Permalink
Better settings (tracel-ai#933)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielsimard authored Nov 7, 2023
1 parent a029753 commit c4bc96e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions burn-wgpu/src/compute/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ async fn create_client<G: GraphicsApi>(device: &WgpuDevice) -> ComputeClient<Ser
let storage = WgpuStorage::new(device.clone());
let memory_management = SimpleMemoryManagement::new(
storage,
DeallocStrategy::new_period_tick(1000),
SliceStrategy::Ratio(0.9),
DeallocStrategy::new_period_tick(max_tasks * 2),
SliceStrategy::Ratio(0.8),
);
let server = WgpuServer::new(memory_management, device, queue, max_tasks);
let channel = Channel::new(server);
Expand Down

0 comments on commit c4bc96e

Please sign in to comment.