Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Commit 1be8c67

Browse files
authored
Merge pull request #47 from LuxDL/ap/remove_pt
Remove PrecompileTools
2 parents e48b377 + 8194ecc commit 1be8c67

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
88
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
99
Functors = "d9f16b24-f501-4c13-a1f2-28368ffc5196"
1010
LuxCore = "bb33d45b-7691-41d6-9220-0943567d0623"
11-
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
1211
Preferences = "21216c6a-2e73-6563-6e65-726566657250"
1312
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1413

@@ -58,7 +57,6 @@ LuxCUDA = "0.3.2"
5857
LuxCore = "0.1.4"
5958
Metal = "1"
6059
Pkg = "1.10"
61-
PrecompileTools = "1.2"
6260
Preferences = "1.4"
6361
Random = "1.10"
6462
RecursiveArrayTools = "3.8"

src/LuxDeviceUtils.jl

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
module LuxDeviceUtils
22

3-
using PrecompileTools: @recompile_invalidations
4-
5-
@recompile_invalidations begin
6-
using Adapt: Adapt
7-
using ChainRulesCore: ChainRulesCore, NoTangent
8-
using Functors: Functors, fmap
9-
using LuxCore: LuxCore
10-
using Preferences: @delete_preferences!, @load_preference, @set_preferences!
11-
using Random: AbstractRNG, Random
12-
end
3+
using Adapt: Adapt
4+
using ChainRulesCore: ChainRulesCore, NoTangent
5+
using Functors: Functors, fmap
6+
using LuxCore: LuxCore
7+
using Preferences: @delete_preferences!, @load_preference, @set_preferences!
8+
using Random: AbstractRNG, Random
139

1410
const CRC = ChainRulesCore
1511

0 commit comments

Comments
 (0)